Skip to content

fix(ci): align catalog latency test with export policy - #204739

Merged
vincentkoc merged 1 commit into
mainfrom
fix/ci-session-catalog-export-policy-20261124
Nov 24, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/ci-session-catalog-export-policy-20261124

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Related: #204558

What Problem This Solves

The scheduled main CI catalog test rejects valid shared-session rows because its exact expected result omits the receiver-added export policy.

User Impact

This restores the catalog latency regression check. Runtime behavior is unchanged.

Why This Change Was Made

Keep the peer fixture unchanged and include exportPolicy: { origin: "federated", automatic: false } in the expected Gateway response. The existing exact row comparison, latency, coalescing, viewer filtering, refresh-error, and offline assertions remain.

Evidence

  • Scheduled main failure: the assertion at line 678 rejects the added export policy. The job also reached its 60-minute limit; this patch addresses the assertion failure.
  • Unmodified focused case reproduced the same failure locally: 1 failed, 14 deselected.
  • Updated src/gateway/server-methods/session-catalog.test.ts: all 15 tests passed (6.76s Vitest; 9.41s wrapper).
  • Targeted lint, formatting, Gateway-method test typecheck, and git diff --check passed.
  • Full local ClawSweeper review of 705176e60fcb4277de4fadef7e900f82e8ae0547..ff81fdb8b2809bdc790064b907f6e7ba01fc07d3: no findings; security cleared.

The receiver adds federated export provenance to shared catalog rows. Include it in the existing exact row assertion while retaining the unchanged peer fixture and latency, coalescing, and failure checks.

Related: #204558

Validated: original focused case reproduces the scheduled CI failure; all 15 catalog Gateway tests pass with the updated expectation. Targeted lint, format, and Gateway-method test typecheck pass.
@clawsweeper

clawsweeper Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@vincentkoc vincentkoc self-assigned this Nov 24, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review November 24, 2026 15:47
@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: XS labels Nov 24, 2026
@vincentkoc
vincentkoc enabled auto-merge (squash) November 24, 2026 15:51
@vincentkoc
vincentkoc merged commit 4c68c0b into main Nov 24, 2026
175 checks passed
@vincentkoc
vincentkoc deleted the fix/ci-session-catalog-export-policy-20261124 branch November 24, 2026 15:57
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

vincentkoc added a commit that referenced this pull request Nov 24, 2026
The receiver adds federated export provenance to shared catalog rows. Include it in the existing exact row assertion while retaining the unchanged peer fixture and latency, coalescing, and failure checks.

Related: #204558

Validated: original focused case reproduces the scheduled CI failure; all 15 catalog Gateway tests pass with the updated expectation. Targeted lint, format, and Gateway-method test typecheck pass.
(cherry picked from commit 4c68c0b)
vincentkoc added a commit that referenced this pull request Nov 24, 2026
The receiver adds federated export provenance to shared catalog rows. Include it in the existing exact row assertion while retaining the unchanged peer fixture and latency, coalescing, and failure checks.

Related: #204558

Validated: original focused case reproduces the scheduled CI failure; all 15 catalog Gateway tests pass with the updated expectation. Targeted lint, format, and Gateway-method test typecheck pass.

(cherry picked from commit 4c68c0b)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 25, 2026
The receiver adds federated export provenance to shared catalog rows. Include it in the existing exact row assertion while retaining the unchanged peer fixture and latency, coalescing, and failure checks.

Related: openclaw#204558

Validated: original focused case reproduces the scheduled CI failure; all 15 catalog Gateway tests pass with the updated expectation. Targeted lint, format, and Gateway-method test typecheck pass.
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