Skip to content

merge queue: checking unstable (f685f21) and #1229 together - #1246

Closed
mergify[bot] wants to merge 3 commits into
unstablefrom
mergify/merge-queue/e128bc628c
Closed

merge queue: checking unstable (f685f21) and #1229 together#1246
mergify[bot] wants to merge 3 commits into
unstablefrom
mergify/merge-queue/e128bc628c

Conversation

@mergify

@mergify mergify Bot commented Aug 13, 2026

Copy link
Copy Markdown

🎉 This pull request has been checked successfully and will be merged soon. 🎉

Branch unstable (f685f21) and #1229 are queued together for merge.

This pull request has been created by Mergify to check the mergeability of #1229.
You don't need to do anything. Mergify will close this pull request automatically when it is complete.

Required conditions of queue rule default for merge:

Required conditions to stay in the queue:

---
checking_base_sha: f685f2146421615b24cd0fd7934e8b55179808f1
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1229
    scopes: []
scopes: []
...

shane-moore and others added 3 commits August 8, 2026 07:31
…nce per slot

Both Boole post-consensus callbacks sized the committee partial-signature
batch from the full decided value but each signed only its own object class,
so any decided entry whose class the local Lighthouse did not request left the
batch permanently under-filled and the operator's single post-consensus
message was never sent. The whole duty then failed cluster-wide.

Drive the signing from the decided value instead. The slot pipeline starts one
execution per committee when it publishes that value at 2/3 slot, so exactly
one message per (committee, slot) holds by construction rather than by locking,
and the two Lighthouse callbacks become lookups that filter the shared outcome
for the roots they asked for. The batch size is the number of entries actually
submitted, so it is always reachable by local filtering.

This reuses the crate's existing signing pipeline rather than duplicating it:
SigningRequest and resolve now key results by (validator index, signing root)
so one validator can hold five distinct roots, and collect_prepared_signatures
shares the drain helper with the new path. collect_signature is unchanged.

Refs #1227
Registering an AggregatorCommittee execution overwrote any existing entry for
the same (committee, slot). The slot pipeline publishes once per slot today, so
this was not reachable, but it moved the exactly-once guarantee out of this
module and into another module's timing loop. Overwriting would spawn a second
QBFT round and a second set of detached signing tasks while the first set kept
running, putting two post-consensus messages on the wire for one slot, which
peers reject with a gossip penalty.

Register only into a vacant entry so exactly-once holds here regardless of how
often the pipeline publishes, and correct the field doc, which still described
the superseded callback-triggered design.

Raised in review of #1229.
@github-actions

Copy link
Copy Markdown

Your PR title doesn't follow the Conventional Commit guidelines.

Example of valid titles:

  • feat: add new user login
  • fix: correct button size
  • docs: update README

Usage:

  • feat: Introduces a new feature
  • fix: Patches a bug
  • chore: General maintenance tasks or updates
  • test: Adding new tests or modifying existing tests
  • perf: Performance improvements
  • refactor: Changes to improve code structure
  • docs: Documentation updates
  • ci: Changes to CI/CD configurations
  • revert: Reverts a previously merged PR

Breaking Changes

Breaking changes are noted by using an exclamation mark. For example:

  • feat!: changed the API
  • chore(node)!: Removed unused public function

Help

For more information, follow the guidelines here: https://www.conventionalcommits.org/en/v1.0.0/

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.56284% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.42%. Comparing base (f685f21) to head (6e3c059).

Files with missing lines Patch % Lines
...r/validator_store/src/aggregator_post_consensus.rs 93.15% 21 Missing ⚠️
anchor/validator_store/src/lib.rs 89.24% 10 Missing ⚠️
...tor_store/src/testing/aggregator_post_consensus.rs 99.81% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #1246      +/-   ##
============================================
+ Coverage     68.30%   69.42%   +1.11%     
============================================
  Files           164      166       +2     
  Lines         28817    29540     +723     
============================================
+ Hits          19684    20508     +824     
+ Misses         9133     9032     -101     
Flag Coverage Δ
rust 69.42% <96.56%> (+1.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mergify mergify Bot closed this Aug 13, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/e128bc628c branch August 13, 2026 19:48
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