Skip to content

Adopt just as the command surface: recipes are the exact commands, CI runs them - #35

Merged
lann merged 1 commit into
mainfrom
just-adoption
Aug 10, 2026
Merged

Adopt just as the command surface: recipes are the exact commands, CI runs them#35
lann merged 1 commit into
mainfrom
just-adoption

Conversation

@lann

@lann lann commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

The root justfile carries the repo-wide recipes; .github/justfile is the gha module with the CI job bodies — each workflow job runs exactly one gha:: recipe, so just ci is exactly CI (the polymorph-websocket pattern, currently rolling out across the family). Step-level rationale that lived on workflow steps lives on the recipes now; the workflows keep only environment setup (−194 lines of workflow logic; job names and the required-check surface unchanged).

Semantics preserved, mechanically moved:

New conveniences: just gates = the full AGENTS.md pre-commit pass (including the consumer smokes CI can't run); just check = fast sanity; just --list documented throughout.

Validated locally (linux-arm64, warm): every recipe run individually — core suites, seeds, sm-pinned shell lane, chromium+firefox browser lanes, ports incl. webrtc 9/9, smoke-tls PASS, smoke-c0 legs PASS, websocket-conformance 55/55, release-artifacts (checksums reproduced) — plus just gha::core end-to-end (22.5 s warm). Not validated locally: iroh-exam (no iroh-relay on this box) and the jsc lanes (x64-only — the PR's x64 core leg exercises jsc-pinned). Canary recipes validated via workflow_dispatch on this branch (run linked below).

… runs them

The root justfile carries the repo-wide recipes (builders, suites, engine
lanes, consumer smokes, release artifacts); .github/justfile is the `gha`
module holding the CI job bodies - each workflow job runs exactly one
gha:: recipe, so `just ci` is exactly CI (the polymorph-websocket
pattern). Workflow step comments move onto the recipes they now describe.

- ci.yml core/browser, canary.yml, and release.yml collapse to setup plus
  one `just` step each (-194 lines of workflow logic); job names and the
  required-check surface are unchanged.
- Step-level continue-on-error becomes the gha::_step-tolerated wrapper
  (webrtc #21, webkit #11); the jsc-pinned x64-only conditional becomes
  an arch guard in `shells`.
- `just gates` is the full AGENTS.md pre-commit pass as one command;
  AGENTS.md Gates and the README quick start point at the recipes.
- cargo test gains -p testgen (AGENTS.md listed it; CI didn't; trivially
  green either way).
@lann
lann enabled auto-merge August 10, 2026 00:30
@lann
lann merged commit 10cc776 into main Aug 10, 2026
6 checks passed
@lannbot
lannbot deleted the just-adoption branch August 23, 2026 16:51
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