Repository navigation
fix(registry): bootstrap the registry index publish; reject pre-#1829 indexes (#1829) - #1833
Merged
Merged
Conversation
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.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #1831 (refs #1829).
After #1831 merged,
benchmark-build-comparison.ymlfailed: run 41253919253 reportedplatform/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@namesshards. Because the build failed, the new index was never deployed.Changes
FBUILD_MIRROR_MANIFEST_URLto the index committed atgithub.sha(raw.githubusercontent), so it builds against the same commit's index instead of the copy it is about to publish.RegistryClient::ownersnow reports an Index without@names-shards asIndexUnavailable("predates the registry index format") instead of a misleadingNotIndexed. A test covers it.manifest-v2-*, so this client never reuses an older cached document.soldr cargo test -p fbuild-packages-fetchpasses (251 tests), and clippy is clean.🤖 Generated with Claude Code