Skip to content

refactor(hub): share one package source pin and excluded-kind check - #180

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-11978-share-one-package-source-pin-check
Nov 4, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-11978-share-one-package-source-pin-check

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Approval packages had three copies of the source pin check and two inline excluded-kind checks. They now share verifySourcePin and EXCLUDED_PACKAGE_SOURCE_KINDS.

One behaviour change: recording an assignment now refuses app and approval_package sources straight away with excluded_package_source_kind, instead of only when the package is validated.

Verified with lint, format:check, typecheck, test (287 pass), pins:verify and vendor:verify.

Refs CL-11978

@linear-code

linear-code Bot commented Nov 4, 2026

Copy link
Copy Markdown

CL-11978

@corbits-triage

corbits-triage Bot commented Nov 4, 2026

Copy link
Copy Markdown

Triage: In progress

Triage is waiting for CI to finish before it decides. This comment shows the verdict once it has.

@TheGreatAxios
TheGreatAxios merged commit e476003 into main Nov 4, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant