Skip to content

chore: route CI through just and consolidate recipes - #126

Merged
reiase merged 6 commits into
mainfrom
chore/align-just-and-ci
Sep 8, 2026
Merged

chore: route CI through just and consolidate recipes#126
reiase merged 6 commits into
mainfrom
chore/align-just-and-ci

Conversation

@reiase

@reiase reiase commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Consolidate overlapping justfile entrypoints: drop gate / build-analysis / sanitize and duplicate *-cases recipes; keep dev, cases, and build-components as the canonical paths (macOS pVisor signing lives inside build-components).
  • Make main CI invoke just recipes for format/lint/test/build/smoke/cases, and add helpers (ci-nextest, build-agent-runtime, test-pchronicle-web, smoke CLIs, etc.).
  • Fix CI/just friction found in review:
    • ci-nextest now uses +packages + {{ packages }} (shebang $@ is empty on the pinned just).
    • just cases … -- … no longer forwards a literal -- to argparse; empty-arg set -u is safe on macOS bash.
    • pChronicle cases seed fixtures via PCHRONICLE_CASE_FIXTURES, use current import/export CLI, and skip serve/S3/Catalog/RustFS unless PCHRONICLE_CASE_MODE opts in.

Test plan

  • just --summary lists the new CI helpers and no longer lists gate / test-*-cases* / build-analysis / sanitize
  • CI green on this PR (format, clippy including pChronicle Web, rust-test shards via ci-nextest, python, pvisor-cases, examples)
  • just cases pchronicle → S01–S04 PASS, S05–S06 MANUAL
  • just cases pchronicle-cluster → P01–P07 MANUAL (exit 0)
  • just cases pvisor --case A01 forwards case filters without argparse errors

reiase and others added 6 commits September 8, 2026 12:44
Make justfile the single source for local and CI build/test entrypoints,
collapse overlapping gate/dev/cases/build helpers, and stop invoking raw
cargo/uv commands from the main CI workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
Variadic recipe arguments are not exposed as $@ in shebang recipes on
the pinned just version, so package names never reached nextest.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use +packages so missing args fail in just itself, and expand package
names through {{ packages }} instead of shebang $@.

Co-authored-by: Cursor <cursoragent@cursor.com>
just forwards a leading `--` into recipe args, which argparse rejects.
Also resolve pchronicle to an absolute path so temp-cwd case bodies can
find the binary.

Co-authored-by: Cursor <cursoragent@cursor.com>
Seed cases from examples/data via PCHRONICLE_CASE_FIXTURES, update import
and export syntax, skip serve/S3 without an explicit mode, and harden the
just cases recipe against empty-args set -u failures on macOS bash.

Co-authored-by: Cursor <cursoragent@cursor.com>
P05 was executed with placeholder credentials against catalog:// and
failed. Treat catalog pins, placeholder AKs, and RustFS-only setup as
MANUAL unless PCHRONICLE_CASE_MODE opts in.

Co-authored-by: Cursor <cursoragent@cursor.com>
@reiase
reiase merged commit cf38f34 into main Sep 8, 2026
29 checks passed
@reiase
reiase deleted the chore/align-just-and-ci branch September 8, 2026 06:53
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