Repository navigation
proof(release): exercise v0.1.0 no-Cargo portability - #1265
EffortlessSteven wants to merge 15 commits into
Conversation
|
Warning Review limit reachedNext included review available in 1 minute. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Team Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (13)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Terminal proof receiptCurrent head
The narrow release verdict is Ubuntu 24.04 x86_64/glibc 2.39 proven, Ubuntu 22.04/glibc 2.35 unsupported, and other distributions or architectures unproven. The empty |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b1198e2c82
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| name: Release Portability Proof | ||
|
|
||
| on: | ||
| pull_request: |
There was a problem hiding this comment.
Gate the portability workflow behind the release risk pack
Triggering this workflow directly on every matching pull request makes two Docker-backed release-proof jobs run without a label or policy authorization, including repeated image/package downloads and immutable v0.1.0 checks that are unrelated to most action.yml edits. Route this through the existing release risk pack/label or add an explicit policy receipt so ordinary PRs do not automatically pay the expensive lane cost.
AGENTS.md reference: AGENTS.md:L10-L11
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Repaired in 7a6571b: the workflow is workflow_dispatch-only, with a matching implemented lane entry in policy/ci-lanes.toml. Receipts bind dispatch actor/run/workflow/source. No automatic path-triggered Docker spend remains. actionlint passes. This thread stays open until fresh exact-head hosted and runtime proof complete.
| #!/usr/bin/env bash | ||
| set -euo pipefail |
There was a problem hiding this comment.
Move the durable proof harness into Rust or xtask
This adds a 674-line Bash harness with substantial embedded Python as permanent repository automation, while the existing scripts/* ledger receipt is explicitly for pre-existing compatibility wrappers and says durable automation should migrate toward Rust/xtask. Implement the orchestration in xtask, or add a narrow owned exception demonstrating why that is impractical, rather than expanding the legacy shell surface under the broad receipt.
AGENTS.md reference: AGENTS.md:L5-L7
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Repaired in 7a6571b: scripts/prove-release-portability.sh is deleted. Eight focused private xtask modules own metadata/archive/process/runtime/packet/resolver/matrix validation and typed receipts; main.rs only adds dispatch/help. Nine discriminating unit tests and the full52-test xtask suite pass. No shell exception is added. This thread stays open pending exact-head hosted proof.
| readonly RELEASE_COMMIT="743ae2b5d9b9532852f702a095cf363380c932a2" | ||
| readonly RELEASE_ASSET="ub-review-x86_64-unknown-linux-gnu.tar.gz" | ||
| readonly RELEASE_ASSET_ID="481332264" | ||
| readonly RELEASE_CHECKSUM_ASSET_ID="481332265" |
There was a problem hiding this comment.
Verify release metadata before recording it
The commit and asset IDs are trusted constants that are only copied into both row receipts and compared with each other; downloading the named URL and checking its digest does not prove that v0.1.0 resolves to this commit or that GitHub assigned these asset IDs. A typo or moved tag would therefore still produce a green matrix that falsely attests this release identity, so resolve and compare the tag/release metadata before emitting these fields.
AGENTS.md reference: AGENTS.md:L9-L9
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Repaired in 7a6571b: the controller queries live release/tag/asset metadata, follows annotated tags, checks IDs/sizes/URLs/digests and the dereferenced pinned commit, then validates both downloaded files and the extracted product identity. The matrix joins independently resolved identity and authorization rather than repeated constants. Mutation tests reject missing/duplicate/moved/mismatched metadata. Fresh runtime receipts remain pending; prior runs are explicitly historical.
|
@codex Rework this PR into a mergeable, policy-compliant release-portability proof. Preserve the already-earned v0.1.0 runtime conclusion and retained run history, but do not keep the current 674-line shell/Python harness or automatic expensive PR behavior. Current exact head: Required repair:
Update the PR body so prior run IDs are explicitly historical evidence from the superseded harness, not exact-head proof after the rewrite. Keep the PR open until a newly authorized exact-head portability run and normal gate are green. Reply to all three unresolved review threads with the concrete repair and do not resolve them before exact-head checks. Do not mutate the release, tag, assets, resolver defaults, or public support policy. |
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
|
The Rust replacement is frozen for review at
The PR stays open and the original three threads stay unresolved until the requested exact-head ordinary gate succeeds. No threshold waiver or bulk suppression. The hosted Linux workspace suite passes; the separate Windows listener-reset failure remains #1296. Earlier shell and repaired-predecessor runs retain their historical identities. @devin-ai-integration please review this final Rust implementation, particularly trust joins, bounded archive/process behavior, container ownership/cleanup, and whether the observed manual receipts satisfy the September5 request. Review is requested independently of the gate blockers; no release or public support promotion is authorized here. |
Terminal disposition: retained historical evidence, not a current merge candidateThis branch remains valuable proof for the immutable v0.1.0 release, but it no longer represents the release/product state that Retained exact evidence: The proof establishes Ubuntu 24.04 no-Cargo execution for that historical asset, Ubuntu 22.04 rejection at the observed glibc boundary, and strict missing-asset failure without source fallback. It does not establish current-source portability, the next published asset, exact authorized-byte publication, broad Linux support, or current gate coherence. Current ownership remains:
The Rust xtask implementation and historical receipts remain available at this exact branch/head for reconstruction into a fresh current-release slice. This PR is being closed without merge rather than rebased indefinitely or treated as current acceptance. |
…#1652) Dated freshness amendment for the runbook's current-state section (#1300 boundary landed via #1638/#1647; #1265 bullet corrected to its closed historical disposition), a 2026-11-05 candidate-state paragraph in the release notes, and a product-state row update recording the authorized publication boundary and the assembled #816 candidate packet.
Summary
Replaces the superseded 674-line shell/Python harness for #1071 with Rust xtask modules for live release identity, archive validation, bounded command capture, disposable runtime containers, packet inspection, typed receipts, and matrix reconciliation. The old script is removed. The manual workflow builds one controller and tests the immutable v0.1.0 release in Ubuntu 24.04 and Ubuntu 22.04; a separate clean container exercises the local Action's strict missing-asset failure.
The acceptance and review map are in docs/RELEASE_PORTABILITY_PLAN.md. Live release/tag/asset metadata and independently downloaded bytes must match the pinned published identities before execution. The historical initializer's two policy failures are checked separately from the explicit-config passing model-off packet. Runtime containers contain the verified binary and synthetic fixture, without Cargo, rustc, product source, or source fallback.
Policy receipts
Verification
Current source:
0fa66386a8b590994e9de369d58c664b3a49226f.5f9d076937e9720d48e58ba2fa2f90759e0229df: manual run34176671668 completed runtime and resolver proof. Downloaded artifact10037496691 sha256:4f3cb4d6a1b931baaeec50375e1237193e28f9798a37b617e69cf9cfc23ef536 contains matching matrix/source identity, Ubuntu24.04 success and Ubuntu22.04 GLIBC_2.39 rejection. Artifact10037505384 sha256:f90795ae68d58d26babe7caf8813860185f234d9f8f6b02ac86c5cefabea5d6e confirms actual missing-asset step failure without Cargo/rustc/source fallback before or after.Original shell-harness run33166458366 at b1198e2 remains historical evidence only; it does not validate the Rust rewrite. Earlier rewrite dispatch failures (checksum label, synthetic fixture ownership, resolver checkout ownership) were fixed with observed diagnostics and focused tests.
CI budget
Ordinary PR uses existing gates. The opt-in portability workflow has two jobs capped at25+10 Linux minutes, one controller build, and sequential disposable containers. It neither publishes nor builds product source inside runtime containers.
Agent notes
The controller requires a new output directory and retains failed diagnostics without a successful final matrix. Command capture has a180-second CLI timeout and bounded in-memory reads; it does not claim an on-disk stream-size or general process-tree bound. Container teardown is separately bounded. The proof covers only this immutable asset and the named environments. Other platforms and current-product release readiness remain unproven. #1293 was reconciled separately by #1299; publication-byte prerequisite #1300 remains separate.