Skip to content

fix: bump scans backend, orm, and database pins - #123

Open
spencer-osbrjp wants to merge 1 commit into
mainfrom
i122-20260812-1
Open

fix: bump scans backend, orm, and database pins#123
spencer-osbrjp wants to merge 1 commit into
mainfrom
i122-20260812-1

Conversation

@spencer-osbrjp

Copy link
Copy Markdown
Collaborator

Closes #122

BumpRegistry's ad-hoc group slice omitted Backend, ORM, and Database, so bungkus-cli bump never refreshed those pins (hono, drizzle-orm, pg, ...).

  • The slice moves to Registry.optionGroups(), now covering all 16 []OptionEntry categories.
  • TestBumpRegistryScansBackendOrmDatabase pins the three previously-frozen categories end to end.
  • TestOptionGroupsCoverRegistry reflects over the Registry struct and fails if any []OptionEntry field is missing from optionGroups() — the class-level guard the issue asked for, so a future category can't silently fall out of the freshness policy.

go test -count=1 ./... green.

🤖 Generated with Claude Code

BumpRegistry enumerated option groups in an ad-hoc slice that omitted
backend/orm/database, silently freezing those pins out of the pinned-channel
freshness policy. The slice moves to Registry.optionGroups() and a
reflection test asserts it covers every []OptionEntry field of the struct,
so a future category can't be forgotten again.

Closes #122

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bump: BumpRegistry skips backend, orm, and database categories

1 participant