Skip to content

Run the pasteable-version check on a schedule, not in the deploy - #2

Open
lr00rl wants to merge 1 commit into
mainfrom
chore/zeus-wire-release-pins
Open

Run the pasteable-version check on a schedule, not in the deploy#2
lr00rl wants to merge 1 commit into
mainfrom
chore/zeus-wire-release-pins

Conversation

@lr00rl

@lr00rl lr00rl commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Wires athena's check-release-pins.mjs, which I verified both directions before writing a line: exit 0 today (naming what it compared), exit 1 with both versions when the guide is drifted to v0.3.9.

Why a scheduled workflow rather than a pages.yml step — the question she asked, and the reasoning is the actual deliverable:

  • The drift is caused by an event in a different repo (a stable release cut in lattice-node-agent). This repo receives no push when that happens, so a push-triggered check can never see the failure it exists for. Only the schedule can — which makes the schedule the point, not a belt-and-braces extra.
  • A docs deploy should not depend on a moving external fact: an API hiccup would block publishing, and the failure would arrive while someone is shipping an unrelated page.

The push trigger is kept for the opposite direction: an edit to the guide that breaks the pin fails immediately instead of up to a day later.

GITHUB_TOKEN is passed for the rate limit only; the script runs unauthenticated too.

https://claude.ai/code/session_01CoVXeAw726rrKNf8tDLNk1

athena built the check and asked where it should be wired; both options were one
file, so the reasoning is the deliverable.

Not in pages.yml: the drift is caused by an event in ANOTHER repo - a stable release
being cut - and this repo receives no push when that happens. A push-triggered check
cannot see the failure it exists for; only the schedule can. Wiring it into the deploy
would also let an API hiccup block publishing docs, and would surface the failure while
someone is shipping something unrelated.

Push trigger is kept for the other direction: an edit to the guide that breaks the pin
fails immediately rather than up to a day later.
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