Repository navigation
fly: single-source the mudflaps/spritzer emulator image pins - #814
Merged
Merged
Conversation
The emulator tags were duplicated across flaps.ts, sprites-emulator.ts, the fly-deploy composite, and tests — and had already drifted: the activity pinned mudflaps 0.3.1 while the composite's docstring still said 0.3.0. Exactly the scatter this consolidates. Add lexicons/fly/src/op/activities/emulator-images.ts exporting MUDFLAPS_IMAGE and SPRITZER_IMAGE as the single source; point flaps.ts, sprites-emulator.ts, the composite docstring, and flaps.test.ts at it. A bump now touches one line, and the emulator-freshness check (remaining T2 half) has one target to compare against the latest GHCR release.
This was referenced Jul 12, 2026
lex00
added a commit
that referenced
this pull request
Jul 27, 2026
…rifting with upstream main (#1144) (#1145) The ARM schema fetch pulled refs/heads/main.tar.gz unpinned, so a cold ~/.chant cache regenerated against whatever upstream state currently existed while a warm cache kept serving the old one — nondeterministic per-runner CI failures (bit PR #1141). Pin to a commit SHA instead, following the fly (#814) single-source-pin precedent, and name the cache file after the pin so a stale cached tarball can never mask a bump. At the pinned commit, Microsoft.Compute's naive "latest date wins" schema selection picks a disk-only delta file that drops virtualMachines, virtualMachineScaleSets, and availabilitySets entirely (Azure alternates "VM flavor" and "disk flavor" snapshots of this file rather than publishing one cumulative one). Extend PROVIDER_VERSION_OVERRIDES (previously just Microsoft.Authorization, #223) to pin Microsoft.Compute to the last date that still has the VM family, restoring the composites' and validate.ts's expected exports without touching any composite source.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #808 (T2, first half).
What
The mudflaps (Machines) and spritzer (Sprites) emulator image tags were duplicated across
flaps.ts,sprites-emulator.ts, thefly-deploycomposite, and tests — and had already drifted: the activity pinnedmudflaps:0.3.1while the composite's docstring still said0.3.0. This is the exact scatter T2 sets out to prevent.Adds
lexicons/fly/src/op/activities/emulator-images.tsexportingMUDFLAPS_IMAGEandSPRITZER_IMAGEas the single source of truth; all sites reference it. A bump now touches one line.Changes
emulator-images.tswith the two pinned image constants + the bump policy in the docstring.flaps.ts/sprites-emulator.tsuse the constants for theemulatorLifecycleimage.fly-deploy.tscomposite docstring no longer hardcodes a (stale) version.flaps.test.tsreferencesMUDFLAPS_IMAGEso the test tracks the constant.Validation
ghcr.io/intentius/{mudflaps,spritzer}:<version>literals remain outsideemulator-images.ts.Remaining T2
The freshness-check automation (query GHCR for newer mudflaps/spritzer releases, surface a "N releases behind" notice — never auto-merge) is a distinct piece and lands in a focused follow-up. This PR gives it a single target to compare against.