Skip to content

fix(ci): settle catalogs before xAI fallback requests - #200495

Merged
vincentkoc merged 1 commit into
mainfrom
fix/session-registration-witness-20261117
Nov 17, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/session-registration-witness-20261117

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

The xAI fallback integration test can start chat requests while background catalog discovery is still creating the same agents’ databases. That legitimately invalidates the request’s earlier session snapshot, so CI fails before exercising the provider fallback behavior.

User Impact

No product behavior changes. The test waits for its catalog setup to finish before checking xAI rejection priority and fallback recovery.

Why This Change Was Made

Use the existing prepared-runtime catalog owner to settle discovery and persistence for all 18 scenario agents before subscribing or sending. This follows the sibling CLI-auth fixture and preserves the production authorization check and no-replay policy.

Evidence

  • The exact pinned-Bun integration case passed all 18 scenarios locally; assertions and timeouts are unchanged.
  • Exact-head Linux CI passed the xAI fallback case in 42.361 seconds.
  • Targeted lint, typecheck, formatting, and diff checks passed.
  • Independent full-context review found no actionable findings.
  • The investigation in chore(ci): diagnose session facts read failures #200472 traced the conflicting database registrations to catalog persistence.

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

clawsweeper Bot commented Nov 17, 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 17, 2026 08:13
@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: XS labels Nov 17, 2026
@vincentkoc
vincentkoc enabled auto-merge (squash) November 17, 2026 08:20
@vincentkoc
vincentkoc merged commit 8d0f33f into main Nov 17, 2026
185 of 186 checks passed
@vincentkoc
vincentkoc deleted the fix/session-registration-witness-20261117 branch November 17, 2026 08:25
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

RomneyDa added a commit that referenced this pull request Nov 17, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gateway Gateway runtime size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant