Skip to content

meta: Exit criteria for defaulting ENABLE_RUST_LIBOBS=ON and deleting C sources #141

Closed

Description

@zackees

Nothing defines when a port is "shipped". Proposal to agree on:

Flip ENABLE_RUST_LIBOBS default to ON when:

  • Tier 2 is green on Linux, macOS and Windows (x64 and arm64);
  • Tier 4 is green against an ON build (see the ON-build issue);
  • benchmarks show no regression beyond an agreed bound on hot paths;
  • ON nightlies run for N weeks without new crash signatures.

Delete a unit's C source when the flag has been ON by default for a release. Policy question: today the oracle is deleted with the C file, which ends Tier 3 parity for that unit for good. Proposal: move the deleted C file to rust/obs-c-oracle/legacy/ so parity keeps running. This needs a testing-policy.md change.

Activity

  1. added
    design
    on Oct 10, 2026
  2. zackees commented on Oct 13, 2026

    @zackees
    MemberAuthor

    Claiming: Rust-default and C-source-retirement policy.

    1. Define measurable release gates for flipping ENABLE_RUST_LIBOBS to ON, including platform tests, performance, and nightly stability.
    2. Amend the testing policy so a deleted production C source remains as a differential-test oracle under obs-c-oracle/legacy.
    3. Run the local gate and open one documentation PR against master today.
  3. added
    claimed
    on Oct 13, 2026
  4. zackees commented on Oct 13, 2026

    @zackees
    MemberAuthor

    Fixed by PR #434, merged as a118ce5. The policy now defines the ON-default gates and preserves C oracles when production C files are retired. Implementation work remains on existing ON-build and benchmark issues (#140, #142); the default has not been flipped.

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

    claimeddesign

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions