Skip to content

fix(test): align Decision fixtures with admitted request contracts - #197718

Merged
roboclaw-bot merged 2 commits into
mainfrom
openclaw/salty-shrimp
Nov 12, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
openclaw/salty-shrimp

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes two OpenAI Decision integration cases that still expect the network and in-flight admission behavior removed by #197615.

User Impact

No production behavior changes. Private-network opt-out, host rejection of retired results, usage suppression, cancellation, and request cleanup remain covered.

Why This Change Was Made

The private-denied case now explicitly opts out of configured-origin private-network trust. The retired case permits its already-admitted HTTP request to finish after DNS while still requiring an unavailable/retiring result, no usage events, and zero active requests. This follows #197615's documented owner contract rather than restoring a second post-DNS authority gate.

Evidence

  • Original failures: full run 43200278595, job 131122104766.
  • Real remote red/green on an isolated AWS Crabbox, pinned base e6113549fe8800b4c736c5e8a131b47f2e015143, frozen dependencies and the repository-pinned Bun runtime: pnpm test src/agents/decision-inference.openai.integration.test.ts --maxWorkers=1 reproduced exactly 2 failures and 6 passes before the change; the reviewed patch passed all 8 cases in 16.25 seconds. The maintained runner built and verified its compiled-worker graph (20,023 inputs; 24,679 outputs).
  • The tested file's Git blob is b7a92ec75da39988484993ae5d3cd60597d471fc, identical to published head 780d002042989fbcddedecb05fdeb51c8b1cac5e. Only this integration test changes, net +3 test lines.
  • Focused lint passed with no problems in one file; its package-boundary preparation emitted 14,333 declaration files. Focused formatting and diff checks passed. Fresh independent canonical review is scoped-clean through P2.
  • Retained tooling failure: the optional pnpm check:changed --base HEAD stopped in the unchanged repository-wide SQLite-worker ratchet after a 4 GiB Node heap OOM. It is not a passing static/typecheck result. Remaining gates require exact-head PR CI; no assertion, deadline, heap limit, or CI guard was weakened. An initial nonexistent config selection failed before tests and was corrected to the maintained named-file entry point.

Contributor credit: @obviyus and @steipete.

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:23
Match the transport contract from #197615: explicitly opt out of private-origin trust for the denied route, and allow the already-admitted retired request to finish while retaining host rejection, usage suppression, and request settlement checks.

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

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: 1350869c-60a2-8c3a-bcb8-4f9d4a5a830a
@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.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: XS labels Nov 12, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review November 12, 2026 12:19
@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) November 12, 2026 12:21
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 12, 2026
@roboclaw-bot
roboclaw-bot merged commit a03d3ee into main Nov 12, 2026
191 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/salty-shrimp branch November 12, 2026 12:31
@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
…penclaw#197718)

* test(agents): align OpenAI Decision authority fixtures

Match the transport contract from openclaw#197615: explicitly opt out of private-origin trust for the denied route, and allow the already-admitted retired request to finish while retaining host rejection, usage suppression, and request settlement checks.

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>

* fix(test): align Decision fixtures with admitted request contracts

Worked on by:
- @obviyus
- @steipete

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: 1350869c-60a2-8c3a-bcb8-4f9d4a5a830a

---------

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

Labels

agents Agent runtime and tooling clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant