Repository navigation
Conversation
Contributor
Author
Review notesNot blocking, not verified. Each is one reviewer's claim.
Written by an agent. |
V3RON
marked this pull request as ready for review
October 13, 2026 15:26
…low lane (#477) Implements withSharedDaemon, makeAgent, newAgentToken, cleanupAgents and waitForAgentDevice. 15 failing -> 15 unproven: no agent-device build here, so the hardware run is left to the slow lane.
…n restart waits for exit; teardown kills leftover by marker; health wait (#477)
… backstop; 60 s agent CLI default; 90 s restart limit (#477)
…; e2e: pinned build check, fail fast on open, show health reply (#477)
…esult.data, as agent-device sends them; log an unusable or failed upstream reply (#477)
…SON; one progress line per test; last observed state on a free-wait timeout (#477)
… fixture app before snapshots on iOS (#477)
…ble, so the CLI runs its first command and prints the reason (#477)
…passed-through call (#477)
…as an open agent-device session requires; e2e: find a lease by its owner (#477)
… needs no app session (#477)
…p check names a missing Android helper; the build step is documented (#477)
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.
Closes #477
Status
Implement: done Review: round 1 + one review of the hardware fix loop, passed (text fixes unreviewed) Hardware: pass (run 20261013-164634, 30/30) Gate: waiting for the stack
Slow lane: the maintainer allowed it for every PR of this run.
Next: gh stack sync, then merge-pr.sh 509 for stack #508
SIMLOCK_E2E_AGENT_DEVICEset as the toolchain row says:scripts/slow-e2e.sh e2e/slow-agent-device.test.tspasses every test in the iOSdescribe. Checked: run 20261013-164634, 15/15.emulatorandadb, at least 12 GiB of RAM andSIMLOCK_E2E_AGENT_DEVICEset the same way: the same command passes every test in the Androiddescribe. Checked: run 20261013-164634, 15/15.SIMLOCK_E2E_AGENT_DEVICEunset, the same command writes<log>.exit0 and shows bothdescribes skipped. Checked: run 20261013-150830.SIMLOCK_E2E_AGENT_DEVICE=/nonexistent, the same command fails, naming/nonexistentin thebeforeAllfailure. Checked: run 20261013-150900.The real-device runs found five simlock defects, fixed here: the front refused the
backendthatconnect proxysends; it read agent-device's replies one level too high (result.data), which also affects #474's lease-end code;/healthanswered 503, so the CLI hid simlock's reason; a shardedtestnamed devices by id, not name; upstream failures were not logged. The agent-device build also needspnpm build:android.Assumptions
session listCLI call of about a second, so "the first no-session sample comes before the wipe" would fail on correct behaviour; the test asserts no sample that saw the session started after the wipe began, plus the first and last samples, which fails the same wrong behaviour.data.sessions,data.devices[].id) and simlock record fields (requesterId,deviceId) are read as the code shows them; the green stage confirms them on hardware.connect proxy --daemon-base-url <worker>/v1/agent-deviceonce, with its ownAGENT_DEVICE_STATE_DIRand token in env, and every command with--json; the output envelope{success,data,error}is read as agent-device's source shows it.waitForAgentDevicepollsGET /v1/agent-device/healthand accepts status 200 withok: true; the front relays the daemon's own/healthand adds noupstreamfield in code, so the spec'supstreamcheck cannot be made.connect proxysends for the platform (ios-instanceon iOS,android-instanceon Android) and forward it unchanged; any other backend is still refused.Review
Spec review: 2 blocking, 2 fixed, 1 notes. Code review: 4 blocking, 4 fixed, 3 notes. Claims review: 2 blocking, 2 fixed, 1 notes.
Rounds: 1. Tokens: 20.8M.
Fixed unreviewed: the round 1 test fixes, and the review of the fix loop's text fixes (run artifacts removed,
.agent-deviceignored, two tests, one comment). The fix loop's commits had no review per fix, at the maintainer's request; one review covered them all.Rejected:
e2e/helpers/env.tsrestart()has no timeout of its own — duplicate of a spec finding, fixed under ite2e/slow-agent-device.test.tsshort sample gap stays green — not blocking: Assumption 1 accepts ite2e/slow-agent-device.test.tssession listexit code unchecked — not blocking: weakens no stated checktoolchain.mdpackage.json names only a short hash — not blocking: still true via vendor/README.mde2e/helpers/env.ts:384restartStepskeeps running after the 90 s limit — not blocking: slow-lane helper, teardown onlysrc/agent-device/front/request-rules.ts:236emulator name fallback may match another agent's emulator — not blocking: speculativeWritten by an agent.