[consensus/marshal] commonware-glue marshal changes#3764
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
commonware-mcp | d99635d | May 22 2026, 07:48 PM |
6ed2e53 to
f72fb17
Compare
Deploying monorepo with
|
| Latest commit: |
d99635d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://12cfe1dc.monorepo-eu0.pages.dev |
| Branch Preview URL: | https://cl-glue-marshal-changes.monorepo-eu0.pages.dev |
Benchmark resultsTip ✅ PASSED: No benchmark exceeded the regression threshold. Benchmark comparison table
Baseline commit(s): |
f72fb17 to
298de8d
Compare
| }, | ||
| Recipients::One(peer) => { | ||
| let peers = NonEmptyVec::new(peer); | ||
| resolver.fetch_targeted(request, peers).await; |
There was a problem hiding this comment.
Should we also change the API of resolver to use Recipients? I guess not (?)
There was a problem hiding this comment.
My thinking was no, since it's generic over the transport?
833f307 to
eef3a95
Compare
| // Skip if height is at or below the floor | ||
| if height <= self.last_processed_height { | ||
| // Skip if height is below the floor | ||
| if height < self.last_processed_height { |
There was a problem hiding this comment.
What is the rationale behind this change? if we've processed a block, we must have a finalization at or above this?
There was a problem hiding this comment.
When we kick off state sync, we set the floor far in the future. That block has not necessarily been processed yet. We need to allow for marshal to fetch the floor, in the case that it is missing.
There was a problem hiding this comment.
Got it. That becomes very similar to something I was considering for my state sync cleanup.
eef3a95 to
abb360e
Compare
abb360e to
468907b
Compare
468907b to
69ee63f
Compare
c48fb77 to
d13f1c6
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d13f1c6. Configure here.
d13f1c6 to
7d3329c
Compare
dd097ec to
0258591
Compare
0258591 to
7199ec6
Compare
7199ec6 to
bb6cdbb
Compare
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## main #3764 +/- ##
==========================================
- Coverage 95.77% 95.76% -0.02%
==========================================
Files 486 486
Lines 200338 200706 +368
Branches 4858 4858
==========================================
+ Hits 191872 192201 +329
- Misses 6834 6873 +39
Partials 1632 1632
... and 41 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|

Overview
Ports the changes to marshal from #3381:
GetProcessedHeightfunction to marshal's mailbox, so that the startup routine can query marshal's processed height to determine if it needs to roll back one or more databases.