Repository navigation
Timing tests: convert the Haskell juxtaposition ReDoS tests to assert_cpu_below (Part of #8423) - #8711
Merged
Conversation
…_cpu_below (Part of #8423) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
CI shepherd: the head of this PR (1235b0b) is not the one a maintainer labelled |
auto-merge was automatically disabled
November 19, 2026 23:44
Pull request was converted to draft
Contributor
|
No description provided. |
Contributor
|
No description provided. |
1 similar comment
Contributor
|
No description provided. |
2 of 3 tasks
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.
Part of #8423 (slice 3 of 4). Converts the two
time.perf_counter()difference assertions intests/extraction/languages/test_calls_out_haskell_juxtaposition_6454.py(test_continuation_join_is_redos_immune,test_prime_masking_is_redos_immune) totests/_timing.assert_cpu_below, same 3.0 s bounds, payloads built outside the timed closure (pattern from #8707). Drops the file fromWALL_CLOCK_OFFENDERS.Class / Sibling gaps
Class: tests asserting "this is fast" with a raw wall-clock difference, which a loaded runner stretches (#8423). Members in this PR: both timing tests in the Haskell juxtaposition file (the file has no others). Sibling gaps: the remaining entries in
WALL_CLOCK_OFFENDERSintests/tools/test_no_raw_wall_clock_timing_8423.pyare other files, handled by other slices (same mechanism, one file each, kept apart by the 5-file rule and to avoid conflicts on the shared frozenset); status: open, source: that list.Checklist: partial [c:07091220] -- the other offenders in
WALL_CLOCK_OFFENDERSremain for later slices.Tests: the file (131 passed with the guard test),
ruff format --checkclean.Cross-repo: none.
🤖 Generated with Claude Code