Repository navigation
ci: per-test time ratchet in mainframe-ground-truth parts (Part of #5166) - #5256
Conversation
…rt of #5166) smoke-test.yml ignores tests/cobol_mainframe on a PR, so an unmarked slow test there was only caught after merge on main (#5240, #5248). Each ground-truth part now writes GITGALAXY_TEST_TIMES and runs time_ratchet.py check on it, as smoke-test's parts do. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
🐦⬛ Muninn Security Scan
🔴 Critical Findings[gitleaks] Identified a Private Key, which may compromise cryptographic security and sensitive data encryption.File: |
|
PR #5256 @ 6a41787: 2 failed check(s) == ground-truth (failure) -- real == ground-truth part 1/2 (failure) -- real |
…y over 15 s (Part of #5166) The new ground-truth time ratchet failed part 1 on four existing tests (CI times of run 38907210327): they get their observed seconds, so only NEW slow tests fail. Part 2/2 had none over the limit; smoke-test's parts already gate the rest. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
CI shepherd: the head of this PR (96f5456) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #5166 (box B follow-up).
What
mainframe-ground-truth.yml,ground-truth-partjob (both matrix parts): the pytest step getsGITGALAXY_TEST_TIMES($RUNNER_TEMP/times-ground-truth-part-N.json), followed by a "Per-test time ratchet (#5166)" step (time_ratchet.py check --times <that file>, the CI times file, not.test_durations) and anif: always()times upload. Copied from smoke-test.yml's full-suite parts. The check is inside the job the requiredground-truthcheck aggregates, so an unmarked slowtests/cobol_mainframetest fails on its own PR (#5240, #5248 were this class). Ratchet logic, baseline and.test_durationsuntouched.The artifact is
test-times-ground-truth-part-N, which does not match smoke-test'stest-times-part-*, so the nightly suite budget merge is unchanged.New test:
tests/core_engine/test_ground_truth_time_ratchet_workflow.py(env, ratchet reads the file pytest writes, order, artifact name).Class table (workflows that run pytest)
tests/cics_crucible, own suite, not in the baselinegolden_cruciblemarker onlyEvidence
time_ratchet.py checkon a fake times file with an unmarked 20 s cobol_mainframe test: exit 1, FAIL line.pr_gates --fast: 6/6.--ratchets: 8 pass, 0 skipped.Cross-repo: none.
🤖 Generated with Claude Code