Repository navigation
docs: propose ADR-0081 for crates.io Trusted Publishing and shared Homebrew tap - #246
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: monk-eee <260355687+monk-eee@users.noreply.github.com>
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.
Problem
On
v0.4.0, Azuifer publishes native GitHub Release archives,SHA256SUMS,azuifer.rb, an SPDX SBOM, and GHCR container images, while all six workspace crates remainpublish = falseand no public Homebrew tap is synced yet. We need an approved architecture decision locking in the crates.io Trusted Publishing (GitHub OIDC) and sharedaz*family Homebrew tap (monk-eee/homebrew-tap) design now, while intentionally holding implementation until siblingAzuniversefoundation crate extractions settle so we do not publish throwaway pre-extraction crate boundaries.Change
docs/adr.d/0081-crates-io-trusted-publishing-and-homebrew-tap.md,Status: Proposed):v0.4.0Cargo.tomlmetadata, and existingpackaging/homebrew.pyformula generation) without claiming anything is published yet.Azuniverse=x.y.zprerequisite pins, manifest readiness (version+path, sub-crate metadata, explicit tarballexcludeunder 10 MiB,cargo package --workspace --lockedCI gate), strict DAG topological publish order (Wave 1azuifer-core? Wave 2azuifer-{blob,files,queue,table}? Wave 3azuifer), and tag-only GitHub OIDC authentication (id-token: write, protectedcrates-ioenvironment, one-time initial crate bootstrap note, zero standing tokens).az*Family Homebrew Tapmonk-eee/homebrew-tap): sharedFormula/azuifer.rb(and futureazcipher.rb/ optionalazuniverse.rb), reuse ofpackaging/homebrew.py+SHA256SUMS, least-privilege post-publish sync in.github/workflows/release.yml, and tap CI (brew audit --strict+ macOS/Linux smoke tests).ADR-0081(Proposed) indocs/adr.d/README.md.docs/releases.mdunderNative package managers (cargo-binstall and Homebrew)clarifying that neither crates.io publication nor a synced Homebrew tap is live yet.Cargo.toml,Cargo.lock, or workflow edits.Linked decisions
docs/adr.d/), or "none needed": ADR-0081 (Proposed), referencing ADR-0076 and ADR-0078.Always-required safety
Validation
python scripts/audit-docs.py? passed (docs ok: 110 Markdown files audited)python scripts/audit-workspace-dag.py? passed (workspace ok: 6 crates verified, strict DAG, workspace lints inherited, all sources < 800 lines)python scripts/audit-azure-recording-plan.py? passed (1585 / 1634recorded and matched)python scripts/audit-wire-discrepancies.py? passed (total=138)python -m unittest discover -s scripts -p "test_*.py"? passed (Ran 90 tests in 426.577s,OK (skipped=1))Behavior and tooling tests (when applicable)
ProposedADR; no runtime behavior changedpython -m unittest discover -s scripts -p "test_*.py"for Python tooling or docs/evidence checksRust checks (when Rust or its build is affected)
cargo fmt --checknot run locally; Rust and its build are unaffected)cargo clippynot run locally; Rust and its build are unaffected)cargo testnot run locally; Rust and its build are unaffected)Conformance and docs
Conformance (when supported behavior or its evidence changes)
specs/conformance/*.jsonmanifest is updated, or this change does not alter supported behaviorexactwithout Azure differential evidenceDocs and evidence (when applicable)
python scripts/audit-docs.py)python scripts/audit-azure-recording-plan.pyandpython scripts/audit-wire-discrepancies.py, when recording or discrepancy evidence changesSign-off
Always required.
Signed-off-byline (git commit --signoff) certifying the Developer Certificate of Origin