Repository navigation
ci(build): build.yml, the sixth called workflow, with the linux compile proof (Build phase, stage 1) - #352
Merged
Conversation
On 2026-11-23 the owner chose the recommended option of each question in phases/0004-build.md: all six stages as compile proofs that publish nothing, one target per stage (x86_64 linux gnu and musl, aarch64-apple-darwin, x86_64-pc-windows-msvc, x86_64-unknown-freebsd), a Dockerfile at stage 5 with its design put to the owner then, and the deploy bundle staying built and attested by deploy.yml and release.yml. The phase document gets the decisions as a table above the questions as asked; the plan's status line and the README say stage 1, linux, the template, is in progress. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…le proof (Build phase, stage 1) build.yml holds the job linux and the verdict job every called workflow has (ADR-0102). linux builds thrust-server and migrate in release for x86_64-unknown-linux-gnu, checks that both binaries exist, and uploads them for three days; it publishes, signs and attests nothing, and has no secret, environment or id-token. The commands are the repository's: the server under its [profile.release] (which is the Worker's: nothing else builds the native server that way in CI, and the contract cells build it in debug), and migrate with the command build-bundle builds it with (the same line, which the wiring test holds equal). The deploy bundle stays built and attested by deploy.yml and release.yml. ci.yml gets the call (a job build that runs when the planner's top names it and passes its plan), the gate needs it, and VERDICT_JOBS and assert-gate.sh's default list name it. The planner knows a job linux and a workflow build, plans it when thrust-server or thrust-adapters-postgres is affected (the crate of migrate, tested apart in a graph where the server does not depend on it), and runs everything for build.yml itself. Tests and controls: test_plan_ci.py (7048 checks) gets the job's cases and the model's rule; test_workflow_wiring.py (196) gets the line-by-line checks of the job (release and locked, migrate's command equal to the bundle's, both binaries checked, a cache key of its own saved on main only, an upload that fails on nothing, no secret); test-ci-scripts.sh (221) lists six workflows and computes the count it expects; mutate_gate.py has a row in CALLS (18 mutants made for the new call and file, as for every called workflow) and 23 written by hand for the job, the planner and the gate, and the driver ends at 313 of 313 killed with its 12 equivalent mutants surviving (it was 272 killed). ci-commands.py against main: three jobs appear (linux, verdict, the call), none is gone, and the one changed job is the gate's VERDICT_JOBS. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
cicd.md gets the row of build.yml, the planner rule for linux, the run-everything list with build.yml, the examples table re-run through the planner (a server change now plans linux), and the counts that moved: six called workflows, 48 gate cases per job and result, 221 cases in test-ci-scripts.sh, 196 wiring checks, 313 mutants with 12 that change nothing (the text said 142, 234 and nine, which an earlier stage had left behind). running.md gets the rows of build and linux and a runbook for a red linux. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
aRustyDev
temporarily deployed
to
preview-control-plane
November 23, 2026 01:29 — with
GitHub Actions
Inactive
aRustyDev
enabled auto-merge (squash)
November 23, 2026 01:35
This was referenced Nov 23, 2026
This branch was previously deployed
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.
Stage 1 of the Build phase (
.agents/plans/ci-workflows/phases/0004-build.md): the template.build.ymlis the sixth called workflow, and its first job,linux, is a compile proof: it buildsthrust-serverandmigratein release forx86_64-unknown-linux-gnu, checks that both binaries exist, and uploads them for three days. It publishes, signs and attests nothing, and has no secret, environment orid-token.The owner's four answers (2026-11-23, all as recommended) are the first commit.
What it adds
build.yml: the joblinuxand theverdictjob every called workflow has (ADR-0102). The commands are the repository's:cargo build --release --locked -p thrust-server, andmigratewith the commandbuild-bundlebuilds it with (the same line, which the wiring test holds equal). "Release" is[profile.release], which is the Worker's (opt-level = "s", fat LTO, one codegen unit): nothing else builds the native server that way in CI, and the contract cells build it in debug.ci.yml: a jobbuildthat calls it, in the gate'sneedsand inVERDICT_JOBS;assert-gate.sh's default list names it.plan-ci.py: the joblinux, the workflowbuild, planned whenthrust-serverorthrust-adapters-postgresis affected (the crate ofmigrate); a change tobuild.ymlruns everything.deploy.ymlandrelease.ymlstill build it withbuild-bundleand attest it (owner's question 4).Evidence
test_plan_ci.pymigratein a graph where the server does not depend on it)test_workflow_wiring.pytest-ci-scripts.sh, under dash and shmutate_gate.pythrust-serverand with onlymigrate, and passes with bothci-commands.pyagainstmainlinux,verdict, the call), 0 are gone, and the one that changed is the gate'sVERDICT_JOBSdepsjob,cargo deny,fmt, both clippy runscheck-book.sh,check-ci-index.sh,lint-all-workflows.sh,actionlintwith its controlThe measurements of the job on a runner (what it costs cold, on a critical path of a full run and of an affected-only run) and the passes that follow come after the first run; they go in the phase document.
🤖 Generated with Claude Code