feat(registry): index sync with Index-edge wire map and gem pin - #1097
Draft
gildesmarais wants to merge 23 commits into
Draft
feat(registry): index sync with Index-edge wire map and gem pin#1097gildesmarais wants to merge 23 commits into
gildesmarais wants to merge 23 commits into
Conversation
gildesmarais
marked this pull request as draft
August 22, 2026 14:11
This was referenced Aug 22, 2026
Draft
Draft
Replace sibling path pin with feat/registry-v1 branch so CI can bundle install without a checked-out html2rss repo.
Add sync policy, staging/promote flow, trust context verification, scrape policy guards, and seed bundle fixtures with updated registry sync specs.
Align Gemfile.lock with feat/registry-v1 b32ec095 for signed bundle verify and manifest-only catalog APIs.
Replace invalid skip_filter with add_filter so ruby and openapi CI jobs load spec_helper; keep html2rss on feat/registry-v1 until gem release.
gildesmarais
force-pushed
the
feat/registry-index-sync
branch
from
August 22, 2026 15:17
ad2a378 to
f03730c
Compare
…anch Enable Style/ItBlockParameter, normalize empty-string predicates, and adopt it blocks across registry config and transport helpers.
Promote StructuredData.deep_dup for shared cloning, add Store.manifest_mtime, and centralize registry status lookup helpers.
Unify official GitHub asset resolution, merge catalog rows with to_h, replace status.find duplication with status_entry_for, and memoize extra_allowed_hosts.
Cover channel allowlist via integration config load and table-drive SyncTransport version gate examples; adopt it blocks in registry specs.
Skipped: endless-method rubocop constraints removed net LOC win on configs.rb; root_metadata unchanged.
Use EXTRA_ALLOWED_HOSTS_CACHE instead of module ivars so thread-safety cops pass while keeping per-process host memoization for registry sync.
… Zeitwerk loading, and deduplicate calls
Stamp source/registry on catalog API rows in Index instead of cloning CatalogEntry with gem wire defaults after the domain-only hard break.
Keep the web branch lockfile on the latest feat/registry-v1 SHA after the gem phase commits.
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.
Summary
html2rss-configsgem with an on-disk registry index (Registry::Index,Registry::Store,Registry::Config) and wireGET /api/v1/configsthrough it.config/registries.yml,Registry::Sync,bin/registry-sync, seed bundle, background refresh, and staged promote / trust governance.source/registryon catalog API rows inapp/web/registry/index.rbafter the gemCatalogEntrydomain-only hard break (no cloning wire defaults onto gem types).html2rssinGemfile.lockto the feat/registry-v1 tip so CI tracks the coordinated gem refactor.sync_transport, catalog wire/load guards intoindex, centralize manifest I/O and test signing helpers; operator docs (docs/registry-go-live.md, sync runbook).Stack (registry v1)
Depends on html2rss #476 and html2rss-configs #317 signed release path.
Test plan
make readyinhtml2rss-webbundle exec rspec spec/html2rss/web/registry/(index, store, config, sync)source/registrywithout gemCatalogEntrywire kwargsbin/registry-syncagainst seed/fixture registries (dry run / promote path)GET /api/v1/configsreturns catalog rows after sync or seed loadspec/smoke/docker_spec.rbregistry-related checksfeat/registry-v1tip