Skip to content

Run the remote mailbox lane in the macOS @platform web e2e job - #497

Merged
yansfil merged 1 commit into
mainfrom
ci/mailbox-on-macos-web-e2e
Oct 5, 2026
Merged

yansfil merged 1 commit into
mainfrom
ci/mailbox-on-macos-web-e2e

Conversation

@yansfil

@yansfil yansfil commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

desktop e2e (macOS) is the longest job of a verify run and the last to finish in 16 of the last 25 successful runs, so it sets the time verify takes (job median 13.8 minutes).
Its Remote mailbox over private SSH step took 2.1 minutes of that (median 126 s: about 57 s compiling the workspace again under the test's feature set, about 53 s for the one test).
The macOS @platform web e2e job also holds a macOS runner, builds hided and fetches the pinned Herdr, and finishes earlier (median 9.0 minutes).
This moves the lane there: web-e2e.yml takes a remote-mailbox input, which builds the CLI (verify-cargo.sh cli, every binary the lane starts) instead of build -p hided and runs the same nextest command after the suite; pr.yml sets it for the macOS lane and drops the step from desktop e2e.
The OS contract's macOS leg stays in desktop e2e.

Review

  • 판단해 주세요: the lane now runs when web-e2e-platform is planned instead of desktop-e2e. On the last 80 merged pull requests that is 62 runs instead of 59 (table below); ci-plan.py gets a comment that a narrower web-e2e-platform rule would drop the lane.
  • 판단해 주세요: the mailbox test resolves dependency features differently from the CLI build, so about 48 dependencies build a second variant that the macOS web e2e cache (saved from build -p hided) does not hold: about 25 s per run on this pull request's run. rust-cache saves only when its key changes. Correction after merge: a [profile] change (Build the workspace crates with line tables only in dev builds #498) left the key unchanged (the first run after it restored v0-rust-web-e2e-Darwin-arm64-4d367070-083ea0d5 by full match and still built the 48 variants), so they stay until the next dependency (Cargo.lock) change makes main save a new cache.
  • 조심해서 볼 파일: .github/workflows/web-e2e.yml, the reusable lane nightly and the Linux and Windows lanes also call; with the input unset (its default) their steps and cache keys are unchanged.

Evidence

before (in desktop-e2e) after (in web-e2e-platform)
pull requests running the mailbox lane 59 62
lose it #462, #466, #487: only desktop/ files, which the lane does not read
gain it #381, #383, #429, #444, #447, #488: web/e2e specs tagged @platform
  • 확인한 것 (catches): of 232 failed pr.yml runs since 2026-09-05, the mailbox step failed in 2 (Move coordination into hided and retire hcoord #409 prd/hcoord-retire, Bump typify from 0.7.0 to 0.8.0 #456 cargo typify bump); both plan every lane, so both still run it.
  • 확인한 것 (before): medians of the last 22 successful verify runs: desktop e2e 13.8 min, its mailbox step 126 s; web e2e macos 9.0 min (build 88 s, End-to-end 382 s).
  • 확인한 것 (after): this pull request's verify run 37288613490 (first commit; the second only removed a cache key line rust-cache ignores next to shared-key):
before (median, n=22) after (this run)
desktop e2e 13.8 min, mailbox step 126 s 12.2 min, no mailbox step (its suite step took 518 s against a 494 s median)
web e2e macos 9.0 min 11.3 min: CLI build 91 s (was build -p hided 88 s), suite 383 s, mailbox step 128 s (compile 82 s of which about 25 s dependency variants, test 43 s)
macOS job-minutes for the two 22.8 23.5

Second run, on the squashed commit, 37290394720: desktop e2e 12.0 min, web e2e macos 12.6 min (CLI build 99 s, suite 386 s, mailbox step 170 s), verify 13.4 min.
The two macOS jobs now end within a minute of each other (12.0-12.6 against 13.8 and 9.0), so the macOS ceiling of a run drops by about 1.5 minutes, and by about 25 s more once the cache holds the dependency variants.

  • 확인한 것: python3 -m unittest discover -s scripts/tests passes (125 tests); both workflow files parse.
  • 확인하지 못한 것: the warm steady state of the macOS web e2e job is seen only after main's first run saves the new cache; the first pull-request runs after merge are that measurement.

The mailbox lane's two minutes (compile and one test) ran in desktop e2e,
the longest job of a run, where they set the time verify took. The macOS
@platform web e2e job holds a macOS runner, a Rust build and the pinned
Herdr too and finishes earlier, so with the new remote-mailbox input it
builds the CLI and runs the lane after its suite.
@yansfil
yansfil force-pushed the ci/mailbox-on-macos-web-e2e branch from ead04ae to b522ad9 Compare October 5, 2026 09:29
@yansfil
yansfil merged commit 40dfb56 into main Oct 5, 2026
28 checks passed
@yansfil
yansfil deleted the ci/mailbox-on-macos-web-e2e branch October 5, 2026 10:46
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