Skip to content

fix(rust): index provider catalog merges - #1362

Merged
0x4007 merged 1 commit into
rust-migrationfrom
codex/rust-catalog-discovery-20261105
Nov 5, 2026
Merged

0x4007 merged 1 commit into
rust-migrationfrom
codex/rust-catalog-discovery-20261105

Conversation

@0x4007

@0x4007 0x4007 commented Nov 5, 2026

Copy link
Copy Markdown
Member

Provider catalog discovery rescanned accumulated rows and reparsed both model IDs for every comparison. The merge now indexes exact UTF-16 IDs while preserving first-seen order, later-page replacement, and source rows.

In the native test profile, three 512-model discovery passes dropped from 16,449 ms to 174 ms of thread CPU (94.6x). This addresses a concrete catalog bottleneck found while investigating Cloudflare error 1102 on the candidate; live recovery will be checked after the exact-source build and deployment.

Validation: 59 catalog tests passed, including duplicate ordering and UTF-16 regression cases; an intentionally incorrect replacement failed the negative control. Rust structural quality, native checking, and native/WASM staged Clippy passed. No dependencies, runtime limits, or provider settings changed.

@ubiquity-os

ubiquity-os Bot commented Nov 5, 2026

Copy link
Copy Markdown

Important

Ownership check: this pull request is left open.

@0x4007
0x4007 merged commit 405b5bd into rust-migration Nov 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant