Repository navigation
tests: ten tests over the 10 s limit are faster, same checks (Closes #5178) - #5179
Conversation
…Closes #5178) ReDoS sweeps run one child per language (ownership 2882, high-risk execution 2878), source-reads walks each tree once, evidence-report fixtures fingerprint each case once. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5179 @ 2bbdc94: 1 failed check(s) == full-suite part 2/3 (failure) -- real |
…loses #5178) CI runners are slower than the box: full-suite parts 2/3 and 3/3 failed the per-test time ratchet on tests that ran under 10 s locally. Each now carries @pytest.mark.slow(reason=...); no baseline entry was added or raised. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (1254f7b) is not the one a maintainer labelled |
|
No description provided. |
…5176) test_java_subprocess_utf8, test_lifted_binary_trunc (3 params) and test_nfc_paths run over 10s in CI and are not covered by #5179. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
PR #5179 @ 1254f7b: 3 failed check(s) == full-suite (failure) -- main == full-suite part 1/3 (failure) -- real == full-suite part 3/3 (failure) -- main |
…try (Closes #5178) Full-suite parts 1/3 and 3/3 failed the per-test time ratchet. Three tests ran over 10 s on the runner with no slow mark; the posix-only-imports test was slow-marked but still baselined at 13.19 s, and a baselined test is checked at 2x and ignores the mark. The two utf8/binary-trunc marks match PR #5177 byte for byte. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (1724e92) is not the one a maintainer labelled |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
CI shepherd: the head of this PR (9848380) is not the one a maintainer labelled |
…5178) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…loses #5178) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…0-10.5 s (Closes #5178) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…4-9.5 s ones (Closes #5178) Co-Authored-By: Claude Opus 5.5 <[email protected]>
… at 7 s+ locally (Closes #5178) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Owner decision (2026-10-15): this PR also carries the softened test-time ratchet before it merges (see #5166): PRs fail only on an unmarked test > 15 s or a baselined test > 2.5x; 10-15 s warns in the summary; the nightly on main tracks tests over 10 s in one issue. Reviewer: don't approve the merge until that change is in. |
…5178) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d runner noise (Part of #5166, Closes #5178) An unmarked test fails only over 15 s, 10-15 s is a job-summary warning, a baselined test fails over 2.5x; the nightly lists tests over 10 s in the suite-time issue. Owner decision 2026-10-15. Removes the 26 slow marks this PR added on tests the latest CI times file shows at 0-9 s; the posix-imports mark (20.7 s) stays. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
Closes #5178. Part of #5166. Main's GitGalaxy Smoke Tests failed only at
time_ratchet.py check(full-suite part 3/3, run 38674833796): 10 tests over the 10 s per-test limit with no slow marker or baseline entry. All 8103 tests passed. Not an infra flake.Fix (same checks, less time)
test_ownership_contract_2882redos_immune [sqlite, swift, tcl]assert_redos_immune_all: one child per language, same payloads and 3 s boundtest_source_reads::test_no_source_read_loses_a_bytetest_evidence_reportx6 (db2_fixture x4, stale_fixture, linked)det_coverage_ledger.fingerprints(tree hashing was ~27 of a ~35 s live build)Class table
Class: tests over the 10 s limit from per-payload process spawns, repeated live evidence builds, or repeated repo walks.
test_high_risk_execution_contract_2878redos (same mechanism, 7.1-8.9 s per language in.test_durations): handled here.Sibling gaps
tests/tools/test_evidence_report.py::test_check_fails_on_an_edited_report(5.8 s) andtest_the_release_gate_fails_while_a_level_is_stale(4.4 s) are under the limit locally (CI is ~2x slower), so they may be next. They do not use the cached fingerprints path.test_source_reads::test_every_allowlist_entry_is_still_needed(9.1 s in the stale.test_durations): now shares the cache.tests/cobol_mainframe/test_tool_regex_redos.py(7-8 s, stale durations): not touched.assert_redos_immune(loops in the*_strict.pyfiles were not swept.Evidence
time_ratchet.py checkon a times file of the 4 touched files: 260 tests, 0 over the limit.pr_gates.py --fast: 6/6. No golden bless needed (tests only).Softened time ratchet (owner decision 2026-10-15, #5166)
One timing on a shared runner is +-20-30%, so a hard 10 s edge gave ~15 false reds. Instead of slow-marking tests one by one:
time_ratchet.py check(every PR): an unmarked, unbaselined test fails only over 15 s; 10-15 s is aWARNline plus a job-summary section; a baselined test fails over 2.5x its seconds (was 2x).time_ratchet.py overlists every test over 10 s with no slow mark or baseline entry; thesuite-timejob files it in the same one issue as the budget ("Suite time over budget (nightly)").tests/tools/test_time_ratchet.pycovers the 15 s edge, the warning, the 2.5x edge,over, and the summary file.docs/ci.md"Test-time ratchet" updated.test-times-part-*upload never ran (hashFiles()cannot seerunner.temp), which is whysuite time budgetfound 0 artifacts; fixed insmoke-test.yml.Cross-repo
None: this repo only.
🤖 Generated with Claude Code