Skip to content

fix(test): restore ProverPipeline loopback fields in test initializers - #613

Merged
CassOnMars merged 1 commit into
QuilibriumNetwork:v2.1.0.25from
blacks1ne:blacks1ne/fix-proverpipeline-test-initializers
Aug 18, 2026
Merged

fix(test): restore ProverPipeline loopback fields in test initializers#613
CassOnMars merged 1 commit into
QuilibriumNetwork:v2.1.0.25from
blacks1ne:blacks1ne/fix-proverpipeline-test-initializers

Conversation

@blacks1ne

Copy link
Copy Markdown
Contributor

932045a3 removed local_message_collector: None and current_frame: None from all three test-side ProverPipeline initializers, but both fields are still declared on the struct (crates/quil-engine/src/prover_pipeline.rs:83,87). quil-engine's test targets therefore do not compile:

error[E0063]: missing fields `current_frame` and `local_message_collector`
              in initializer of `ProverPipeline`
  crates/quil-engine/tests/common/mod.rs:1283, :1379
  crates/quil-engine/tests/e2e_consensus.rs:918
error: could not compile `quil-engine` (test "e2e_epoch_confirm")
error: could not compile `quil-engine` (test "e2e_consensus")

None is what both fields' own doc comments prescribe for tests, so this restores prior behaviour exactly — 6 lines, no semantic change.

cargo check --workspace does not build test targets, so build stays green and only test (cargo nextest) is affected — on every PR targeting v2.1.0.25.

932045a ("resolve build errors, unified tree model, fix sync") removed

    local_message_collector: None,
    current_frame: None,

from all three test-side `ProverPipeline` initializers while leaving both
fields declared on the struct at crates/quil-engine/src/prover_pipeline.rs:83,87.
The `quil-engine` test targets therefore fail to compile:

    error[E0063]: missing fields `current_frame` and `local_message_collector`
                  in initializer of `ProverPipeline`
      crates/quil-engine/tests/common/mod.rs:1283
      crates/quil-engine/tests/common/mod.rs:1379
      crates/quil-engine/tests/e2e_consensus.rs:918
    error: could not compile `quil-engine` (test "e2e_epoch_confirm")
    error: could not compile `quil-engine` (test "e2e_consensus")

`cargo check --workspace` does not build test targets, so the `build` job
stays green and only `test (cargo nextest)` fails — which is why the branch
itself shows no failure (CI runs on PRs only) and every PR targeting
v2.1.0.25 goes red at the test step.

`None` is the value both fields' own doc comments prescribe for tests
("`None` disables loopback (tests)"), so this restores the prior behaviour
exactly and changes no test semantics.
@CassOnMars
CassOnMars merged commit 2b96656 into QuilibriumNetwork:v2.1.0.25 Aug 18, 2026
3 of 5 checks passed
@blacks1ne
blacks1ne deleted the blacks1ne/fix-proverpipeline-test-initializers branch August 18, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants