CI and script checks #
GitHub is the CI/download mirror. Source changes and issues belong at https://tangled.org/vinnymac.dev/parcel.
CI builds root binaries and test targets once, then shares that build with lint, screen-free units, scripts, catalog/dependency audits, and debug benchmark smoke. Universal packaging deliberately uses its own release build. No CI lane requests Accessibility or Screen Recording, and no PR job receives release secrets. Benchmark smoke does not certify performance budgets or native rendering.
Run the same checks locally:
mise exec -- swift build --build-tests
export PARCEL_DEV_BINARY="$PWD/.build/debug/parcel-dev"
mise run lint
PARCEL_TEST_SKIP_BUILD=1 mise run test
PARCEL_TEST_SKIP_BUILD=1 mise run test:scripts
Scripts/check-ci-audits.sh "$PWD" "$PWD/build/ci-audits"
mise exec -- gitleaks git --redact .
mise run release-dry-run
Scripts/check-workflows.sh checks native YAML policy, actionlint, composite
SHA pins and offline/pedantic zizmor. Security tools are pinned in mise.toml;
normal tasks do not install tools or contact security services.
The script lane runs both root tooling targets once with Swift Testing-only JUnit,
guards against empty tests,
then executes every Scripts/tests/*.sh fixture even if an earlier check fails.
build/junit-shell.xml, script-results.json, script-summary.md and individual
logs retain every result. Root Swift JUnit is separate. Standalone shell fixtures
still run their matching Swift suites; distinct package/process checks remain.
Set PARCEL_SCRIPT_RESULTS to isolate a run's output directory.
To measure warm runs, build first and keep the same sources/toolchain. Record ten attempts in distinct output directories, then use:
Scripts/parcel-dev.sh ci-timings build/warm-summary.md build/warm-*/script-results.json
Scripts/parcel-dev.sh measure-ci units build/unit-timing.json Scripts/test-unit.sh
The timing summary uses nearest-rank p50/p95, rejects malformed or mismatched runs, and reports each phase plus total execution time and pass/fail counts. Failed attempts stay in the statistics and make the summary command exit nonzero. Report cold build and artifact transfer separately; shared-host samples are not quiet-host certification.
The dependency manifest pins repository, version, revision and license-file SHA256. A new dependency/pin needs a reviewed manifest update, not a permissive fallback. Catalog summaries enumerate every shipped language and fail on missing, stale or invalid translations. These audits do not certify rendered clipping, VoiceOver behavior or all notices embedded in third-party binaries.