Skip to content

fly: join the rolling-upgrade matrix (Machines OpenAPI drift) - #813

Merged
lex00 merged 1 commit into
mainfrom
feat/808-fly-rolling-upgrade
Jul 12, 2026
Merged

lex00 merged 1 commit into
mainfrom
feat/808-fly-rolling-upgrade

Conversation

@lex00

@lex00 lex00 commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Part of #808 (T1).

What

Adds the fly lexicon to the weekly lexicon-upgrade self-upgrade cron as a rolling lexicon. fly generates from the live Fly Machines OpenAPI (docs.machines.dev/openapi.json) — an unversioned endpoint with no constant to pin — so it fits the rolling-drift path exactly like aws/azure/github (not the pinned path).

On the weekly run, fly-upgrade regenerates from current-latest, diffs the API surface against the committed baseline, and opens a review PR on drift. PR-only — a human merges, same as the other rolling lexicons.

Changes

  • RollingLexicon type += "fly"; detectLexicon recognizes fly by package name and directory.
  • ROLLING_LEXICONS (the upgrade Op's pinned-vs-rolling dispatch set) += "fly", plus the doc comment.
  • .github/workflows/lexicon-upgrade.yml matrix += fly.
  • Seed lexicons/fly/surface.snapshot.json (the drift baseline — 41 resources/properties).
  • Tests: fly detection + additive-drift cases in rolling-upgrade.test.ts.

Validation

  • dev rolling-upgrade lexicons/fly → Rolling upgrade check: fly, no surface changes, Upgrade: false.
  • dev surface-diff lexicons/fly --check → No surface changes (baseline in sync).
  • rolling-upgrade + lexicon-upgrade activity tests (20 + 28) green; core tsc clean; temporal lexicon builds.

Operational note: this puts fly on the weekly cron, so a drifted Machines API will start opening automated review PRs against fly (never auto-merged).

Follow-ups in #808: T2 (single-source + freshness-check the mudflaps/spritzer image pins) and T3 (hand-authored Sprites contract snapshot).

fly generates from the live Fly Machines OpenAPI (docs.machines.dev), an
unversioned endpoint with no constant to pin — the same shape as aws/azure/
github. Add it to the rolling-spec drift path so the weekly lexicon-upgrade
cron regenerates from current-latest, diffs the API surface against a committed
baseline, and opens a review PR on drift (PR-only; a human merges).

- RollingLexicon += "fly"; detectLexicon recognizes fly by package name + dir.
- ROLLING_LEXICONS (the upgrade Op's pinned-vs-rolling dispatch) += "fly".
- lexicon-upgrade.yml matrix += fly.
- Seed lexicons/fly/surface.snapshot.json baseline (41 resources/properties).
- Tests: fly detection + additive-drift cases.

Verified: `dev rolling-upgrade lexicons/fly` reports fly as rolling with no
drift vs the fresh baseline; `dev surface-diff lexicons/fly --check` is clean.
@lex00
lex00 merged commit c2d1afd into main Jul 12, 2026
6 checks passed
@lex00
lex00 deleted the feat/808-fly-rolling-upgrade branch July 12, 2026 07:25
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.

1 participant