Skip to content

bump: BumpRegistry skips backend, orm, and database categories #122

Description

@spencer-osbrjp

BumpRegistry (pkg/bump.go:134-137) enumerates option groups explicitly:

for _, group := range [][]OptionEntry{
    reg.CSS, reg.Formatters, reg.Linters, reg.Validation, reg.Form,
    reg.Query, reg.State, reg.CMS, reg.Test, reg.Audit, reg.Deployment, reg.CICD,
} {

reg.Backend, reg.ORM, and reg.Database are missing, so bungkus-cli bump never refreshes their pins (hono, elysia, drizzle-orm, prisma, drivers) — they silently age out of the pinned-channel freshness policy. (#120 adds reg.Desktop to the slice but deliberately does not widen into this pre-existing gap.)

Suggested fix: add the three groups to the slice, plus a bump test asserting the pin collection covers a package from each (e.g. hono, drizzle-orm). Consider deriving the slice from the Registry struct via reflection or a helper the tests can diff against the struct's []OptionEntry fields, so a future category can't be forgotten again.

Noticed during the Tauri desktop work (#117 / PR #120).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions