Repository navigation
Conversation
…ice answers reset video slower than 4 s
…e last one asked for (#1762)
|
No actionable comments were generated in the recent review. Walkthrough
Severity of issue fixed: Low Merge Risk:
|
Decision neededThe slow lane ran The fix works: six key frames after the first 15 s (before: 1 or 2). But each gap is now the 4 s reset wait plus the emulator's answer (0.1–2 s here), so one gap reached 6.0 s. As asked on #1762, the run stops here instead of changing the e2e bound. Options:
The PR stays a draft until you pick. Written by an agent. |
|
Maintainer decision (2026-11-24): option 1. Written by an agent. |
Review ledgerRound 1: 23f2d14 {"findings":[{"id":"R1","role":"code","class":"liveness assumed, no reset retry","outcome":"incorrect","path":"src/drivers/android/screen/session.ts","round":"1"},{"id":"R2","role":"claims","class":"scrcpy source claim unverified","outcome":"incorrect","path":"src/drivers/android/screen/session-body-and-close.test.ts","round":"2"},{"id":"R3","role":"claims","class":"stale 4 s reset interval in ADRs","outcome":"fixed","path":"docs/internal/adr/0089-an-android-streams-scrcpy-command-line-stays-under-256-bytes.md","round":"fix-check","fix":"84f82ea0b861b6b2f840fb2b74997f4ffdc80d7b"}]}Written by an agent. |
…the whole lane runs nightly on main (#1951) ## Not verified - Not run: any device, the slow lane, a real nightly `start`, `gh issue create` (fake `gh` only). ## Why 13 of 27 hardware-fix runs chased failures that were not the PR's. Of 37 failed lane runs, 7 were the PR's own defect and 8 were rot already on `main`. The whole lane never ran whole. ## What - `scripts/slow-e2e.sh triage <log>` classes each failure (test, suite, file, run): `flaky` (an open `flaky-test` issue), `base` (the nightly list, or fails at the merge base), `load` (host over its limit), `reach` (the PR changed the test file, or it passes at the merge base). Only `reach` gets a fix run. - The lane log records its arguments, platforms and load; `status` prints `failed:` and `not run:` lines. - `.agents/scripts/slow-lane-nightly.mjs`: every non-phone slow file on `main`, one lane run each, then the driver contract under the lane lock. It files one issue per failing test and writes the known list (`--apply`; else it prints). - The verifier triages before it reports. `deliver-step.mjs` starts a hardware-fix only on a `reach` or `unsorted` line and sends only those; other failures park only when a Done when line failed (rule 16). ## Proof ``` 1. Triage replay, 37 failed verifier runs (tx.json), 2 unknown left out: 35. Per-run hand labels rebuilt from the fix runs' outcomes (the report kept counts only). Base reruns as recorded: 6 need a rerun; class equal 19 of 29. Unrecorded reruns as labelled: class equal 25 of 35. PR's own defect sent to a fix run: 16 of 17 (#1828 is flaky: #1762, open then, names it; the report counts #1828 a time-bound flake). Other failures kept from one: 9 of 18. The other differences: the PR's own new test hit a flake or a time bound with no load recorded (#1536 x2, #1893, #1830 x2); a machine fault (#1186) and a helper broken on main (#1660) in the PR's own new test; #1458's repro of a known bug; #1573 16:22 passed at the base (a full-lane flake). The report's own lists: its 7 PR-defect runs -> reach 7 of 7. Duo failures of 2026-11-27 (5 in the lane logs, PR #1916): as on 11-27: load 3 (load 122-162 in SLOW BUDGET lines), reach 2 (no load sample in their window; the lane now writes one each minute). With #1941 open: flaky 5 of 5. A printed rerun, run through sh on a vitest fixture, selects exactly the failed test (not a longer title that starts with it, not the same title in another suite). 2. Nightly dry run (plan) on origin/main 3e2b72a: 26 files, name order, slow-agent-device-gateway ... slow-warm-pool; then "not run: driver contract: src/drivers/driver-contract-real.test.ts is not on main yet". Report dry run on a fabricated night: the issue text for a failed withinBudget bound, "not run: android missing (...): 2 tests", "not run: the lane was busy", nothing written. 3. Fake xcrun (lists no iOS runtime / no simctl / fails): status prints "not run: ios missing (...)" for the first two, and the third is not missing. With the probe forced to "present", the test fails. Unit tests: src/slow-e2e.test.ts, src/slow-lane-triage.test.ts, src/slow-lane-nightly.test.ts, src/deliver-step.test.ts: 110 pass. deliver-step replay (R/builders/deliver-step, real and sandbox): no transition changed (recorded Evidence lines carry no class). ``` ## Review Spec review: skipped. Code review: 9 blocking, 9 fixed, 0 notes. Claims review: 3 blocking, 3 fixed, 0 notes. Rounds: 6. Tokens: 8.9M. Assessment: complete *Written by an agent.*
Closes #1762
Status
Implement: done Review: round 2 + 2 fix-checks passed, 0 open Hardware: pass at 5a2afb0 Gate: running
Next: gate
Done when
session-body-and-close.test.ts, both the 4 s reset test and the 5 s-answer test). — both tests pass at 84f82ea (now the 3 s reset test, per the maintainer's decision); each fails with the re-arm restored, the constant changed or the write removede2e/slow-android-stream.test.tspasses on a slow-lane emulator. — slow lane pass at 5a2afb0 (log simlock-slow-e2e-20261124-174823.log); the later commit only edits ADR textAssumptions
none
Review
Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 1 blocking, 0 fixed, 0 notes. Claims review: 2 blocking, 1 fixed, 0 notes.
Rounds: 2. Tokens: 1.9M.
Runs: 13. Cost USD: 2.5844. Agent seconds: 1253.
Rejected:
Assessment: complete
Written by an agent.