You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(catalog): keep official plugin releases available for version pins - #23
When a new official plugin release replaces the previous one in discovery, a fresh deployment loses the catalog metadata it needs to install the older version. This change lets operators reproduce a pinned install after discovery advances.
The publisher writes an immutable descriptor under releases/<plugin-id>/<version>.json alongside the current index. Each descriptor records the source release, platform assets, checksums and signature bundle. Repeating the same publication succeeds. A changed descriptor for an existing version is refused. The current index records withdrawals so administrators can stop new installs of a withdrawn release.
The backfill covers 32 signed releases across 14 first-party repositories. Current discovery stays compatible with existing Silo servers. Publish these descriptors before releasing exact-version provisioning in the server.
Validation
go test ./..., go vet ./... and go build ./... passed. gofmt -l . reported no files. In a fresh two-replica server sandbox, discovery advertised OIDC 0.1.2 while the candidate catalog supplied the 0.1.1 descriptor. Silo fetched the official binary and verified its signature before installing it. The package then served sign-in through Authelia.
Risks
Withdrawing a release prevents a new provisioning install from selecting it. Deployments that already hold a verified archive can continue to use it offline.
Checklist
I read and can explain the diff.
This pull request addresses one concern.
AI Disclosure
Harness: OpenAI Codex in T3 Code, Claude Code, and Antigravity
Tool(s): Codex, Claude Code, Antigravity, and GitHub CLI
Council: Opus 5.5 and Neon, 1 round on the catalog, reviewed 7d57026
Model(s): gpt-6.2-astra, gpt-6.2-sol, claude-fable-5-2, claude-opus-5-5, and gemini-4-neon
Involvement: AI-assisted
Adversarial review: Opus and Neon independently checked release identities, asset URLs, checksums, and agreement between the current index and all 32 descriptors. Neither reported a catalog defect.
Note
Keep official plugin releases available for version pins via immutable release descriptors
Adds per-version release descriptors under releases/ and backfills manifests for many official plugins, so older pinned versions stay installable
The update-catalog tool gains -history-only (backfill descriptors without changing the current index) and -withdraw (mark a release withdrawn) flags; withdrawal rejects combined use with history-only or rollback
Releases now require checksums.txt, store per-binary SHA-256 digests, release tag, and source commit in the catalog; descriptor publication is immutable — republishing succeeds only with byte-identical content
Index writes go through a same-directory temp file and os.Rename, and duplicate release assets (same platform, bundle, or checksums) are rejected during parsing
Behavioral Change: -withdraw and -history-only are new flags; already-listed versions are no longer skipped early in normal mode, and withdrawn releases are rejected. See main.go, release.go, and catalog.go
Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).
Limit details: You’ve used the included review currently available. Your 84 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 754e9ad2-a28c-4bcf-a0b5-ad9909f4ce46
Commits
Reviewing files that changed from the base of the PR and between 7d57026 and 07d82e2.
Files selected for processing: 2
README.md
catalog/catalog_test.go
Walkthrough
The catalog updater now verifies downloaded binaries against release checksums and, for signed releases, verifies their attestations. It publishes immutable per-version descriptors, supports history-only publication and withdrawals, and adds checksums and release metadata to the current manifest and historical release records.
Changes: Catalog release lifecycle
Layer / File(s)
Summary
Catalog release contracts and validation catalog/catalog.go, catalog/release.go, catalog/catalog_test.go
Catalog entries add binary checksums, release tags, source commits, and withdrawal records. Release helpers validate descriptor paths and checksum entries, reject duplicate release assets, and support withdrawal lookup and insertion.
Release verification and publication cmd/update-catalog/main.go, cmd/update-catalog/main_test.go
The updater adds history-only and withdrawal modes. It checks downloaded binaries against checksums.txt, verifies binaries against an available signature bundle, and publishes release descriptors without replacing differing existing contents. Index writes use temporary files.
Current catalog checksum metadata manifest.json
The current entries for 14 plugins add per-platform binary checksums, release tags, and source commits.
Versioned release descriptors releases/*
Versioned descriptors are added for historical plugin releases. They include plugin configuration and capabilities, artifact URLs and checksums, and release metadata.
Catalog workflow and contributor guidance .github/workflows/update-catalog.yml, README.md, CONTRIBUTING.md
The workflow stages and checks both the manifest and release descriptors. The documentation describes verification, immutable descriptors, withdrawals, history-only publication, and catalog-output validation.
sequenceDiagram
participant UpdateCatalog
participant ReleaseAssets
participant ChecksumsFile
participant GH
participant Descriptor
participant CatalogIndex
UpdateCatalog->>ReleaseAssets: Download binaries and checksums
UpdateCatalog->>ChecksumsFile: Match binary digests to asset entries
UpdateCatalog->>GH: Verify binaries against signature bundle
UpdateCatalog->>Descriptor: Publish version descriptor
UpdateCatalog->>CatalogIndex: Publish updated index
Loading
Possibly related PRs
Silo-Server/silo-plugins#21: Adds the signed-release and version-ordering checks that this updater change extends.
Merge Risk: Low · previous review 7d570
The change adds verified, immutable release descriptors and withdrawal support. Before merge, document how to commit and publish a withdrawal so servers actually stop selecting the release, and add tests for the duplicate bundle and checksum refusals. Neither gap affects ordinary release publication.
Security architecture risk: Minimal · up to 7d570
The inspected change preserves existing publisher identity controls while adding digest verification and write-once release records. No introduced or worsened material security or failure-containment issue was established. Withdrawal enforcement remains dependent on server support.
Retained concerns
No architecture-level concerns identified.
Security review details
Security Blast Radius
inferred — The shared catalog distributes records for authentication and other official plugins, so an incorrectly accepted record could affect multiple deployments installing that plugin rather than one tenant. Dispatch access alone does not establish authority to supply another plugin's implementation: the updater checks the fixed repository/plugin binding and applicable provenance before publication.
Security Findings and Attack Paths
observed — The inspected route from dispatch-supplied repository and tag to published metadata retains input validation, official identity binding, release-URL pinning, and signed-release verification. New checksum validation and conflicting-descriptor rejection narrow accepted publication states. No control bypass was established along this route; remote backfill contents and downstream installation behavior remain unverified.
Trust Boundaries and Controls
observed — Checksums authenticate consistency with the downloaded checksums.txt, not publisher identity by themselves. Signed publication additionally verifies each binary through the fixed attestation policy and checks transparency-log evidence and source-commit agreement. The existing unsigned-release allowance remains bounded by the signed-entry ratchet; history-only publication does not receive that allowance.
Resilience and Maintainability Implications
observed — The automated workflow exposes neither withdrawal nor history-only flags, and repository_dispatch cannot enable rollback. Conflicting descriptor contents fail closed rather than silently changing pinned metadata. Withdrawal leaves discovery selection and downstream enforcement as separate responsibilities, explicitly documented for operators.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: the catalog now keeps official plugin releases available so pinned version installs still work. The changeset adds per-version release descriptors under releases/, wit…
Description check
The description states the problem (fresh deployments losing metadata for older pinned versions), the approach (immutable per-version descriptors, withdrawals, checksum verification), the backfill sco…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: the catalog now keeps official plugin releases available so pinned version installs still work. The changeset adds per-version release descriptors under releases/, withdrawal support, and checksum verification in update-catalog, all of which match the title's scope.
Full details: Description check
Explanation
The description states the problem (fresh deployments losing metadata for older pinned versions), the approach (immutable per-version descriptors, withdrawals, checksum verification), the backfill scope, validation steps, and risks. All of these relate directly to the changeset.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
silo-triageBot
added
enhancement
New feature or request
go
Pull requests that update go code
triaged
High-confidence review completed; does not mean fixed, validated, or accepted for release.
labels
Nov 19, 2026
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: b7a0ce11-099d-4eee-9093-5c5b73115321
Commits
Reviewing files that changed from the base of the PR and between 12f863b and 7d57026.
Files selected for processing: 41
.github/workflows/update-catalog.yml
CONTRIBUTING.md
README.md
catalog/catalog.go
catalog/catalog_test.go
catalog/release.go
cmd/update-catalog/main.go
cmd/update-catalog/main_test.go
manifest.json
releases/silo.audiobook-metadata/0.1.10.json
releases/silo.audiobook-metadata/0.1.11.json
releases/silo.audiobook-metadata/0.1.7.json
releases/silo.audiobook-metadata/0.1.8.json
releases/silo.audiobook-metadata/0.1.9.json
releases/silo.auth.ldap/0.1.1.json
releases/silo.auth.ldap/0.1.2.json
releases/silo.auth.oidc/0.1.1.json
releases/silo.auth.oidc/0.1.2.json
releases/silo.autoscan.arr/0.1.3.json
releases/silo.autoscan.arr/0.1.4.json
releases/silo.ebook-metadata/0.1.2.json
releases/silo.ebook-metadata/0.1.3.json
releases/silo.ebook-metadata/0.1.4.json
releases/silo.manga-metadata/0.1.2.json
releases/silo.manga-metadata/0.1.3.json
releases/silo.mdblist/0.5.1.json
releases/silo.mdblist/0.5.2.json
releases/silo.sportarr/1.0.4.json
releases/silo.sportarr/1.0.5.json
releases/silo.theintrodb/0.2.2.json
releases/silo.theintrodb/0.2.3.json
releases/silo.tmdb/1.2.30.json
releases/silo.tmdb/1.2.31.json
releases/silo.tvdb/1.5.1.json
releases/silo.tvdb/1.5.2.json
releases/silo.watchprovider.floppy/0.3.2.json
releases/silo.watchprovider.floppy/0.3.3.json
releases/silo.watchprovider.mdblist/0.3.1.json
releases/silo.watchprovider.mdblist/0.3.2.json
releases/silo.watchprovider.simkl/0.5.1.json
releases/silo.watchprovider.simkl/0.5.2.json
Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.
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
enhancementNew feature or requestgoPull requests that update go codesize/XXXL3000+ added + deleted lines (all files); change volume, not priority.triagedHigh-confidence review completed; does not mean fixed, validated, or accepted for release.
1 participant
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.
Problem
When a new official plugin release replaces the previous one in discovery, a fresh deployment loses the catalog metadata it needs to install the older version. This change lets operators reproduce a pinned install after discovery advances.
Related issue: N/A
Discussion: Silo-Server/silo-server #4585
Approach
The publisher writes an immutable descriptor under
releases/<plugin-id>/<version>.jsonalongside the current index. Each descriptor records the source release, platform assets, checksums and signature bundle. Repeating the same publication succeeds. A changed descriptor for an existing version is refused. The current index records withdrawals so administrators can stop new installs of a withdrawn release.The backfill covers 32 signed releases across 14 first-party repositories. Current discovery stays compatible with existing Silo servers. Publish these descriptors before releasing exact-version provisioning in the server.
Validation
go test ./...,go vet ./...andgo build ./...passed.gofmt -l .reported no files. In a fresh two-replica server sandbox, discovery advertised OIDC 0.1.2 while the candidate catalog supplied the 0.1.1 descriptor. Silo fetched the official binary and verified its signature before installing it. The package then served sign-in through Authelia.Risks
Withdrawing a release prevents a new provisioning install from selecting it. Deployments that already hold a verified archive can continue to use it offline.
Checklist
AI Disclosure
gpt-6.2-astra,gpt-6.2-sol,claude-fable-5-2,claude-opus-5-5, andgemini-4-neonNote
Keep official plugin releases available for version pins via immutable release descriptors
releases/and backfills manifests for many official plugins, so older pinned versions stay installable-history-only(backfill descriptors without changing the current index) and-withdraw(mark a release withdrawn) flags; withdrawal rejects combined use with history-only or rollbackchecksums.txt, store per-binary SHA-256 digests, release tag, and source commit in the catalog; descriptor publication is immutable — republishing succeeds only with byte-identical contentos.Rename, and duplicate release assets (same platform, bundle, or checksums) are rejected during parsing-withdrawand-history-onlyare new flags; already-listed versions are no longer skipped early in normal mode, and withdrawn releases are rejected. See main.go, release.go, and catalog.goMacroscope summarized 07d82e2.