Repository navigation
Conversation
This was referenced Nov 24, 2026
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.
Base automatically changed from
fix/progression-bad-build-stale-triage
to
master
November 25, 2026 15:20
hunsche
force-pushed
the
fix/progression-unfiled-bad-min-and-retries
branch
from
November 25, 2026 15:25
0fc6d72 to
80496c9
Compare
hunsche
marked this pull request as ready for review
November 25, 2026 15:26
hunsche
added a commit
that referenced
this pull request
Nov 25, 2026
hunsche
added a commit
that referenced
this pull request
Nov 26, 2026
- Drop historical bad_revisions gap heuristic from find_fixed_range. - Clear stale bad-min-build retry metadata in fallback bad-build handling and clear regular progression retry metadata symmetrically. - Clear retry metadata if rescheduling fails across confirmation retries. - Clear progression_pending after update_testcase_comment on terminal flaky attempts so it saves atomically with mark_unreproducible_if_flaky.
hunsche
force-pushed
the
fix/progression-unfiled-bad-min-and-retries
branch
from
November 26, 2026 01:32
aa04479 to
6410661
Compare
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
Follows #5645 (Part 2 of 3). While #5645 prevents
triagefrom filing stale unverified reproducible testcases, unfiled testcases whose latest trunk revision (max_revision) passes cleanly and whose starting revision (min_revision) failscheck_for_bad_buildwould otherwise remain open in dailyprogressionruns, and fresh (<= 14d) non-crashing retries could briefly clearprogression_pendingbetween confirmation attempts.This PR closes only truly unfiled automated bad-
min_revisiontestcases after two clean latest-trunk runs while leaving all filed, group-linked, and manually uploaded bugs untouched.Changes
passed_on_latesttracking: Recordpassed_on_latest = Trueandmax_revisiononProgressionTaskOutputonly whenmax_revisionis the uncapped latest trunk build (max_revision > known_crash_revisionandmin_index < max_index) and runs cleanly without crashing.min_revisionclosure: Inhandle_progression_bad_build, whenpassed_on_latestisTrueand_is_unfiled_auto_close_candidate(testcase)holds (processed automated fuzzer testcase with nobug_information,group_bug_information,github_issue_num,has_bug_flag,uploader_email, oranalyze_pending), retry once on another bot (progression_bad_min_build_retry) while keepingprogression_pendingset, then close (open = False,fixed = 'NA') and emitTestcaseRejectionEvent(PROGRESSION_MIN_REVISION_BAD_BUILD). Filed, group-linked, and manual testcases stay open as before.last_tested_crash_revisioninbuild_manager.get_revisions_list: Exemptlast_tested_crash_revisionalongsidetestcase.crash_revisionwhen filteringbad_revisionsso the confirmation attempt still observes a bad starting build even aftertestcase.crash_revisionages out of GCS.redo_testcasehygiene:progression_pendingset across non-terminal confirmation retries inhandle_progression_no_crashandcustom_binaryprogression checks, and clearprogression_pendingatomically withmark_unreproducible_if_flakyon the final flaky attempt.progression_retryandprogression_bad_min_build_retryacrosscrash_on_latest, fallbackhandle_progression_bad_build, failed reschedule paths (_clear_pending_and_persist), symmetricno_crash/bad_min_buildtransitions, andtasks.redo_testcase.last_progression_minandlast_progression_maxvalues againstNoneon first-midpoint bisection errors.Tests
butler.py formatandbutler.py lintprogression_task_test.py,build_manager_test.py,tasks_test.py, andevents_test.pyclusterfuzz-development