Skip to content

CI v3 (nice-to-haves after CI v2 / #4825) #4847

Closed

Description

@squid-protocol

Follow-up to #4825 (closed: its plan is done). None of these is urgent; each is independent.

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    ci-cd
    priority: low
    on Oct 10, 2026
  2. squid-protocol commented on Oct 10, 2026

    @squid-protocol
    OwnerAuthor

    Priority for upcoming translation / harness work (2026-10-10): do these two first, the rest stays parked:

    1. Generator in the port diff. Generator changes (the forge code outside det/) still force a full det sweep, but the generator's output is the port, so det_port check's byte compare covers it. A small change to det_sweep_plan.PORT_DIFF (+ tests).
    2. Per-component harness keys. New equivalence harnesses mean many PRs touch harness files: prove only the cases using the changed component. Wall time saving ~5–7 → ~1–3 min, runner use 20 shards → 1–2.

    Bigger lever outside CI: the same "prove only what changed" applied to local sweeps (automatic det_port check before sweeping), since local Db2 sweeps and fix → re-prove loops now dominate iteration time, not CI (~13 min).

    🤖 Generated with Claude Code

  3. squid-protocol commented on Oct 11, 2026

    @squid-protocol
    OwnerAuthor

    CI speed-ups merged 2026-10-11 (from a measured pipeline audit; reports in the orchestrator handoffs, pipeline-audit-2026-10-11):

    None of this issue's own items is done by the above. Queued next for the agent churn: generator changes in the det port diff, so a generator change proves only the ports it moves instead of forcing a full sweep (this issue's priority comment, item 1).

  4. squid-protocol commented on Oct 12, 2026

    @squid-protocol
    OwnerAuthor

    Siblings: #4963 (remaining bot writers to main, from the class sweep in PR #4962).

  5. squid-protocol commented on Oct 12, 2026

    @squid-protocol
    OwnerAuthor

    #4935 member 3 (heavy jobs run twice): measured saving, PR #4961 (draft)

    Source: gh api workflow runs, 7 days to 2026-10-12, run wall = updated_at - run_started_at. "Would skip" is a replay of the gate's real rule (tests/tools/skip_tested_tree.py, against each merged commit's PR) over the completed push runs, not a forecast.

    Mainframe Ground Truth Smoke Tests
    PR runs, 7 d 458 runs, 5,388 wall-min 456 runs, 6,636 wall-min
    Push runs, 7 d 240 runs, 2,934 wall-min (419/day) 238 runs, 3,662 wall-min (523/day)
    Completed push runs replayed 225 197
    Would skip (tree equal, parent in head, PR run green) 76 (34%) 68 (35%)
    Saved 894 run wall-min, 732 job-min per 7 d = ~128 wall-min/day 394 job-min per 7 d = ~56 job-min/day (only full-suite parts; the 9-way OS grid is not run on PRs, so it always runs)

    Why only about a third: of the not-skipped pushes, 147/225 (ground-truth) and 124/197 (smoke) have a main tree that differs from the PR head's tree, i.e. the PR was behind main when it was squashed. 1 / 4 PR heads had a red newest run, 1 / 1 did not contain main's previous commit. No false skips: every skip needs an equal tree SHA and a green same-workflow run on that head.

    Merge queue, as the alternative: it would test the merged tree before it lands, so the push run could be dropped for 100% of merges. But the 65% of PRs that are behind main would each need a fresh merge-group run, the same minutes as the push run it replaces, so the minutes saved over this change are small. What a queue buys is correctness (a red never lands on main), not CI minutes. Not proposing it for this item.

    Side effects handled: Main Watch is untouched and still sees success/failure for these workflows (the gate job always runs; a skip is a true green for that tree). Ground-truth history rows were written only by the push run, so the nightly run now writes them too (one row set per day).

    Not covered here (same mechanism, other workflows, listed on the PR report): fact-crosscheck, estate-crucible, ports-compile, java-compile, cics-crucible, unicode-gauntlet, tree-sitter-accuracy-audit.

  6. squid-protocol commented on Oct 12, 2026

    @squid-protocol
    OwnerAuthor

    Sibling gap from #4966's class sweep filed as #4968 (java-same-base / gradle-home key families). Siblings: #4968

  7. squid-protocol commented on Oct 12, 2026

    @squid-protocol
    OwnerAuthor
  8. added
    scope:infra
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci-cdenhancementpriority: lowscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions