Skip to content

Conversation

AhmedSoliman
Copy link
Contributor

@AhmedSoliman AhmedSoliman commented Jul 29, 2025

The PR introduces two changes:

  • Bifrost::find_tail() will only attempt to seal the chain if FindTailOpts asks for consistent result; we don't need to cripple the fast path for find-tail.
  • Find tail will eagerly seal the chain without grace period. This is to avoid unnecessary startup delays for single-node setups.

The fact that chain sealing is idempotent makes it lighterweight to perform as it'll coalesce nicely with other reconfigurations that might be happening concurrently.


Stack created with Sapling. Best reviewed with ReviewStack.

@AhmedSoliman AhmedSoliman marked this pull request as ready for review July 29, 2025 14:40
Copy link

github-actions bot commented Jul 29, 2025

Test Results

  7 files  ±0    7 suites  ±0   4m 50s ⏱️ -18s
 54 tests ±0   53 ✅ ±0  1 💤 ±0  0 ❌ ±0 
223 runs  ±0  220 ✅ ±0  3 💤 ±0  0 ❌ ±0 

Results for commit b802d2c. ± Comparison against base commit e67c936.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. +1 for merging :-)

The PR introduces two changes:
- `Bifrost::find_tail()` will only attempt to seal the chain if FindTailOpts asks for consistent result; we don't need to cripple the fast path for find-tail.
- Find tail will eagerly seal the chain without grace period. This is to avoid unnecessary startup delays for single-node setups.

The fact that chain sealing is idempotent makes it lighterweight to perform as it'll coalesce nicely with other reconfigurations that might be happening concurrently.
@AhmedSoliman AhmedSoliman merged commit b802d2c into main Jul 30, 2025
27 checks passed
@AhmedSoliman AhmedSoliman deleted the pr3595 branch July 30, 2025 14:27
@github-actions github-actions bot locked and limited conversation to collaborators Jul 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants