Skip to content

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

Closed

Description

@zackees

Sub-issue of #59.

What

Two things #59 asks for that neither other leg covers.

1. The draft label is stale. cross-ship.yml's header says it is "additive and DRAFT" and "must be validated against a live CI run before the cross legs in ci.yml are migrated onto it". That run happened: 35276124820, all six jobs green on main. The header should say what is true now, and the workflow should run on a schedule and on pushes that touch what it covers, rather than only on itself.

2. The caching is never measured. #59's third proposal item is to capture setup-soldr's cache outputs as the success signal — cache-hit, build-cache-hit, target-cache-hit, and especially compile-cache-hits / compile-cache-misses / compile-cache-hit-rate — plus wall-clock deltas, surfaced in the job summary. Nothing does this today, so "we lean on the cache" is an assumption rather than a number.

Scope

  • Update cross-ship.yml's header and triggers to reflect a validated workflow.
  • Read the setup-soldr step's outputs and write a job summary table: per target, each cache-hit flag, the compile-cache hit rate, and the build wall time.
  • Put the formatting in a small Python module under ci/ with its own test, rather than inline shell — the repo's direction (see refactor(ci): move benchmark orchestration into invokable Python #48) is that YAML is a thin adapter.
  • The summary must degrade cleanly when an output is absent: report it as unknown, never crash the job and never print a fabricated number.

Out of scope

Migrating ci.yml or the benchmark legs — those are separate sub-issues, so a failure in one is not ambiguous with another.

Acceptance

  • cross-ship.yml no longer calls itself a draft, and runs beyond its own path filter.
  • A run prints a per-target cache table in the job summary.
  • ci/tests covers the formatter, including the missing-output case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions