Repository navigation
fix(ci): repair full release validation regressions - #117447
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 10:44 AM ET / 14:44 UTC. ClawSweeper reviewWhat this changesRepairs full-release validation by rejecting agent workspaces with no Git commit before worktree creation, extending a contention-prone memory-wiki test timeout, and replacing an iOS test’s busy yield loop with a bounded sleep-backed wait. Merge readinessKeep this member-authored, maintainer-labeled PR open for normal maintainer merge handling. The patch correctly distinguishes a Git directory without a commit from a usable worktree source, and its two remaining changes are bounded test-stability repairs; the exact-head release matrix is still running. Priority: P2 Review scores
Verification
How this fits togetherGateway session creation can provision a managed Git worktree from an agent workspace and returns a structured response to the connected client. The worktree service resolves and validates the source repository before a session is created, while the iOS and memory-wiki tests exercise release-validation paths around that runtime. flowchart LR
A[Agent workspace] --> B[Git checkout preflight]
B --> C[Repository validation]
C --> D[Managed worktree provisioning]
D --> E[Gateway session response]
F[Release test shards] --> G[Bounded waits and timeouts]
G --> H[Full release validation]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +14, Tests +22, Other 0. Total +36 across 5 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Let the exact-head release validation complete, then merge this narrow repair if it confirms the unborn-repository response and the two stabilized test paths without new failures. Do we have a high-confidence way to reproduce the issue? Yes—source-reproducible. An initialized repository without a commit passes the Is this the best way to solve the issue? Yes. The patch records the invalid repository state at the repository resolver, maps only that known condition to the established client error class, and keeps the remaining changes constrained to bounded test synchronization rather than product thresholds. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 40cc08e08d31. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
…up-ownership-20260801 * origin/main: fix(ci): repair full release validation regressions (#117447)
* fix(worktrees): reject repositories without commits * test(memory-wiki): allow agent isolation runtime * test(ios): await queued approval retry
…up-ownership-20260801 * origin/main: fix(ci): repair full release validation regressions (openclaw#117447)
Summary
Repairs three deterministic release-validation failures found by the full release pipeline on exact main SHA
355295bfef4abadeb94286dce2b911d12531b98b:git worktree addFailure evidence
Parent release validation: https://github.com/openclaw/openclaw/actions/runs/30702049252
canonical pending readback resumes queued watch decisionwriteCountremained0after the two-second busy waitINVALID_REQUEST; receivedUNAVAILABLEfromgit worktree addagainst an unbornHEADValidation
node scripts/run-vitest.mjs src/gateway/server.sessions.create.test.ts src/agents/worktrees/service.test.tsnode scripts/run-vitest.mjs extensions/memory-wiki/src/agent-vault-isolation.test.ts(234.13s cold; 152.51s warm)./node_modules/.bin/oxfmt --checkon changed TypeScript filesoxlinton changed TypeScript filesswiftformat --lint apps/ios/Tests/NodeAppModelInvokeTests.swift --config config/swiftformatgit diff --checkDirect SwiftLint on the existing large iOS test file reports 29 pre-existing file/type length and existing-line violations; this patch introduces none of them.
Release notes
No changelog entry: these are release-validation and test-harness repairs with no user-visible behavior change.