Repository navigation
Conversation
hunsche
requested review from
PauloVLB,
ViniciustCosta,
decoNR,
g-ortuno and
smolkaj
November 24, 2026 19:29
decoNR
removed their request for review
November 24, 2026 21:30
hunsche
added a commit
that referenced
this pull request
Nov 25, 2026
## Overview #5587 started clearing `progression_pending` inside `handle_progression_bad_build` so new crashes hitting dynamic-linker or bad-build failures would not stall in triage. However, `triage` previously had no crash-freshness check for reproducible testcases. Clearing `progression_pending` on bad-build errors could therefore unlock stale reproducible testcases without a recent trunk reproduction and auto-file already-fixed crashes. To keep the rollout small and independently revertible, this first PR isolates the App Engine `triage` crash-freshness gate (zero worker, protobuf, or testcase-closure changes). Follow-up draft PRs (#5651 and #5652) handle closing unfiled bad-`min_revision` testcases after clean trunk runs and skipping broken starting revisions during bisection. ## Changes - **`triage.py` crash-freshness gate**: Require reproducible testcases to have a confirmed crash timestamp (`testcase.timestamp`, `testcase.created`, or `last_tested_crash_time`) within the 14-day freshness window (`reproducible_testcase_freshness_deadline` in `IssueTrackerConfig`, defaulting to `FILE_CONSISTENT_UNREPRODUCIBLE_TESTCASE_DEADLINE`, with `<= 0` disabling the gate) before auto-filing or publishing `new` Pub/Sub issue notifications. - **Concurrent-closure guard and metrics**: Skip testcases that closed concurrently during a `triage` run, clear `stuck_in_triage`, record a `triage_message` explaining why filing was held back, and emit `stale_unverified` on `untriaged_testcase_age` and `untriaged_testcase_count`. ## Tests - Added unit tests in `triage_test.py` covering fresh, refreshed, stale, expired-progression, one-time, concurrently closed, Pub/Sub-only, missing/malformed-timestamp, and custom-deadline testcases.
hunsche
force-pushed
the
fix/progression-unfiled-bad-min-and-retries
branch
from
November 25, 2026 15:25
0fc6d72 to
80496c9
Compare
hunsche
force-pushed
the
fix/progression-skip-bad-min-bisection
branch
from
November 25, 2026 15:25
00e44a8 to
0266fff
Compare
hunsche
force-pushed
the
fix/progression-skip-bad-min-bisection
branch
from
November 25, 2026 16:21
0266fff to
00fa961
Compare
hunsche
added a commit
that referenced
this pull request
Nov 25, 2026
hunsche
marked this pull request as ready for review
November 25, 2026 18:42
hunsche
added a commit
that referenced
this pull request
Nov 26, 2026
This branch has not been deployed
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.
Overview
Stacked on #5651 (Part 3 of 3, following #5645). When a testcase no longer crashes on the latest revision (
max_revision) and its starting revision (min_revision) failscheck_for_bad_build,progression_taskpreviously aborted immediately without attempting nearby revisions, preventing bisection from recording afixedrange when an adjacent revision still reproduced the crash.Changes
_verify_or_advance_min_revisionbounded skip-forward: Testsmin_revisionfirst (even whenmin_revisionhas aged out ofrevision_list) and, whencheck_for_bad_buildfails (is_bad_build = True), advances forward across up toEXTREME_REVISIONS_TO_TEST(3) broken revisions:PROGRESSION_BAD_BUILD(settingskipped_bad_min_build = Truewhenmin_revisionor an intermediate build inbad_revisionswas skipped, without recording a falsefixedrange or misclassifying aged-out crashes asone_time_crasher_flag) if the next healthy revision runs cleanly without crashing.min_revisionfails with a dynamic-linker error (is_bad_build = False).PROGRESSION_TIMEOUT(leavinglast_progression_minunset) if the task completion deadline expires mid-skip.Tests
butler.py formatandbutler.py lintprogression_task_test.py(65/65) covering bisection recovery across skipped bad builds, aged-outmin_revisionpreservation,bad_revisionsAttempt 1/Attempt 2 symmetry, clean subsequent builds, skip-cap enforcement (EXTREME_REVISIONS_TO_TEST = 3), two-element revision lists, dynamic-linker short-circuiting, and deadline expiration during skip-forward.