Skip to content

ci(cross-ship): take cross-ship.yml out of draft, surface setup-soldr cache metrics - #171

Merged
zackees merged 1 commit into
mainfrom
feat/meta-work-169
Sep 18, 2026
Merged

zackees merged 1 commit into
mainfrom
feat/meta-work-169

Conversation

@zackees

@zackees zackees commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Closes #169

Summary

  • Removes the stale "DRAFT" wording from cross-ship.yml's header, now that the validated green run (35276124820) is in and the workflow runs beyond its own path filter: workflow_dispatch, a weekly schedule (37 6 * * 1), and push/pull_request with a paths filter, matching selfhost-linux.yml/scale-gate-linux.yml.
  • Times the compile step (id: compile, wall-seconds output) and adds a "Report soldr cache metrics" step, if: always(), that shells out to ci/cross_ship_metrics.py with the setup-soldr outputs (cache-hit, build-cache-hit, target-cache-hit, compile-cache-hits/misses/hit-rate) plus wall time.
  • ci/cross_ship_metrics.py formats a per-target job-summary table; every field degrades to "unknown" on missing/blank/unparsable/negative input rather than crashing or fabricating a number.
  • ci/tests/test_cross_ship_metrics.py covers normalize/format_wall_time (happy path + every degrade path), the table's non-fabrication guarantee, and main() end-to-end (stdout, GITHUB_STEP_SUMMARY append, fully-degraded case).
  • release.yml: dropped the now-stale "DRAFT cross-build legs" comment wording, since cross-ship.yml is no longer a draft.

ci.yml, the host-run job, and benchmark-stats.yml are untouched — migrating those is separate, out-of-scope work per #169.

Test plan

  • uv run --no-sync python -m pytest ci/tests/test_cross_ship_metrics.py -q — 8 passed
  • uv run --no-sync python -m pytest ci/tests/test_ci_workflow.py -q — 7 passed (sanity, no cross-ship.yml assertions)
  • python -c "import yaml; yaml.safe_load(open('.github/workflows/cross-ship.yml'))" — valid YAML

🤖 Generated with Claude Code

… cache metrics

Adds workflow_dispatch, weekly schedule, and push/pull_request path-filtered
triggers matching selfhost-linux.yml/scale-gate-linux.yml. Times the compile
step and reports setup-soldr cache metrics via ci/cross_ship_metrics.py
(always-run, degrades to "unknown" on missing data, never fabricates).
Also drops now-stale "DRAFT" wording in release.yml's cross-ship reference.

Refs #169
@zackees
zackees merged commit 9db5c50 into main Sep 18, 2026
26 checks passed
@zackees
zackees deleted the feat/meta-work-169 branch September 18, 2026 00:48
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.

ci: take cross-ship.yml out of draft and surface its setup-soldr cache metrics (reld#59 leg 3)

1 participant