Repository navigation
fix(crabbox): seed unpublished Boat source from its base - #192164
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
5 tasks
* fix: keep CI preparation from changing Git hooks * chore: format CI preparation regression (cherry picked from commit 3bbbcd4)
Contributor
|
Codex review: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
This was referenced Nov 3, 2026
Baseline-Refresh: e1da6d1a5ea3e4e99db852170efb8632d3e7b459
Member
Author
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 11, 2026
…2164) * fix(crabbox): preserve Boat source and retained claim ownership * test(crabbox): avoid map spreads in source fixtures * fix(crabbox): restore Boat transport Git after source execution * test(crabbox): reproduce unpublished Boat source seeding * fix(crabbox): seed Boat capsules from the captured base * fix: keep CI preparation from changing Git hooks (openclaw#192138) * fix: keep CI preparation from changing Git hooks * chore: format CI preparation regression (cherry picked from commit 8c449fe)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
When origin does not contain the selected local commit, Boat cannot fetch it for exact-commit seeding if the source capsule exposes that commit as its transport HEAD. The existing full-file fallback preserves correctness but loses the seeded transfer path.
User Impact
Boat can seed from the captured base while the verified source capsule still supplies the selected local commit, dirty bytes, deletions and file modes to the payload.
Why This Change Was Made
After source selection, candidate index and bundle creation, the Boat caller selects the captured base as the disposable transport HEAD before staging is sealed. Original source identity, witness, candidate tree and carrier remain intact. Other providers and native Crabbox admission are unchanged; an unavailable captured base retains the existing fetch/fallback behavior.
Current candidate
230dc74bc4a86264fbb8a43d146cae4ab8c7a0c2integrates the frozen main baseline2ab28a6bcb5cc3ecc9d221b3c964de771a17e491. Its contribution against that baseline is five files, 62 additions and two deletions. The integration preserves upstream receiver EPIPE/lifetime handling and existing fixture fixes. The parent dependency, #191845, has merged.Evidence
The real wrapper/receiver regression failed against the original producer because native-boundary capture saw the origin-absent source commit instead of the base. It passed at original candidate
7739efb0d637314359bc004e96c6ea9eab61e45c(one selected test; 311 skipped).Original-head sibling transport cases covered Boat arbitrary commands and Git lifetime, AWS arbitrary commands, and Testbox captured-base behavior. A separate secretless native coherence-plan check selected the captured available base while preserving source, candidate, carrier and caller state.
Prior combined head
7cc112b991739e120b3b653e88a0013c3a167acapassed 18 selected wrapper/hook tests with 307 skipped, plus its scoped static checks. These remain prior-head evidence, not a current full-suite claim.At current
230dc74b, the advertised Boat alias, native Git lifetime, unpublished-source transport and graph cases passed: 4 tests, 308 skipped, in 95.93 seconds. The alias retains the upstream first-three-argument provider assertion; the graph case uses the upstream copied-Node/prefix-library fixture unchanged. No new workaround was added.Current scripts and test-scripts typechecks, scoped production/test lint, changed-file formatting, test-line allocation ratchet and diff checks passed. Root and independent review found no issues in the current contribution. Native preparation is
github_pending; hosted CI supplies broader current-head validation.Released Crabbox 0.83.0 completed a real Boat wrapper run from an unpublished local commit with a dirty overlay. The payload verified the selected source witness, a distinct carrier rooted at the captured base, dirty content, executable mode, deletion and an unchanged control file. It exited 0, released its workspace owner and left local HEAD/index/dirty content unchanged. The initial native stop returned an error; a separate targeted
stop --waitthen confirmed the same lease released. The exact VM was absent from all-state inventory and all owned local processes exited. The original failed aggregate receipt and successful cleanup reconciliation are retained separately.Current CodeQL passed all 7 checks. Current CI failed only the inherited test-line ratchet: actual merge
b531713ffffac48c45f0683bad6fd36a21e4cd2aand its base0c5c4754c33dd9a9e7f4eb4493d4472d458a4609both exceed their ceiling by 128 lines (6,635,227 / 6,635,099 versus 6,635,176 / 6,635,048). The contribution adds 51 test lines and an equal 51-line allocation; all five changed blobs match230dc74b. No baseline padding or rerun was applied.Limits
The selected wrapper tests use a fake provider with the real capsule and receiver; the released-client Boat run separately proves the live unpublished-source path. No full-wrapper or full-repository pass, throughput benchmark or long-duration qualification is claimed. The inherited test-line ratchet failure remains explicitly attributed above.
Related: #190941