Skip to content

chore(agents): a slow-lane failure is checked against the base, the load and the spec before another fix - #1861

Merged
V3RON merged 4 commits into
chore/pstack-recurring-findingsfrom
chore/pstack-slow-lane
Nov 26, 2026
Merged

V3RON merged 4 commits into
chore/pstack-recurring-findingsfrom
chore/pstack-slow-lane

Conversation

@V3RON

@V3RON V3RON commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Why

From 27 October to 25 November the slow lane failed 48 times; 7 were the PR's own bug (table in the first comment). The long loops had three shapes:

What

  • The verifier reports the load, marks a failing test whose file the PR did not change, and drops --bail=1 after its first run.
  • A fix run checks a marked test at the merge base first: failing there is a bug:new issue, no fix.
  • After two failed fixes for one test, the fix run tests what they assumed; a false spec bound is a spec needs.
  • Delivery rule 16 says so (amended on the maintainer's request).
  • Specs: a measured bound cites three runs a side on the product's own path.

Proof

Replayed by hand on the 48 rows, not on a live lane. The mark fits 16 failed runs; 6 failed at the base too.

Written by an agent.

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@V3RON

V3RON commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

Slow-lane failures, 2026-10-27 .. 2026-11-25 (hardware-verifier runs ending fail)

Source: sub-agent transcripts in ~/.claude/projects/pitlane; PR facts from gh. * = my extra label preexisting (a bug already on main, not in the allowed list). Columns: date (UTC), PR, failing test / assertion, did the PR add the test (from gh pr diff; stack PRs diff vs their lower PR), what came next (hardware-fix implementer runs and what their commits touched), loop and end, class, evidence, 6a rerun-only-once-passes?, 6b fails at merge base? (y/n/u; u = unknown). inferred means not measured.

# date PR failing test / assertion PR added test? next (fix runs; commits touched) loop / end class evidence 6a 6b
1 10-30 17:52 1079 slow-android-smoke: cold lease boots...; idle-shutdown step :176 waitFor 60 s "device demoted to shutdown" file not in PR diff (exists at base) impl 17:56: no change; fails on origin/main too (#1087, out of scope) 1 failed run; merged 18:40 preexisting* implementer ran the test on origin/main: same failure n y
2 10-30 20:24 none (main 795733b) slow-android-smoke :176 same step n/a (post-merge main) none 1 run, no fix preexisting* known #1087 n y
3 10-30 20:44 1094 android-smoke cold lease "Timed out waiting for device to boot"; agent-device Android "device limit raised to 2" suite; gateway suite no (PR only bumps agent-device proxy in package.json) no hardware-fix run; no commits besides the bump run 1 of 4; merged 22:35 machine host load (verifier R2 notes load 12-40 on 12 cores, 15-min avg 120-233); R4 on origin/main fails same y u
4 10-30 21:37 1094 smoke #1087 :176; agent-device iOS teardown 5 s socket wait; gateway Android setLimits 30 s wait no none run 2 of 4 machine load avg 12/13.7/40 before runs; waits on daemon exit; R3 passed agent-device suite at same commit y u
5 10-30 22:03 1094 gateway Android warmUp: lease boot timeout (agent-device-targets.ts:154) no none run 3 of 4 machine load 13-33 (5-min 71-230); leftover qemu/netsimd ppid 1 n y
6 10-30 22:23 1094 same gateway Android warmUp boot timeout, run on origin/main + agent-device 0.21.32 no (run at main) none run 4 of 4; merged anyway machine fails the same on main, load 15-22 n y
7 11-01 18:17 1127 slow-android-tunnel: "...no reverse or forward rule is left" (:611) forward rule left yes (test added by PR) impl 18:21: tests only (android/index.test.ts R10 case, e2e read after reclaim); no src/ run 1 of 4; merged 19:18 test-wrong impl: release returns before reclaim; test read rules too early; later run passed that test with test-only commits u n
8 11-01 18:43 1127 tunnel beforeAll lease: Timed out waiting for device to boot (:102) test existed (file modified, title not added) - inferred none run 2 of 4 machine next run found emulator stuck in crash-report consent dialog (leftover dump in /tmp/android-*/emu-crash) n y
9 11-01 19:02 1127 same lease boot timeout (--bail=1) as above none run 3 of 4 machine verifier stack sample: qemu in CrashConsentProvider::showDialog; fixed later in #1186 n y
10 11-01 19:10 1127 "lone worker ... serves a page" lease failed: progress push, 213 s as above none; merged 8 min later run 4 of 4 unknown same assertion text as #1186 run (cause there: not reproduced, stale crash dump suspected); verifier said crash folder was empty u u
11 11-01 20:49 1186 android-smoke: cold lease ... leaves a dump in the shared crash database alone (:149) lease failed progress push yes (added by PR) impl 20:53: no repro in 3 runs; 1 commit (test-only, plants a crash dump crashpad accepts: separate defect at :178) 1 failed run, then pass 20:59; merged 21:08 flake did not reproduce in 3 reruns; passed on later run y n
12 11-02 10:58 1193 android-smoke :274 "daemon stop left the worker lock behind" yes (check added by PR) impl 11:00: 1 commit, test only (smoke waits for lock to go) 1 failed run, pass 11:03; merged 11:25 test-wrong daemon stop returns before lock folder is removed; test fixed u n
13 11-02 11:17 1197 slow-ios-slim: re-lease expected same UDID :252 got other yes (test in PR diff) impl 11:21: 1 commit, test only (wait for released device ready) 1 failed run, pass 11:23; merged 12:28 test-wrong impl: release returns before device is ready; second lease made a new device u n
14 11-02 19:51 1210 agent-device Android (5 fail: DEVICE_NOT_FOUND, 2 hook timeouts 300 s, restart open failed, port in use) + warm-pool Android 2 fail no (tests existed at base) impl 06:31: nothing committed, stopped; "no code cause found" 1 failed run; merged 11-04 13:14 with #1245 stack unknown impl blamed stray qemu/adb/daemons and load 9; but #1245 run 1 later found a src/ adb-server bug with the same symptoms (hook timeout, no Android driver) n u
15 11-03 17:53 1245 slow-agent-device Android leaseTtlCapMs 20000: afterEach hook timed out 300 s no (exists at base) impl 18:36: 10 commits: 2 src/ (adb-server leave, provision from baseline source) + fs size fix + 6 e2e/test run 1 of 3 (+1 pass between) unknown impl hypothesis (unproven): dispose reaps adb server, emulator respawns fork-server, next daemon sees port occupied; test alone passed twice y u
16 11-03 21:59 1245 slow-baseline emulator: ENOTEMPTY rmdir modem_simulator in teardown (env.ts:62) no (test modified, title not added) impl 05:53: 1 commit, test helper only (remove-home retries) run 2 of 3 test-wrong teardown raced an exiting emulator u u
17 11-04 05:57 1245 slow-warm-pool "warmPool.enabled false": no emulator online (:452) no (file not in diff) impl 06:41: 1 commit, test only (baseline test nukes its devices) run 3 of 3, then 2 passes; merged 13:14 test-wrong impl: leftover state from the baseline test that ran before it in the same lane y n
18 11-04 14:16 1258 slow-ios-audio: 2nd lease sim_volume stayed 60 (:129) yes (new file) impls 14:20, 16:49, 17:46: 4 src/ commits all reverted; then 1 test+docs commit (wait 120 s) 1 failed verifier run, pass 17:47; merged 18:11 spec impl measured volume arrives 45-110 s after boot; 30 s bound did not hold; maintainer decided 120 s n n
19 11-05 07:38 1290 slow-ios-window :71 DeviceHub selected simulator waitFor 30 s yes (new file) impl 07:41: 1 commit, test helper only (defaults read truncates UDID) 1 failed run, pass 07:48; merged 08:40 test-wrong defaults read truncated the UDID; daemon did select the simulator n n
20 11-05 20:13 1336 slow-ios-tunnel: test timed out 900 s, no output last 9 min yes (new file) impl 20:29: nothing committed; test-side commit f4e124c at 21:09 (servers drain sockets) 1 failed run, pass 21:09; merged 22:55 test-wrong fix commit is test-only; impl: hang intermittent, own rerun hung too n n
21 11-05 22:04 1346 slow-android-tunnel: caller adb connect waitFor 30 s (:347) yes (added by PR) no hardware-fix run; commit bc4457b 22:16 test(e2e) + e2e/helpers/cli.ts 1 failed run, pass 22:17; merged 22:55 test-wrong fix is test-only (test now leases a google_apis image); inferred from commit headline u n
22 11-08 13:56 1445 slow-ios-passthrough-signals: SIGINT exit 130 not 0; video not finalized yes (new file) src/cli/passthrough.ts commits 14:48, 15:04 (no hardware-fix tag) run 1 of 2 pr-bug src/ fixes followed n n
23 11-08 14:39 1446 slow-ios-window :67 clipboard "host change did not reach device" yes (title added by PR) impl 19:19: 7 commits: src/ (ios index.ts, coordinator) + test + fake cleanups run 1 of 2 pr-bug impl: cfprefsd overwrote the plist edit; driver now edits via defaults export/import n n
24 11-08 15:13 1445 same file, SIGTERM exit 143 not 0, no moov yes impl 15:16: 1 commit: src/cli/passthrough.ts + unit test + docs run 2 of 2, pass 15:23; merged 15:35 pr-bug impl: recorder finalizes only on SIGINT; CLI forwarded SIGTERM n n
25 11-08 16:12 1453 slow-agent-device iOS "keeps two same-named sessions apart": "agent-device too old for simlock" yes (title added by PR) impl 16:16: 1 commit, e2e test + helper + manual; no src/ 1 failed run, pass 17:30; merged 18:20 test-wrong impl: test drove agent-device not like a runner (lease id, backend) n n
26 11-08 19:14 1446 same clipboard test :67 (bail=1) yes same impl 19:19 (above); passed 20:04 run 2 of 2; merged 20:22 pr-bug same cause n n
27 11-12 10:16 1536 slow-ios-foldable B4: switch after fold open 4004 ms > 3000 (:449) yes (new file) impl 10:20: 1 test commit (wait for lit panel); 4 s miss not reproduced run 1 of 3 spec load 28-257; passes <3 s on rerun; bound later relaxed to 5 s with docs change y n
28 11-12 10:26 1536 same, 3860 ms (:450), load 125 yes impl 10:45: test bound 3 s -> 5 s + website doc; src/ capture watchdog (2 commits) run 2 of 3 spec same; bound changed in test and user doc y n
29 11-12 10:42 1536 B4 3727 ms and B6 log children end within 5 s (waitFor 5000) yes same impl 10:45; src/ vendor/screen-capture Panels.swift watchdog; passes 12:16, 13:04 run 3 of 3; merged 11-15 12:08 pr-bug B6 only ran here (earlier runs bailed); fixed by src/ watchdog commits n n
30 11-15 11:31 1559 slow-ios-foldable taps: ws 404 upgrade yes (title added by PR) impl 11:35: 1 commit, test + probe fixture; no src/ 1 failed run, pass 11:54; merged 12:08 test-wrong impl: 3 test defects (input module off, fixture), none in daemon n n
31 11-15 15:35 1573 slow-agent-device iOS fixture-app test: "connect proxy" REMOTE_SESSION_REQUIRED (helper agent-device.ts:173) no (file not in diff) impl 15:38: 1 commit, e2e helper names session run 1 of 5 machine reproduced outside lane with agent-device 0.21.36 alone; tool now needs a session n y
32 11-15 15:45 1573 iOS deviceSet default: DeviceHub clipboard sync disable failed no impl 16:03: no change, did not reproduce (105 s pass at same head) run 2 of 5 flake same head passed on rerun y u
33 11-15 16:06 1573 iOS "keeps two same-named sessions apart": agent-device 90 s timeout no impl 16:23: no change; passed alone 165 s at same head run 3 of 5 flake passed in lane run 2 and in rerun y n
34 11-15 16:29 1573 Android daemon-kill :507 next command exited 0 no impl 16:51: no change; test stale vs #1466 in base, fails on merge-base run 4 of 5 test-wrong impl ran it on merge-base worktree: same failure (#1577) n y
35 11-15 17:04 1573 iOS window clipboard cold+warm; same-sessions timeout; Android daemon-kill no impl 17:43: 1 hygiene commit (unrelated line limit); no fix run 5 of 5; PR closed 11-16 unmerged (superseded) unknown clipboard fails identically on base 6dcbd34 (measured), root cause not found n y
36 11-16 18:40 1610 slow-android-stream key-frame gaps 7305 ms > 5500 yes (added by PR) impl 18:44: no change (host load 20-23); test commit 18:50 + ADR docs 1 failed run, no later pass run; merged 19:28 spec same bound failed again in #1828 (5999 ms) and fixed by src/ constant 4 s->3 s + ADR text n n
37 11-16 21:30 1626 slow-baseline iPhone save: PROVISION_FAILED ENOENT LaunchServices csstore no (file not in diff) impl 21:31: src/drivers/ios/seeds.ts + unit test; plus 1 test commit 1 failed run, pass 21:45; merged 22:33 pr-bug impl: copy deleted the file then swapped it; src/ fix with red-first test n n
38 11-17 13:26 1660 slow-ios-input: makeAgent REMOTE_SESSION_REQUIRED; waitForFree 330 s devices none yes (new file) impl 13:34: 1 commit, test + helper only run 1 of 2 machine same agent-device 0.21.36 session requirement as #1573 two days earlier (fix there never merged) n n
39 11-17 14:48 1660 same test: waitForFree after close, devices none (:223) yes impl 14:59: 1 commit, test only run 2 of 2, pass 15:12; merged 15:32 test-wrong test assumed a warm replacement; no warm pool configured n n
40 11-19 12:53 1767 android-smoke cores test: DAEMON_STARTUP_FAILED worker lock (:415) yes (added by PR) impl 12:56: 1 commit, test only (stop first daemon) 1 failed run, pass 13:03; merged 13:37 test-wrong nuke helper left first daemon holding the worker lock n n
41 11-19 16:07 1773 fps-reader (not a slow-lane test), scroll cpu 22.3 vs before 21.4 yes (reader new in PR) impl 16:14: 2 commits, src/ vendor FrameSelection.swift (hash every 8th row) run 1 of 2 spec "cpu no higher than before" vs run spread 1.5 pts; impl: medians within spread u n
42 11-19 16:28 1773 same, scroll +0.6, animation +0.3 yes none after; merged 17:00 without a pass run run 2 of 2 spec verifier: gaps inside spread u n
43 11-24 12:55 1814 slow-ios-delete-after-shutdown: simctl create iPhone 18 Pro + iOS 18.0 SimError 403 yes (new file) impl 12:56: 1 commit, test only (pick supported pair) 1 failed run, pass 12:58; merged 13:06 test-wrong test paired incompatible device type and runtime n n
44 11-24 16:04 1828 slow-android-stream key-frame gap 5999 > 5500 no (test existed; PR modifies file) impl 16:45: 1 commit: src/ session.ts reset 4 s->3 s + unit test + ADR text 1 failed run, pass 16:48; merged 17:11 pr-bug the PR is the fix for #1762; first value not enough; src/ constant changed n y
45 11-24 18:21 1830 android-smoke cores: baseline save "device emulator-5588 not found" no (title existed; file modified) impl 18:26: 1 commit, test only run 1 of 3 test-wrong test saved baseline after daemon restart (withConfig) n u
46 11-24 18:59 1830 android-smoke two plain leases: log contains "snapshot boot fell back to cold boot" no impl 19:02: 1 commit, test only (use emulator log) run 2 of 3 test-wrong impl: warning is a >12 s timing guess; emulator log says snapshot loaded u u
47 11-24 19:12 1830 android-smoke cores: seed first boot not within 300000 ms no impl 19:20: no change; 2 reruns passed (5/5) run 3 of 3, pass 19:54; merged 11-25 12:35 flake not reproduced; home deleted so no evidence y u
48 11-25 07:24 1837 slow-seed-settle Android B13: no process names the device (:75) yes (new file) impl 07:26: 2 test commits (find emulator by console port, bound 0.5) 1 failed verifier run, pass 10:50; merged 12:35 test-wrong impl: qemu is not named by the avd; later lane runs missed the 0.25/0.75 bounds (spec) n n

Other verifier outcomes (same window, non-test-failure)

  • busy: 0 runs. unavailable: 15 runs (PRs 1036, 1079, 1077, none-PR, 1127, 1290, 1536, 1559 x2, 1620, 1627, 1683, 1684, 1694, 1776).
  • 1 of the 108 verifier runs (feat(daemon): a worker with real drivers holds a per-user lock #1193, 11-02 10:58) has no final text; its report is in a SubagentHandback tool call (read: fail, row above). The 11:03 run is the pass.
  • 44 passes. Replay-stage runs were excluded.

Item 7: loops with 3 or more failed verifier lane runs

Written by an agent.

@V3RON
V3RON added this pull request to stack #1857 November 25, 2026 13:15
…d commit, and deliver names where the load is
@V3RON
V3RON marked this pull request as ready for review November 26, 2026 22:15
@V3RON
V3RON merged commit 4b39322 into main Nov 26, 2026
49 of 53 checks passed
@V3RON
V3RON deleted the chore/pstack-slow-lane branch November 26, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant