You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(merge-queue-triage): name the exception — the discriminator is what the assertion MEASURES (#13966)
The posted triage comment tells readers that a timeout is load/timing and an
`AssertionError` points at a real behaviour change. That rule is right about
the common case and demonstrably prevented a wrong flake call the same morning
this exception was measured — but "assertion ⇒ real change" has a
counterexample class, and it is the expensive direction.
A validity-precondition assertion (the run must fit inside a time budget for
the following distinctness assertion to mean anything) measures nothing about
the product. It reads with the timeouts: load-sensitive, and one re-queue is a
legitimate discriminator. The tell is mechanical — the assertion's message or
its compared values name a duration, a timestamp, or a count of elapsed units.
Purely additive (46 lines, 0 deletions): one paragraph in the posted comment
and the provenance section in the file header. The existing heuristic is
untouched, and so is the re-queue allowance, which is governed elsewhere.
Claude-Session: https://claude.ai/code/session_01Msg17tAHJ3jVTYFgHydCm2
Co-authored-by: Claude <noreply@anthropic.com>
'> 识别是机械的:断言的消息或它比较的值本身点名了一段**时长、一个时间戳、一个耗时计数**。实测过的一对 —— `AssertionError: SecurityPlugin.init() ran: expected false to be true` 测的是产品行为(真回归);',
740
+
'> `AssertionError: this run took over a second, so second-precision stamps could have differed too: expected 1006 to be less than 1000` 测的是实验前提:它守护的那条不变式当时是绿的,同一个 head 原样重排一次即成功。',
0 commit comments