Skip to content

Chore: fix flake in non_blocking_minority_configured_to_favour_...#7215

Open
aaronb-stacks wants to merge 2 commits into
stacks-network:developfrom
aaronb-stacks:test/flake-tenure_extend
Open

Chore: fix flake in non_blocking_minority_configured_to_favour_...#7215
aaronb-stacks wants to merge 2 commits into
stacks-network:developfrom
aaronb-stacks:test/flake-tenure_extend

Conversation

@aaronb-stacks
Copy link
Copy Markdown
Contributor

This test failed 3x in a row for me on a PR recently, so I tried to dig into the flakiness a little bit.

There was a race between the stale Pre-Miner-2-winning-sortition global state and the expected Miner-2-won-sortition-and-timed-out state. This change removes that race by clearing the observer.

…g_miner

There was a race between the stale Pre-Miner-2-winning-sortition global state and the expected
Miner-2-won-sortition-and-timed-out state. This change removes that race by clearing the observer.
@coveralls
Copy link
Copy Markdown

coveralls commented May 19, 2026

Coverage Report for CI Build 26250451051

Coverage decreased (-0.1%) to 85.585%

Details

  • Coverage decreased (-0.1%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 6617 coverage regressions across 113 files.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

6617 previously-covered lines in 113 files lost coverage.

Top 10 Files by Coverage Loss Lines Losing Coverage Coverage
stackslib/src/config/mod.rs 376 68.96%
stackslib/src/net/mod.rs 310 77.98%
stackslib/src/chainstate/stacks/miner.rs 263 82.84%
stackslib/src/chainstate/stacks/index/storage.rs 262 80.55%
clarity/src/vm/database/clarity_db.rs 244 82.23%
stackslib/src/chainstate/stacks/db/transactions.rs 222 97.16%
stackslib/src/net/inv/epoch2x.rs 220 79.55%
stackslib/src/net/chat.rs 201 93.01%
stackslib/src/chainstate/stacks/db/mod.rs 196 86.23%
stackslib/src/core/mempool.rs 196 86.26%

Coverage Stats

Coverage Status
Relevant Lines: 220651
Covered Lines: 188844
Line Coverage: 85.58%
Coverage Strength: 18975267.44 hits per line

💛 - Coveralls

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 20, 2026

CLA assistant check
All committers have signed the CLA.

@aaronb-stacks aaronb-stacks self-assigned this May 21, 2026
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.

3 participants