R33 — ensure_avd writes CI's RAM/disk pins to a hardcoded path and never checks the write #42

Closed
opened 2026-08-23 03:44:55 +00:00 by JMR-dev · 1 comment
JMR-dev commented 2026-08-23 03:44:55 +00:00 (Migrated from github.com)

Finding R33 from the overnight max-effort review (Fable lead, Opus sub-agents). Full report: scratchpad/overnight/REVIEW.md.

R33 — ensure_avd writes CI's RAM/disk pins to a hardcoded path and never checks the write

severity: low
verdict: CONFIRMED
where: tools/local-emulator/run-e2e.sh:148-150 (main) / :217-219 (branch)
scenario: With ANDROID_AVD_HOME/ANDROID_SDK_HOME set, sed -i fails on a nonexistent $HOME/.android/avd/... config.ini, the script continues (no set -e), the level silently runs at default RAM/userdata — and CI history shows the un-pinned failure mode ("not enough space") reads as a device problem.
evidence: Code read; no existence or status check; unconditional printf append after.
fix: [ -f "$cfg" ] || fail the level; derive from ${ANDROID_AVD_HOME:-$HOME/.android/avd}. Decide fail vs fall back to -memory/-partition-size flags.
risk: None.


Cut: above — worked autonomously overnight.

🤖 Generated with Claude Code

_Finding **R33** from the overnight max-effort review (Fable lead, Opus sub-agents). Full report: `scratchpad/overnight/REVIEW.md`._ ### R33 — ensure_avd writes CI's RAM/disk pins to a hardcoded path and never checks the write severity: low verdict: CONFIRMED where: tools/local-emulator/run-e2e.sh:148-150 (main) / :217-219 (branch) scenario: With ANDROID_AVD_HOME/ANDROID_SDK_HOME set, sed -i fails on a nonexistent $HOME/.android/avd/... config.ini, the script continues (no set -e), the level silently runs at default RAM/userdata — and CI history shows the un-pinned failure mode ("not enough space") reads as a device problem. evidence: Code read; no existence or status check; unconditional printf append after. fix: [ -f "$cfg" ] || fail the level; derive from ${ANDROID_AVD_HOME:-$HOME/.android/avd}. Decide fail vs fall back to -memory/-partition-size flags. risk: None. --- **Cut:** `above` — worked autonomously overnight. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
JMR-dev commented 2026-08-23 05:21:41 +00:00 (Migrated from github.com)

Fixed in #47 (merged). Validated with two stub harnesses rather than a sweep — shellcheck is not installed on this host, and no emulator was booted.

Fixed in #47 (merged). Validated with two stub harnesses rather than a sweep — shellcheck is not installed on this host, and no emulator was booted.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: JMR-dev/LibreMediaConverter#42