Repository navigation
refactor!: remove the superseded production path (ADR-0015) - #76
Merged
Merged
Conversation
Delete the validate-production and reconcile-production commands and the code behind them: internal/production, internal/intake, internal/objectstore, the Debian production restore/transaction/contract, recovery writer, local production generation and SharedPool, the reconcile-production action, its input validator, the production/ templates and the production R2 spec. Core ADR-0055 made frostyard/apt-publisher the only Debian writer; nothing calls this path. generate keeps its prior-signature check, moved to internal/generator/deb/release_signature.go with its own tests. generate and the publish-to-r2 action do not change. BREAKING CHANGE: the validate-production and reconcile-production commands (shipped in v0.5.2) are removed.
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
…ames from index notes Address cross-review findings on #76.
frostyard-machines
marked this pull request as ready for review
October 24, 2026 03:27
bketelsen
approved these changes
Oct 24, 2026
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
Removes the superseded Frostyard production publication path from Repogen. Core ADR-0055 made
frostyard/apt-publisherthe only Frostyard Debian writer. ADR-0013 is superseded, and Plan 0001 is superseded. The code stayed in the tree and kept its tests, but nothing calls it. ADR-0013 said removal is a separate decision. This PR records that decision as a new ADR-0015, with status Proposed.validate-productionandreconcile-productioncommands shipped in v0.5.2. This PR removes them.generateand thepublish-to-r2action do not change.Removed paths
internal/cli/production.go(+_test.go)validate-productioncommandinternal/cli/reconcile_production.go(+_test.go)reconcile-productioncommandinternal/production/internal/intake/internal/objectstore/r2/go.mod.internal/generator/deb/production_contract.go,production_restore.go,production_transaction.go(+ tests)internal/generator/deb/recovery_writer.go(+ test)internal/generator/deb/local_generation.go,_linux.go,_other.go(+ test)internal/generator/deb/pool.go(+ test)SharedPoolobject-store primitive. Only the production transaction used it.internal/releaseasset/reconcile_action_test.go,reconcile_inputs_test.goscripts/validate-reconcile-inputs.sh.github/actions/reconcile-production/production/templates/docs/specs/production-r2-reconciliation.mdKept and moved:
generateneeds the check of priorRelease,InReleaseandRelease.gpgsignatures, which it uses for signed no-op reuse. That check moved fromproduction_restore.gotointernal/generator/deb/release_signature.goasparseTrustedKeyRingandverifyReleaseSignatures. The logic is the same, and the move adds table-driven tests inrelease_signature_test.go.TestGenericUnsignedGenerationRemainsSupportedmoved togenerator_test.go. The sysext OSVersion reconciliation belongs togenerate, so it stays.Consumer evidence (checked 2026-10-24)
The default branches were cloned and their workflows were read directly:
8804052: no workflow uses a repogen action or command. Its only repogen mention in.github/is a comment inimport-stable.ymlabout importing the legacydists/stable. Itsreconcile_stateis its own shell function.82c4501:.github/workflows/build.ymluses onlyfrostyard/repogen/.github/actions/publish-to-r2@ea8cd1f…(v0.4.1), withrepogen-version: v0.4.1. It uses no production command or action. That pin does not move with this PR.1cbd54d: no repogen reference at all.gh search codefound no hit forreconcile-productionorvalidate-productionoutside this repo. The only other hits forrepogen/.github/actionsarecoreADR-0010 (docs) and test fixtures inchairliftandpilothouse. Those fixtures namepublish-to-r2, which stays.Docs
docs/adr/0015-remove-the-superseded-production-path.md(Proposed).docs/design/overview.md,docs/design/ci-cd.md,docs/specs/generators.md,README.md,RELEASING.md,docs/README.md,docs/org-adrs.md: production content removed. The docs now say that apt-publisher publishes Frostyard Debian packages.docs/specs/r10-release-acceptance.mdand.github/prompts/r10-release.prompt.md: the rules that needed the deleted code are removed (the signed two-suite test and the R1–R9 matrix). The release asset, checksum, installer and no-move rules stay.Checks (local)
make build,make fmt(clean),make lint(golangci-lint v2.3.1 built with go1.26.10, as in CI: 0 issues),go vet ./..., andmake testall pass.make testcovers unit, integration and e2e.node scripts/check-docs.mjspasses (23 docs, 227 links, 9 symlinks).repogen --helplists onlygenerate,version,completionandhelp.Cross-review
openai/gpt-6.1-sol. Coder:github-copilot/claude-sonnet-5.5, with small edits by the parent agent (Lucilla).0aa4d6892cfa22b212c7023796d1023649e60e90.633d80b: Not ready, with 2 findings, and I accepted both.b86fd49: Ready, Blocking: none.go.sumwas excluded from the line-by-line review.Proposed release version: v0.6.0
Repogen is 0.x. By SemVer §4 and the usual 0.x practice, a minor bump carries breaking changes. This PR removes 2 CLI commands that shipped in v0.5.2:
validate-productionandreconcile-production. A patch release (v0.5.3) would hide that break. A v1.0.0 would claim a stable API, which nobody has decided.mainalso carries #67, a behavior change that is not released yet:generaterequires--codenamefor Debian. v0.6.0 releases both changes under 1 minor bump.No known consumer is affected. snosi pins
publish-to-r2and the binary at v0.4.1. apt-publisher and omarchy-apps do not use repogen.Brian: please decide