fix(agent): check that git in the sandbox can read the checkout before a build, and say git's own error #110
No reviewers
Labels
No labels
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Beanstalk!110
Loadingβ¦
Reference in a new issue
No description provided.
Delete branch "HumanBean/Beanstalk:fix/sandbox-git-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
One Windows tester has failed all 79 of its jobs since Nov 18 at the main base, with only this to go on:
Longshot's packs tool keeps git's stderr to itself, so the report never says why. It was the same with the old
dev_packs.py(git -C Z:\longshot diff HEAD, exit 128), so this isn't from thedev.pyswitch. And each failure took up a job for that PC as if the PR's build had failed.What changes:
git rev-parse --verify HEAD^{commit}in the checkout (Workspace.CheckGitAsync).InfraException, not passing), and the job goes to another tester. The error carries git's own last lines, the exit code, whether Python can read.git,.git/HEADand.git/objectsthere, and git's version. It also tells the tester the command to try themselves.Tests: a new "git check" group in the agent core checks:
The embedded Python passes
ast.parse. Nothing was built or run on this PC, so CI builds and runs the checks on Linux and Windows.The docs' agent pipeline (
docs/architecture.md, step 3) mentions the check.π€ Generated with Claude Code
Possibly related, for context:
WIP: fix(agent): check that git in the sandbox can read the checkout before a build, and say git's own errorto fix(agent): check that git in the sandbox can read the checkout before a build, and say git's own error