This repository was archived by the owner on Nov 27, 2026. It is now read-only.
Repository navigation
fix: bump spec pin to v0.2026241.931 (schema 2026.240.1943 support) - #2
Merged
Merged
Conversation
The plugin-adb candy pinned spec v0.2026232.520 (schema max 2026.232.0520). The charly.yml schema migration to 2026.240.1943 (required by the GitClient spec cutover) makes the old pin reject every project config. Bump spec to v0.2026241.931 and sdk to v0.2026241.933. Build and tests pass.
Review — PASSHead SHA: Security screen: PASS — minimal dependency pin bump (sdk/spec to newer versions of the same modules); no scope mismatch, no secrets, no guardrail changes, no suspicious refs. Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
github-actions Bot
pushed a commit
that referenced
this pull request
Sep 7, 2026
…t fix) (#6) * re-pin spec+sdk to v0.2026250.x (wire compat with current charly; deploy:android preresolve decode fix) * fix: decode the deploy:android preresolve plans wire form (InstallPlanView) * fix: derive the nested android device parent container from Deploy.MemberOf * fix: derive the ${HOST_PORT:N} parent pod container from Deploy.MemberOf (shared androidParentContainer) The endpoint-device preresolve resolved the parent pod from the dotted deploy path only; a MemberOf-stamped leaf member with no dots (the bed's device-net under check-android-emulator-pod) wrongly reported the device as not nested under a pod. Reuse androidParentContainer (the same derivation as the in-pod device path, R3) so nested endpoint devices fall out of the loader's MemberOf stamp, with the dotted path as the fallback. Adds pure error-path tests for the HOST_PORT ref. * fix: retry the adb session screenrecord launch through the device-ready budget The adb session recorder starts at live-phase start and dials the resolved endpoint once: on a fresh emulator pod the phase can begin while the Android system is still booting, so the single launch attempt hit DeviceNotFound and the whole session produced an empty bracket (check-android-emulator-pod: [adb-session-stop] "evidence row missing; recorder never finalized"). startScreenrecord now retries the launch inside a bounded device-ready budget (default 90s, test-overridable), and honors done (phase stop) mid-wait with a clean early finalize instead of hanging. Adds offline-retry + abort tests with the fake device. * fix: finalize the evidence row when the session stop races the device dial The adb-session-stop gate polls the evidence row the detached recorder must finalize. When the stop (SIGTERM → done) arrives WHILE the recorder still blocks on the adb-wire dial (a fresh emulator pod’s published port may not answer for seconds), the runner’s TERM→KILL grace killed the recorder before its finalize ran — row missing, gate failed. The dial now races done: an abort mid-dial finalizes the artifact-less row (the same contract as the device-ready wait), so the stop step’s 20s poll always sees a row. * chore: re-trigger the validator on the named-destination body (E-4 red classes routed: spec#121 + plugin-check#36 + charly lane + fixture PRs #2/#5) * fix: gate the adb session screenrecord launch on the device display readiness The E-4 live bed (run 2026.250.1905) exposed a gap in the device-ready budget: the emulator's adb shell can answer while the display/media still boots, so a screenrecord launched then produces no capture file and silently exits, and the bracket dies with "evidence row missing after 20s (recorder never finalized)" — the recorder's start never succeeded ("screenrecord start: ... did not appear within 1m30s"). startScreenrecord now holds the launch behind a display-ready gate: it probes dumpsys display for the mState=ON marker (the signal the emulator prints once the surface is up) inside the device-ready budget before every launch attempt. A device that never brings its display up fails the start with an honest display-named budget error instead of burning a whole phase. Unit coverage: TestStartScreenrecordWaitsForDisplay (probes ride the offline + display-off rounds, the launch follows the ON probe), TestStartScreenrecordDisplayNeverReady (budget-exhaustion error), and the real-goadb wire test scripts the display marker (shellOut=mState=ON) so the whole bracket runs over the live wire. gofmt/vet/go test ./... all green. * fix: finalize the adb session evidence row BEFORE the device pull in the stop chain (R1) The adb-session-stop row gate failed live (check-android-emulator-pod, runs 2026.250.1940/2017/2027): "evidence row missing after 20s (recorder never finalized)" with a 0-byte recorder.log and an empty state dir. The runner's session stop is SIGTERM -> ProcessShutdownGrace (2s) -> SIGKILL, while the recorder's finalize chain (device SIGINT via pkill -> size-stabilize wait up to finalizeWait -> goadb GetFile pull) can exceed it — the recorder was SIGKILLed mid-pull, before finalizeSession wrote row.json. The row is now finalized FIRST (artifact-less; the absent artifact is the visible failure, the recorder contract) the moment done closes, so a stop raced by SIGKILL can never lose the row the stop gate polls; a completed pull then REWRITES the row with the mp4 artifact. New unit test TestRunSessionCaptureFinalizesRowBeforePull asserts the invariant: the row must exist while the pull is still blocked, then carry the artifact after it completes. * chore: re-trigger the validator on the green R10 body (calver 2026.250.2041, adb-session-stop PASS + row/mp4 evidence, head-proofed) --------- Co-authored-by: atrawog <[email protected]>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
The
plugin-adbcandy pinnedspecv0.2026232.520 (schema max 2026.232.0520). The charly.yml schema migration to 2026.240.1943 — required by the GitClient spec cutover (spec#65/#66) — makes the old pin reject every project config. Bumpspecto v0.2026241.931 andsdkto v0.2026241.933.How tested
Change classification
fully tested and validated—go build+go testpass on the final tree.Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)