mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 11:06:11 -10:00
Nightly audit: one issue when many harnesses newly fail at once
The 2026-11-06 audit tested a main commit that did not compile (mob_to_nbt arity in raids.rs) and opened 421 "Parity regression" issues, one per harness. Above 20 new failures the audit now opens one issue with the list and the first compiler error, and keeps those harnesses' previous results so the next audit compares them again. The open-issue lookup no longer stops at 200. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
f4dcf8a2fb
commit
e517343add
2 files changed
+44
-2
No files matched your search
@@ -22,6 +22,13 @@ class ParityIssuesTests(unittest.TestCase):
|
||||
# A harness that never passed in an audit (d) gets no issue; one that keeps passing (e) nothing.
|
||||
self.assertEqual(issues.plan(now, {}, {}), [])
|
||||
|
||||
def test_many_new_failures_at_once_are_one_report(self):
|
||||
many = [("open", f"h{i}") for i in range(issues.MASS_FAILURE + 1)]
|
||||
self.assertEqual(issues.mass_failure(many + [("comment", "x"), ("close", "y")]),
|
||||
[f"h{i}" for i in range(issues.MASS_FAILURE + 1)])
|
||||
# A few real regressions still get one issue each.
|
||||
self.assertEqual(issues.mass_failure([("open", "a"), ("open", "b"), ("comment", "c")]), [])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user