fix(agent): the sandbox is tried on the game files, and they are copied when it can't see them #171

Merged
HumanBean merged 1 commit from HumanBean/Beanstalk:fix/game-copy-probe into main 2026-11-29 23:45:28 +00:00
Owner

What

Follow-up to #170. On nightly-291 the same Windows tester (agent-65553b) still stops with game_not_found, and its job log shows no copy was made: #170's check (can this account change the files' permissions?) passed, yet the sandbox still can't see the files.

Change

On Windows the agent now asks the sandbox itself: it runs attrib <game files> in it, with the files read-only (what every build does), before deciding. If the sandbox says its grant was refused (@@sandbox note) or attrib can't see the files, the files are copied into <data>\builder\game-copy\ as in #170. The permission check stays as a second test. The job log says which way it went and why (the sandbox's note, scrubbed), so a tester that still fails shows its real cause.

Not run locally

Not built or run on this PC; CI's "Agent build and checks" compiles it. The next farm run on agent-65553b is the check.

🤖 Generated with Claude Code

## What Follow-up to #170. On nightly-291 the same Windows tester (`agent-65553b`) still stops with `game_not_found`, and its job log shows no copy was made: #170's check (can this account change the files' permissions?) passed, yet the sandbox still can't see the files. ## Change On Windows the agent now asks the sandbox itself: it runs `attrib <game files>` in it, with the files read-only (what every build does), before deciding. If the sandbox says its grant was refused (`@@sandbox` note) or `attrib` can't see the files, the files are copied into `<data>\builder\game-copy\` as in #170. The permission check stays as a second test. The job log says which way it went and why (the sandbox's note, scrubbed), so a tester that still fails shows its real cause. ## Not run locally Not built or run on this PC; CI's "Agent build and checks" compiles it. The next farm run on `agent-65553b` is the check. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(agent): the sandbox is tried on the game files, and they are copied when it can't see them
Some checks failed
CI / Conventional Commit title (pull_request) Successful in 9s
CI / Workflow lint (actionlint) (pull_request) Successful in 10s
CI / Agent build and checks (pull_request) Successful in 1m35s
CI / Coordinator tests (pull_request) Failing after 1m50s
CI / Coordinator image (pull_request) Successful in 15s
fb8496bcce
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Beanstalk!171
No description provided.