Skip to content

probe(build): linux on an affected-only run (not to be merged) - #354

Closed
aRustyDev wants to merge 2 commits into
mainfrom
probe/linux-affected
Closed

aRustyDev wants to merge 2 commits into
mainfrom
probe/linux-affected

Conversation

@aRustyDev

Copy link
Copy Markdown
Owner

A throwaway probe of stage 1 of the Build phase (#352, merged). Do not merge: it will be closed.

A comment line in crates/server/src/main.rs, so that the planner's diff is that line alone. It shows the affected-only run of a change to the native server: which jobs the planner plans, build / linux among them, and what each costs. A second commit will plant a break that only the release profile sees, to show linux and the gate go red where the debug build of the cells stays green.

🤖 Generated with Claude Code

… on an affected-only run (not to be merged)

A throwaway probe of stage 1 of the Build phase: a comment line in crates/server/src/main.rs, so the planner plans the server's jobs (linux among them) from a change that alters no byte of the binary. Opened against the stage branch so that the diff the planner sees is this line alone. To be closed unmerged.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev temporarily deployed to preview-control-plane November 23, 2026 01:41 — with GitHub Actions Inactive
…linux and the gate go red (not to be merged)

A throwaway probe of stage 1 of the Build phase: a compile_error! behind cfg(not(debug_assertions)) in crates/server/src/main.rs. The debug builds (the contract cells, the mutants, the tests, clippy) do not see it; the release build of the job linux does. Expected: build / linux red, build / verdict red, gate red, and every other planned job green. To be closed unmerged.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev temporarily deployed to preview-control-plane November 23, 2026 01:51 — with GitHub Actions Inactive
@aRustyDev

Copy link
Copy Markdown
Owner Author

Closed unmerged: a throwaway probe of #352. Probe A (a comment in the server crate) planned build / linux on an affected-only run and passed; probe B (a compile_error! behind cfg(not(debug_assertions))) turned build / linux, build / verdict and gate red and nothing else. The evidence is recorded in .agents/plans/ci-workflows/phases/0004-build.md.

@aRustyDev aRustyDev closed this Nov 23, 2026
@aRustyDev
aRustyDev deleted the probe/linux-affected branch November 23, 2026 01:58
aRustyDev added a commit that referenced this pull request Nov 23, 2026
…, the cache, and the probes that show it go red (#355)

* docs(plans): record stage 1 of the Build phase (linux): what it costs, the cache, and the probes that show it go red

Stage 1's section in phases/0004-build.md: the job is 134 s cold (the server's release build 86.5 s, migrate 21.7 s) and 101 to 102 s with the cache main saves (222.8 MB; a pull request's run restores it), off every critical path (a full run is 594 s and set by the e2e cell at 552 s; an affected-only run of a server change by mutants leg 0 at 309 s). The repository's release profile is the Worker's, so the native server it makes is 10.2 MB, dynamically linked and not stripped.

Two probes (#354, closed unmerged, branch deleted): a comment in the server crate plans linux on an affected-only run and passes; a compile_error! behind cfg(not(debug_assertions)) turns build / linux, build / verdict and gate red and nothing else (21 of 29 jobs green, 5 skipped), because every other job builds in debug. The survey of public solutions names two candidates for later stages (taiki-e/upload-rust-binary-action for Release, houseabsolute/actions-rust-cross for bsd) and the one hand-written line with its control. Passes 5 to 7 are recorded: the cache pays (-24%), and parallelising or sparing the job would save nothing that a critical path or a runner-second budget would notice.

running.md's runbook gets the measured time instead of a pointer. The plan's and the README's status lines say stage 1 is done and stage 2, wasm, is next.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* docs(plans): add the first real change to stage 1's record (linux took 89 s on main's run for #353)

#353 changed thrust-adapters-postgres, the crate of migrate, so the planner planned build / linux on its push to main: 89 seconds, warm, run 45097099843, gate green. It is the first real change after the stage merged, and 12 s under probe A's 101 s and the dispatch's 102 s (runners differ by about that much, so one run says little).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

This branch was previously deployed

1 inactive deployment
preview-control-plane — e93974fd Deployed Nov 23, 2026 by aRustyDev via reconcile #637
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