Skip to content

feat(lexicon-upgrade): rolling lexicons should emit a drift issue, not a baseline-only PR #546

Closed

Description

@lex00

Follow-up to the lexicon-upgrade epic (#523); observed on #543.

Problem

Rolling lexicons (aws, azure, github) have no version pin — the lexicon always builds against the latest spec at prepack time. So an upgrade PR for a rolling lexicon changes only surface.snapshot.json (see #543): merging it alters no build output, it just re-baselines the drift detector. That's low-signal as a PR.

Fix

In LexiconUpgradeOp pull-request mode, route rolling lexicons to a drift issue (open/update) summarizing what moved upstream (N added / changed / removed, with the delta), instead of a baseline-only PR. Reserve PRs for pinned lexicons where there's a real version bump to review. Provide a maintainer path to re-baseline once the drift is acknowledged (a command or a labeled action), rather than an auto-PR.

Acceptance criteria

  • A rolling-lexicon drift produces (or updates) an issue with the surface delta — not a baseline-only PR.
  • Pinned lexicons still open version-bump PRs.
  • Re-baselining a rolling lexicon is a deliberate maintainer action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions