Skip to content

Ask the release journey's agent to record a seven-character release hash - #6090

Merged
leaf-agent merged 2 commits into
mainfrom
fix/issue-6089
Nov 16, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/issue-6089

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

publish-site's hosted agent journey failed the deploy in run 43794676863. The agent did what it was asked, but it shortened the release id. The journey told it "Release 862b8b0e passed its deployment checks", and it published a revision that recorded "release 862b8b0". That is git's usual seven-character short hash. The check looks for the exact eight characters it asked with (version[:8]), so it reported that the agent never published a revision naming the release.

The journey now asks with the release's first seven characters. If the agent copies the hash exactly, or shortens it git's way, the recorded text still contains the marker. Every check that reads the marker gets it from this one value: the authored board, the reload's rendered text and the recorded sample. The UI-text comment's example changes to match.

Verification: with the board text from the failing run, board_names_release returns False for 862b8b0e and True for 862b8b0. ruff passes. The hosted journey runs only in publish-site, so the next deploy after this lands is its end-to-end check.

Refs #6089 — automated triage

publish-site's hosted journey asked the agent to record release 862b8b0e;
the agent recorded it as 862b8b0, git's usual short form, and the check,
which looks for the exact eight characters, failed the deploy. Asking with
seven characters means both an exact copy and the agent's own git-style
abbreviation contain the marker.

Refs #6089

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test_the_release_ask_over_http_is_the_shared_check in dev/tests/model/test_journey.py still expects the old eight-character marker, so the test job will fail at this head: run_journey now records "marker": "abcd123" and the assertion compares it with "abcd1234" (it fails when run locally). The test's version and its board text Release abcd1234 passed. still work, because the seven-character marker is a substring of both. Only the expected change.marker needs to change to abcd123. I'm pushing that change.

The journey now asks with version[:7], so the recorded change carries
`abcd123`; the test's board text still names it.
@leaf-agent
leaf-agent merged commit a430881 into main Nov 16, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-6089 branch November 16, 2026 03:33
max-sixty added a commit that referenced this pull request Nov 18, 2026
… journey does since #5228 and #6090

dev/tests/process/test_website_server.py's fake page still served
locator('main'), which the journey stopped reading in #5228, and expected
an eight-character release marker, which #6090 made seven. The opt-in dev
tests run outside CI, so the drift went unnoticed.
max-sixty added a commit that referenced this pull request Nov 18, 2026
…t has taken 240 s (#6376)

The 240 s `arrived` failures on the starved macOS nightly were deferred
work landing late, not work that never lands. `wait_until_ready` now
gives up only once a page has gone `HANDOVER_DEADLINE_MS` (still 240 s)
without progress, rather than once the whole handover has taken that
long. Progress is a readiness stage the wait hasn't seen, or fewer
arrivals left at its stage than at any reading before
(`HandoverProgress`), read from a new `lfArrivalsOutstanding` beside
`lfReadiness`. A page whose arrivals only make way for others still
fails at the bound. The render gate's shared handover budget goes.

Closes #6302 (its 30 s half was #6310).

Why a progress bound rather than a fourth raise (30 → 90 → 240 s): each
live sample a check starts loads its own page, three at a time, so the
whole handover grows with the page's samples. Reproduced here under
`taskpolicy -b` beside 96 busy loops: on main the feature gallery's
check fails exactly as on the nightly, at 240 s with 43 of 50 arrivals
landed; with the deadline raised all land by 260 s into that wait, never
more than 62 s apart. This branch passes both galleries starved.

To weigh: a sample's whole page is still one arrival of its host, and
the widget upgrade has no finer signal, so each must fit one 240 s
window.

Tests: a new browser test fails on main and passes here, and a model
test covers a page whose arrivals only swing; focused render-gate,
readiness and gallery-check tests, `test:runtime` and `check:browser`
pass. The opt-in website-verifier tests in `dev/tests`, whose fake page
had drifted from #5228 and #6090, pass again. The first commit's message
has the measurements.

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
max-sixty added a commit that referenced this pull request Nov 18, 2026
…ey read (#6374)

Ten tests under `dev/tests` failed on main because five main commits
changed what they read, and nothing in CI runs `dev/tests`. Each test
still protects behavior that holds, so the fix is in the tests' fixtures
and expectations; no developer tool changes.

- #5964 put a `leaf` command's refusal in its stdout JSON. The desktop
Codex `server start` cases and the unavailable-delivery `start`/`run`
handoffs in `test_interact_preview.py` now read it there.
- #4198 made the preview follow more files in its checkout. The
assets-pin test's fake checkout now creates every file `worker_inputs`
names, so the preview no longer subscribes the whole checkout
recursively.
- #6237 re-indented `docs/index.html`, and the composed-image case in
`test_product_page.py` matched on the old indentation. It now matches on
`alt` alone.
- #5228 changed the journey's page-text read, and #6090 shortened the
release marker to seven characters. `test_website_server.py`'s fake page
and its expected marker follow both.

To weigh: these breaks went unseen for up to three weeks because
`dev/AGENTS.md` keeps `dev/tests` out of every CI selection. This PR
leaves that rule unchanged.

Dispatched by max-sixty from the session that landed #6014. Tests: the
three changed modules, 91 passed on macOS.

> _This was written by Claude Code on behalf of max-sixty_
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