Skip to content

Speed up the release journey and stop the remote seal test racing its own ack - #2394

Merged
lalalune merged 1 commit into
developfrom
claude/remaining-issues-1204
Dec 4, 2026
Merged

lalalune merged 1 commit into
developfrom
claude/remaining-issues-1204

Conversation

@lalalune

@lalalune lalalune commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Why

Goal: merge every open AlphaPhone/alpha PR and fix every remaining issue. After the last promotion merged, two test problems were left. This PR fixes both.

What

  • Release journey timeout (apps/app/test/image.test.ts, "opens one versioned draft and resumes its protected stages"): it timed out at 60s on a loaded runner. The test hits no sleeps; it is slow because it starts a fake Python gh about 480 times.
    • scripts/ci/app_update_producer.py now reads each completed run attempt once per command. GitHub never changes a completed attempt (a re-run gets a new attempt number), so the checks are unchanged. This also removes duplicate API calls from real release jobs.
    • The fake gh now starts with python3 -S and imports hashlib only in the upload branch.
    • Expected saving is roughly a third of the test's time. Assertions, citations and the timeout are unchanged.
  • Remote seal flake (vibestack/remote/test/remote.test.ts, "…seals it only when nothing is still writing…"): the link's 200 ms ack timer could acknowledge the exit before the test's SIGKILL, so the exit was sometimes collected when the test expects it uncollected. The link now goes silent (fallSilent()) before the check is released. The same fix goes upstream to lalalune/vibestack.

I did not change packages/cli/test/cli.test.ts. Its woff2/aapt2 checks are always required on CI and are only skipped locally when the tool is missing, so CI is not weakened.

Not run locally (no remote boxes); CI verifies.

… own ack

The draft-and-resume release journey timed out at 60s on a loaded runner: it starts a fake Python gh about 480 times. The producer now reads each completed run attempt once per command, as GitHub never changes one, and the fake starts without site setup and imports hashlib only where it hashes.

The remote test that seals a box while a check is still writing let its link keep acknowledging after the run went on, so the exit could be collected before the kill the test relies on. The link now falls silent first, as a client that dies before it takes the exit.
@lalalune
lalalune temporarily deployed to turbo-cache-read December 4, 2026 18:53 — with GitHub Actions Inactive
@lalalune
lalalune temporarily deployed to turbo-cache-read December 4, 2026 18:53 — with GitHub Actions Inactive
@lalalune
lalalune temporarily deployed to turbo-cache-read December 4, 2026 18:53 — with GitHub Actions Inactive
@lalalune
lalalune temporarily deployed to turbo-cache-read December 4, 2026 18:53 — with GitHub Actions Inactive
@lalalune
lalalune temporarily deployed to turbo-cache-read December 4, 2026 18:53 — with GitHub Actions Inactive
@lalalune
lalalune merged commit e5d3321 into develop Dec 4, 2026
9 of 11 checks passed

This branch was previously deployed

1 inactive deployment
turbo-cache-read — d6d8b687 Deployed Dec 4, 2026 by lalalune via selftest-b #1617
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