Skip to content

ci(pypi): qualify real wheel installs from a local wheelhouse #4631

Closed

Description

@EffortlessSteven

Parent: #4493
Depends on: #4630, #4490, and #4626.

Outcome

Qualify real wheel installs in CI from a local wheelhouse with no credential, network, source-checkout, Rust-toolchain, or ambient-binary escape.

Scope

  • Build and stage the selected candidate wheels and local wheelhouse.
  • Install with pip and uv on the admitted OS/architecture matrix.
  • Run the exact clean-consumer journey and negative ambient/substitution controls.
  • Disable network after staging.
  • Retain typed receipts and bounded diagnostic logs as Actions artifacts.

Acceptance

  • Every required matrix row records exact wheel and payload digests.
  • No Cargo, source checkout, or ambient ripr is available to the consumer.
  • A planted wrong-PATH binary is detected.
  • Failed, skipped, zero-subject, or mismatched rows cannot satisfy the aggregate gate.
  • Artifact retention is bounded and deterministic.

Non-goals

  • No PyPI credentials or upload.
  • No broader target promise than the selected matrix.

Activity

  1. added
    release-check
    status/needs-work
    on Sep 29, 2026
  2. EffortlessSteven commented on Sep 29, 2026

    @EffortlessSteven
    MemberAuthor

    Draft PR #4711 now carries an early channel-local wheel rehearsal that overlaps this issue's implementation surface:

    • real Maturin wheel build from the committed ripr-rs adapter;
    • local wheelhouse install through clean pip and uv tool consumers;
    • no source checkout, Cargo/rustc, or ambient ripr in consumer PATH;
    • nonzero analysis plus follow-up command;
    • wheel/payload hashes and a deliberately missing-executable negative control;
    • bounded Actions artifact retention and no publication authority.

    This does not close #4631. The current PR has not yet consumed #4630's typed aggregate/row DTO, #4626/#4521 final-payload identity, network-disable instrumentation, or a planted wrong-PATH executable. Treat #4711 as the first real package-producing witness to fold into those owners, not a parallel aggregate contract.

  3. EffortlessSteven commented on Sep 29, 2026

    @EffortlessSteven
    MemberAuthor

    Current proposition on origin/main (inspected 2026-09-29, SHA 13c7ec58a0a76759c00d4baa757df744c395d689):

    The original #4631 claim has not landed. There is still no wheelhouse qualification workflow, no packaging/python adapter, and no typed wheelhouse aggregate gate on main. Open PR #4711 (feat(pypi): build and qualify wheel-only ripr-rs adapter (#4490)) overlaps a first pip/uv install witness; it does not close this issue and is not an equivalent implementation of the fail-closed wheelhouse aggregate.

    Dependencies remain open: #4630 (generic package-qualification DTO), #4490 (wheel adapter), #4626 (clean-consumer journey). This lane stays on #4631 only: a wheelhouse-specific row/aggregate gate plus a no-publish, dispatch-only CI consumer. It will not absorb the Maturin adapter, the cross-channel DTO, or npm.

    Selected remaining work: discriminating negative controls for missing/zero-subject/skipped/mismatched rows, PATH/cargo/network escapes, planted wrong-PATH detection, bounded artifact retention, then one focused PR.

  4. EffortlessSteven commented on Sep 29, 2026

    @EffortlessSteven
    MemberAuthor

    Landed. PR #4827 squash-merged to main as 91d44148592d0e5e7b5543b24ba180cf4b8f701b (candidate head 4142151d0b42a10ac8a0e1451a6eec6401045c45). Required check Ripr Rust Small Result passed on that head.

    What this closes: the fail-closed linux/x86_64 pip+uv local-wheelhouse aggregate, dispatch-only no-publish workflow, independent network/source/wheel-identity probes, and discriminating negatives for missing/skipped/zero-subject/mismatched/escape/publication/retention rows.

    What it does not close: a live passing wheel install. That still needs #4490 wheels and a #4626 nonzero discriminator. Network/source probes typically remain fail-closed on GitHub-hosted runners because this lane does not add a sandbox or checkout unmount. Parent #4493 stays open.

  5. added a commit that references this issue on Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    release-checkstatus/needs-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions