Skip to content

fix: restore public model metadata validation - #190246

Merged
vincentkoc merged 1 commit into
mainfrom
fix-public-model-runtime-fixture-20261101
Nov 1, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix-public-model-runtime-fixture-20261101

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes Gateway model-catalog E2E validation rejecting intentional public implicit-runtime metadata.

User Impact

No product behavior changes. The authenticated models.list scenario continues checking model metadata, invalid parameters, and exclusion of provider credentials, endpoints, and the configured secret canary.

Why This Change Was Made

Related: #190065

Expect agentRuntime to identify the implicit OpenClaw runtime in the existing positive assertion. Remove only that field from the private-field exclusion loop; keep the original 30-second deadline.

Evidence

  • An instrumented baseline using a longer deadline reaches the original assertion and reproduces the forbidden-agentRuntime failure through a real isolated Gateway.
  • The repaired complete scenario passes with its original 30-second deadline: 1 test, 21.23 seconds total, 11.96 seconds in the test.
  • The first cold baseline timed out before reaching the metadata assertion. That startup qualification gap is recorded separately; this change does not claim to repair cold startup.
  • Targeted TypeScript, type-aware lint, formatting, and whitespace checks pass; the temporary compiler configuration was removed.
  • Fresh exact-range independent review found no actionable issues; security cleared. The reviewer did not execute tests; Gateway execution proof is separate.

@vincentkoc vincentkoc self-assigned this Nov 1, 2026
@clawsweeper

clawsweeper Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@vincentkoc
vincentkoc marked this pull request as ready for review November 1, 2026 10:50
@vincentkoc
vincentkoc enabled auto-merge (squash) November 1, 2026 10:52
@vincentkoc
vincentkoc merged commit e280c99 into main Nov 1, 2026
128 checks passed
@vincentkoc
vincentkoc deleted the fix-public-model-runtime-fixture-20261101 branch November 1, 2026 10:59
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 2, 2026
RomneyDa added a commit that referenced this pull request Nov 16, 2026
Backport the canonical follow-up to #190065. Keep provider secret exclusions while asserting the public implicit runtime contract.

(cherry picked from commit e280c99)

Co-authored-by: RomneyDa <[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