Repository navigation
fix(workspace): distinguish blocked roots from pull failures - #2634
Conversation
|
Hosted validation is complete. All functional/platform lanes passed: Python 3.10–3.13, BATS, macOS smoke, Ubuntu source-checkout, moving-provider source-checkout, integration, stable compatibility, all Pylint matrices, issue-branch policy, and release-train preflight. The only failure is the unrelated Security scanners lane: pip-audit reports the existing requirements-dev.txt pin pylint==3.3.9 as CVE-2026-114608, fixed in pylint 4.0.9. I have kept that dependency-security remediation out of this workspace-scoped PR; #2634 is not merge-ready until that baseline security finding is separately upgraded or explicitly waived. |
|
[docs drift, not inline-anchorable since the file isn't touched by this diff] This PR updates
That's now inconsistent with the rest of the documentation set this PR updates — required-root preflight refusals are rendered as |
|
Addressed the review findings in commit
Regression coverage now includes a wildcard-named linked worktree, an unrelated matching sibling, and a recreated stale registration. Local validation: 31 workspace-update tests, schema contract test, Pylint on changed Python files, JSON syntax, and all 25 help BATS tests pass. Hosted checks have restarted for the new head. |
|
The remaining red gate was the security scanner, not a test regression. It reported |
Summary
git pullfailures in text, JSON, exit status, and aggregate counts;Required preflight refusals now render as
BLOCKEDand count underblocked; optional refusals remainSKIP, and pull errors count underfailed. The command remains nonzero when eitherblockedorfailedis nonzero. JSON schema version 1 remains backward-compatible becauseblockedis additive.Validation
31 passed, 10 subtests passedforcli/python/base_projects/tests/test_workspace_update.pypylint cli/python/base_projects/workspace_update.py cli/python/base_projects/tests/test_workspace_update.py1835 passedPython tests via./bin/base-test1068BATS tests passed via./bin/base-testgit diff --checkDocumentation impact
Updated
.ai-context/COMMANDS.md,docs/command-reference.md,docs/workspace-manifest.md, anddocs/schemas/workspace-update.jsonto document the blocked/failed distinction and nested-worktree behavior.Fixes #2633