Repository navigation
fix: keep Baseten admission tests within plugin boundaries - #190958
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
Contributor
Author
|
Fixed: Baseten admission coverage uses permitted plugin entrypoints while preserving all five scenarios and their deadline. |
shannon0430
added a commit
to shannon0430/openclaw
that referenced
this pull request
Nov 2, 2026
Official-commit: 50f8685
shannon0430
added a commit
to shannon0430/openclaw
that referenced
this pull request
Nov 2, 2026
Official-commit: 50f8685
shannon0430
added a commit
to shannon0430/openclaw
that referenced
this pull request
Nov 2, 2026
Official-commit: 50f8685
This was referenced Nov 2, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 3, 2026
…190958) Keep Baseten admission coverage on permitted plugin entrypoints while preserving its existing deadline and admission controls.
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
The extension test boundary check fails because the Baseten admission integration test imports a private plugin runtime for warmup. This host integration suite legitimately exercises public Baseten registration together with core preparation, DNS admission, credentials, usage accounting, and transport cleanup.
User Impact
Restore the test boundary while preserving all five admission scenarios and their existing 5000 ms evaluation deadline. This changes test setup only; production provider loading, authentication, and configuration stay unchanged.
Why This Change Was Made
Remove the private runtime import and its comment, allowing the registered provider to load its runtime through its existing lazy evaluator. Remove the obsolete two-line warmup allocation while retaining the original 334-line composition allocation. No new public export, test API, guard exception, or timeout allowance is needed.
Evidence
The unchanged boundary suite reproduced the private import as its sole failure before this change: 10 passed, 1 failed. With the correction, all 11 cases passed. Changed-file format/lint and the selected root test type graph also passed.
All five existing composition cases passed on Node first, then Bun: allowed requests, auth reflection, configured-header reflection, replaced credentials, and cancellation during physical release. The original DNS, auth, usage, release, and cleanup assertions remained intact. File wall times were 65.71 seconds on Node and 23.70 seconds on Bun; first-case totals were 8.10 and 5.47 seconds, including preparation outside the evaluation deadline.
These runs used fresh test processes and per-runtime transform caches on a 32-CPU Linux runner, with retained compiled workers, dependencies, and operating-system caches. They do not explain the earlier deadline failure in a 71-file cohort on a 4-CPU runner. That historical cause remains unknown. Hosted CI passed, including all five admission cases in its selected Bun lane on a 2-CPU runner and all 11 boundary cases. The separate Node proof above covers all five cases. Independent engineering review completed without findings.