Skip to content

Make workspace gate tests deterministic #71

Closed

Description

@mowind

Part of #70.

Goal

Make both canonical workspace runtime suites deterministic before the new complete source gate is wired into CI or release publication.

Scope

  • Reproduce and fix the four Cast opts::tests::parse_* stack overflows under the gate's pinned toolchain/environment.
  • Decide whether RUST_MIN_STACK=4194304 remains required. If it does, make the evidence runner own it and add a focused regression test; do not leave it as shell-only ambient behavior.
  • Replace cast::cli::run_disable_block_gas_limit_check's public BSC testnet RPC dependency with a deterministic local fixture/seam.
  • Do not filter, ignore, retry public networking, or mark either failure as allowed.

Acceptance Criteria

  • cargo nextest run --workspace --no-default-features --locked --no-fail-fast passes deterministically.
  • cargo nextest run --workspace --all-features --locked --no-fail-fast passes deterministically.
  • The fixed tests retain their intended behavioral assertions.
  • No new public-network dependency or undocumented exclusion is introduced.

Activity

  1. mowind commented on Aug 4, 2026

    @mowind
    OwnerAuthor

    Implemented in commit 0ff5d83. The evidence runner now owns RUST_MIN_STACK=4194304 with regression coverage, and run_disable_block_gas_limit_check uses a deterministic local Anvil/JSON-RPC fixture instead of public BSC RPC. Focused Cast tests and Python gate tests pass.

  2. mowind commented on Aug 4, 2026

    @mowind
    OwnerAuthor

    Closed by 0ff5d83.

  3. mowind commented on Aug 4, 2026

    @mowind
    OwnerAuthor

    Follow-up stabilization 52ee153: pinned the forge-std test template lock, isolated HashKey fixtures from generic Forge testdata, made cheatcode schema generation deterministic, and tuned all-features/Chisel timeout coverage exposed by the deterministic suite.

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

    ready-for-agentFully specified and ready for an AFK agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions