Repository navigation
fix(test): align Decision fixtures with admitted request contracts - #197718
Merged
Merged
Conversation
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
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. |
roboclaw-bot
marked this pull request as ready for review
November 12, 2026 12:19
roboclaw-bot
enabled auto-merge (squash)
November 12, 2026 12:21
Collaborator
Author
|
Merged via squash auto-merge.
|
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]>
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
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
e6113549fe8800b4c736c5e8a131b47f2e015143, frozen dependencies and the repository-pinned Bun runtime:pnpm test src/agents/decision-inference.openai.integration.test.ts --maxWorkers=1reproduced 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).b7a92ec75da39988484993ae5d3cd60597d471fc, identical to published head780d002042989fbcddedecb05fdeb51c8b1cac5e. Only this integration test changes, net +3 test lines.pnpm check:changed --base HEADstopped 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