Skip to content

fix: merge admission tests fail after local-only Git guard - #197709

Merged
roboclaw-bot merged 2 commits into
mainfrom
openclaw/amber-barnacle-4
Nov 12, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
openclaw/amber-barnacle-4

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes: ten merge-admission test cases fail at initial Git capability checks instead of exercising their intended final authority and local-only verification boundaries after #197631.

User Impact

No user-visible runtime change. The tests again reach and verify their final merge-safety boundaries without weakening the production Git guard.

Why This Change Was Made

Activate prior-CI fault injection at the existing final observation rather than before initial commit acquisition, and let the Crabbox fake Git accept the legitimate version prerequisite. Production --no-lazy-fetch checks, refusal/redaction/no-dispatch assertions, live-authority rechecks, and deadlines remain unchanged. No new helper or production state; two test files only, +13/-9 lines (net +4), with no baseline or allocation changes.

Evidence

  • Original scheduled failure: run 43191498858, head 385ca485142a33fad6de080bcbb2db01bfe3fe4d; jobs 131092424965 and 131092425038.
  • Reproduced through both maintained test entry points on untouched base 83e3641e092125c009d3421e60560fda8af75c86: 10 failed, 96 passed, 200.35s. The failures stopped at capability/acquisition instead of the intended final boundary.
  • Final patched files: 106/106 passed, 220.58s; focused boundary selection 15/15 passed. Node 26.12.1, Git 2.53.0, pinned Vitest 5.0.5.
  • Type-aware oxlint 1.89.0: no problems in either changed file; tooling-root tsgo typecheck, official formatting, git diff --check, and the unchanged test-line ratchet all passed.
  • Author simplification pass complete: reuse the existing observation owner; no production machinery or duplicate tests added.
  • Independent autoreview of the complete local snapshot against the base above, subsequently committed unchanged as c5e57d94f96072449fd6271b935b3e4d1777f175: Codex GPT-6.1 Sol, P0–P2, one complete pass, scoped-clean with no findings. Complete unchanged fixture/production contracts supplied; reviewer did not execute tests. Local ClawSweeper was outside this session's permitted workspace, so the documented autoreview fallback was used; hosted review remains to be requested/observed when ready.
  • No claim that broader scheduled-main CI is green; exact-head hosted gates remain to be verified.

Contributor credit: @vincentkoc.

Work sessions

Linked for team reference; these sessions aren’t public.

Worked on by

roboclaw-bot and others added 2 commits November 12, 2026 11:28
Activate prior-CI probe faults only at the final observation and accept the legitimate Git version prerequisite in the Crabbox fixture. Preserve all production guards and final-boundary assertions.

Co-authored-by: vincentkoc <[email protected]>
Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: e35c50b8-51d8-81a8-93ad-900b89246ec1
@clawsweeper

clawsweeper Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) November 12, 2026 11:55
@roboclaw-bot
roboclaw-bot merged commit ebdac54 into main Nov 12, 2026
72 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/amber-barnacle-4 branch November 12, 2026 11:59
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash auto-merge.

steipete added a commit that referenced this pull request Nov 12, 2026
Resolve the Git-admission and Decision fixture overlaps using exact main versions from #197709 and #197718. The remaining two-file worker fixture diff passes fresh focused integration proof and isolated P2 review.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 13, 2026
…197709)

* fix: restore final merge admission fixture coverage

Activate prior-CI probe faults only at the final observation and accept the legitimate Git version prerequisite in the Crabbox fixture. Preserve all production guards and final-boundary assertions.

Co-authored-by: vincentkoc <[email protected]>

* fix: merge admission tests fail after local-only Git guard

Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: e35c50b8-51d8-81a8-93ad-900b89246ec1

---------

Co-authored-by: vincentkoc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant