Skip to content

Commit f49072d

Browse files
committed
ci: pin the publish default to v0.7.0, the framework the tree was built with
The default sat at v0.4.0 while the published tree moved to v0.5.0, then v0.6.0, then v0.7.0. That inverts what a default is for: accepting it would have rebuilt every package against a framework three releases behind what is committed here, and pushed the result. The dispatch that looks safest was the one that rewrote the repository. Nothing caught it because nothing could. generated-only compares the committed tree against the catalog's pin, not against this input, so a stale default here is invisible until someone dispatches with it. The v0.7.0 republish was only correct because the ref was typed by hand. The comment above the input already said to bump this with each release. It is restated to say what the value means -- the framework the committed tree was last built with -- because "bump it" was followed three times by nobody, and a rule that names the invariant is harder to skip than one that names a chore. cursor and codex carried no comment here at all, which is how their defaults drifted furthest from anyone's attention; they get the same one, so all four distributions now document the pin identically. Signed-off-by: Claude <noreply@anthropic.com>
1 parent fa3712c commit f49072d

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ on:
2020
default: main
2121
framework_ref:
2222
# A tag is the right default -- a release should be reproducible from two pinned
23-
# refs. v0.2.0 is the first framework release containing the plugin emitter.
24-
# Bump this default with each framework release the published trees build from.
23+
# refs. This names the framework the committed tree was last built with, so a
24+
# dispatch that accepts the defaults reproduces what is published rather than
25+
# rewriting it. It sat at v0.4.0 across three releases while the trees moved to
26+
# v0.5.0, v0.6.0 and v0.7.0, which made the safe-looking default the one that
27+
# would have rewritten every package. Bump it in the same change that republishes.
2528
description: Framework ref to build with
2629
type: string
27-
default: v0.4.0
30+
default: v0.7.0
2831
dry_run:
2932
description: Build and show the diff without pushing
3033
type: boolean

0 commit comments

Comments
 (0)