Repository navigation
ci(cross-ship): take cross-ship.yml out of draft, surface setup-soldr cache metrics - #171
Merged
Merged
Conversation
… 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
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.
Closes #169
Summary
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, matchingselfhost-linux.yml/scale-gate-linux.yml.id: compile, wall-seconds output) and adds a "Report soldr cache metrics" step,if: always(), that shells out toci/cross_ship_metrics.pywith 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.pyformats 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.pycovers normalize/format_wall_time (happy path + every degrade path), the table's non-fabrication guarantee, andmain()end-to-end (stdout,GITHUB_STEP_SUMMARYappend, fully-degraded case).release.yml: dropped the now-stale "DRAFT cross-build legs" comment wording, sincecross-ship.ymlis no longer a draft.ci.yml, the host-run job, andbenchmark-stats.ymlare 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 passeduv 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