Skip to content

fix(registry): bootstrap the registry index publish; reject pre-#1829 indexes (#1829) - #1833

Merged
zackees merged 1 commit into
mainfrom
fix/registry-index-bootstrap-1829
Nov 1, 2026
Merged

zackees merged 1 commit into
mainfrom
fix/registry-index-bootstrap-1829

Conversation

@zackees

@zackees zackees commented Nov 1, 2026

Copy link
Copy Markdown
Member

Follow-up to #1831 (refs #1829).

After #1831 merged, benchmark-build-comparison.yml failed: run 41253919253 reported platform/atmelavr is not in fbuild's registry index. That workflow builds before it publishes Pages, so it resolved against the pre-#1829 Index still on Pages, which has no @names shards. Because the build failed, the new index was never deployed.

Changes

  • Workflow: the benchmark workflow sets FBUILD_MIRROR_MANIFEST_URL to the index committed at github.sha (raw.githubusercontent), so it builds against the same commit's index instead of the copy it is about to publish.
  • Error for old indexes: RegistryClient::owners now reports an Index without @names- shards as IndexUnavailable ("predates the registry index format") instead of a misleading NotIndexed. A test covers it.
  • Cache file: the manifest cache is now manifest-v2-*, so this client never reuses an older cached document.

soldr cargo test -p fbuild-packages-fetch passes (251 tests), and clippy is clean.

🤖 Generated with Claude Code

 indexes (#1829)

The benchmark workflow publishes Pages but builds first, so after #1831 it
resolved against the still-published pre-#1829 Index (no @NAMEs shards) and
failed with 'platform/atmelavr is not in fbuild's registry index', which in
turn blocked the deploy of the new index.

- benchmark-build-comparison.yml resolves against the index committed at
  github.sha (raw.githubusercontent), not the copy it is about to publish.
- An Index without @NAMEs shards is reported as IndexUnavailable for
  owner-less specs instead of a misleading NotIndexed.
- The manifest cache file is versioned (manifest-v2-*) so an older cached
  document is not reused by this client.
@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@zackees
zackees added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 1aa55f7 Nov 1, 2026
29 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 1, 2026
@zackees
zackees deleted the fix/registry-index-bootstrap-1829 branch November 5, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant