Repository navigation
Run the remote mailbox lane in its own Linux job - #555
Merged
Merged
Conversation
yansfil
marked this pull request as draft
October 5, 2026 16:56
yansfil
marked this pull request as ready for review
October 5, 2026 17:35
yansfil
force-pushed
the
ci/mailbox-own-job
branch
from
October 6, 2026 00:57
d3d8294 to
f2ac7f4
Compare
yansfil
force-pushed
the
ci/mailbox-own-job
branch
from
October 6, 2026 01:06
f2ac7f4 to
829deff
Compare
…re its failure; keep the helper diagnostics read-only
…eep the helper and bin copies out of its failure artifact
…s hang guard from both systems
yansfil
force-pushed
the
ci/mailbox-own-job
branch
from
October 6, 2026 01:17
829deff to
2dd8749
Compare
yansfil
added a commit
that referenced
this pull request
Oct 6, 2026
…r jobs per run (#574) Part of #561 ## Summary A pull request asked for up to 23 jobs, five of them on macOS, and the organization runs 20 jobs at once and five on macOS, so runs queued behind each other. Now a pull request starts a macOS job only for what a macOS runner alone proves, and a full run starts at most 17 jobs. - The macOS web `@platform` job is gone from pull requests; Linux (`web-e2e`) and Windows run the same tests there, and the nightly runs them on macOS. - The remote mailbox lane is planned from the crates it builds and tests, runs on Linux in pull requests and on macOS in the nightly (`remote-mailbox.yml`). - The OS contract's macOS leg is its own job, planned for `hide-platform` and `hide-herdr-client` changes; `desktop e2e` no longer follows it. - A `herdr-core` or `hided` change starts 14 jobs and none on macOS; the nightly runs each macOS check once; `desktop e2e` runs for `desktop/` and the web code it drives. - `web checks` and `desktop checks` are one job, `web-e2e.yml` loses its `plan` and `fetch zsh` jobs (zsh is cached by runner image), and Linux web e2e runs four shards instead of six. - #555 (remote mailbox in its own Linux job, merged) is the base of that lane; the helper and bin copies stay out of its failure artifact in `remote-mailbox.yml` too. ## Review - **판단해 주세요**: a change to the core or daemon alone no longer gets a macOS `@platform` run before merge; the nightly finds it the next day. - **판단해 주세요**: four Linux shards instead of six trade fewer queued jobs for longer shards; the issue named four, balance by past durations is not done. - **조심해서 볼 파일**: `scripts/ci-plan.py` - `NIGHTLY_ONLY`, `OS_LANES` and the `os-contract-macos` rule decide what skips macOS. - **조심해서 볼 파일**: `.github/workflows/web-e2e.yml` - the shard list is picked by index, and zsh now comes from the `build` job. - **조심해서 볼 파일**: `.github/workflows/os-contract.yml` - takes a `systems` input; clippy now also runs on macOS. ## Evidence - **확인한 것**: `python3 -m unittest discover -s scripts/tests` passes (136 tests): lane reach for 25+ paths, no macOS lane for core/daemon changes, and the job count (17) counted from the workflows and matched to `docs/TESTING.md`. - **확인한 것**: a review pass over the diff found two stale `CONTRIBUTING.md` lines, fixed. - **확인하지 못한 것**: the new job shapes on real runners (indexed shard matrix, `os contract (macOS)` with clippy on macOS) are first exercised by this pull request's own `verify`. - **확인하지 못한 것**: remaining from #561: `desktop/src/main` changes running desktop `@platform` on Linux and Windows (waits for the desktop OS scope change), Linux shard balancing by past durations, and the post-merge measurements (median wall time, share of runs with Linux shards waiting over 10 minutes, shard times at four). - **확인한 것**: origin/main (with #555 merged) is merged into this branch without rebase; the `remote mailbox` job here is #555's Linux job through `remote-mailbox.yml`, and the nightly adds `remote mailbox (macOS)` on the same file.
This was referenced Oct 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
web e2e (macOS)was the longest job of a pull request run (14.4 minutes in the 2026-10-05 queue run): a 4.4-minute build of every CLI binary, the 6.8-minute@platformsuite, then the 3.2-minute remote mailbox lane.The mailbox lane (
herdr-core/tests/remote_delivery.rs) now has its ownremote mailboxjob, and the macOS job builds onlyhidedand runs only the@platformsuite, like the other lanes.web-e2e.ymlloses theremote-mailboxinput, its nextest and flaky-report steps and the mailbox cache key.pr.ymlgains theremote mailboxjob (cache keyweb-e2e-mailbox) andverifyneeds it.ci-plan.pyplans the new lane by the crates it builds and tests (MAILBOX_CRATES: a change reachingherdr-core,hided,hide-agent-hooksorhide-host, plus the paths that plan every lane), never by a web or desktop path;test_ci_plan.py,docs/TESTING.mdandCONTRIBUTING.mdfollow.helperandbin, and the SSH keys.Review
os-contractandwindows check. This drops the macOS execution of the lane:nightly.ymlran it throughverify, which plans every lane, and after this merge no CI job runs it on macOS, so the fixture's macOS branches (codesign, BSDpsandstrip, the SFTP server path) go unrun until a nightly macOS run exists (Run macOS jobs in pull request checks only when needed and start fewer jobs per run #574 addsremote mailbox (macOS)tonightly.yml)..github/workflows/pr.yml(remote-mailboxjob: zsh and SFTP server install, Linux Herdr asset),scripts/ci-plan.py(MAILBOX_CRATESand its one rule inclassify).Evidence
python3 -m unittest discover -s scripts/testspasses (135 tests), including a test thatremote-mailboxis planned for the mailbox crates and the test itself, for a path that plans every lane, and not for web, desktop or documentation paths.nightly.ymldoes not use the removed input.hidethen needed about 110 s and crossed the product's 120 s install bound.verifyresult with the fix, until it finishes; the before/after job times.