pull-all and flake-update-cascade: skip a host-provided checkout #269
No reviewers
Labels
No labels
blocked
bug
decision
duplicate
enhancement
help wanted
invalid
landed?
question
ready-to-merge
stale
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/tools!269
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/skip-host-provided"
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?
pull-allandflake-update-cascadenow skip a checkout that has nooriginremote, naming it as host-provided, instead of failing on it. On a dev machine whose memory checkout is injected by the hypervisor,pull-allstops printing an error row for it andflake-update-cascadenever reaches a default-branch or forge-name lookup on it. Every other checkout is handled byte-for-byte as before, which the existing suites prove. The rule is inspection only: no registry field, no list to keep in sync. What proves it: 38 pull-all cases (3 new), the cascade suites, and two Go tests for the predicate and the preflight skip. If it is wrong, revert; the change only decides what gets skipped.Closes allod/tools#268
Refs allod/strategy#62
Risk
R2: a localized behavior change in two walkers, with the new predicate failing closed (a directory where
git remotefails is not treated as host-provided). The worst credible failure after validation is a checkout skipped that should have been pulled, visible in the tool's own output. Rollback is a straight revert.Validation
bash tests/workspace/pull-all.sh: 38 passed, including the exact skip row in both modes, exit status 0, and a non-repository directory not classified as host-provided.go vet ./... && go test ./...undernix develop: all packages ok; every cascade suite green includingexternal-remote.allod check: all 11 steps passed (9 checks built).git remoteand restoring the old check order each failed their new cases; all restored.