Skip to content

Test v2026.5.0#191

Draft
patrick-ogrady wants to merge 11 commits into
mainfrom
v2026.5.0-testing
Draft

Test v2026.5.0#191
patrick-ogrady wants to merge 11 commits into
mainfrom
v2026.5.0-testing

Conversation

@patrick-ogrady
Copy link
Copy Markdown
Contributor

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 21, 2026

Deploying alto with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2b0e9e4
Status: ✅  Deploy successful!
Preview URL: https://05db83bc.alto-8k4.pages.dev
Branch Preview URL: https://v2026-5-0-testing.alto-8k4.pages.dev

View logs

Comment thread chain/src/application.rs Outdated
if let Some(backfiller) = self.backfiller.clone() {
self.context
.child("backfill_record")
.spawn(move |_| async move {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

let's add attributes?

Comment thread follower/src/resolver.rs Outdated
Comment thread follower/src/engine.rs Outdated
let marshal_handle = self.marshal.start(mailbox, self.buffer_mailbox, marshal);
let marshal_handle = self.marshal.start(
mailbox,
None::<buffered::Mailbox<PublicKey, Block>>,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Marshal should define some trait for this so we don't have to link Mailbox?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We may just be able to implement some buffered trait over None (does nothing) and remove OptionalBuffer.

Comment thread follower/src/engine.rs
use commonware_utils::NZUsize;
use std::time::Duration;

/// Verifies that marshal's Deliver handler rejects a finalization whose
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

restore this?

Comment thread follower/src/resolver.rs
}

#[cfg(test)]
mod tests {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

restore tests?

Comment thread follower/src/test_utils.rs Outdated
#[derive(Clone)]
pub struct MockSource {
pub block_handler: BlockHandler,
#[allow(dead_code)]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

?

Comment thread validator/src/main.rs
.worker_threads
.checked_add(config.signature_threads)
.expect("network buffer pool parallelism overflowed");
// Storage I/O runs on Tokio's blocking pool. Include those threads in the
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

add \n before?

Comment thread chain/src/application.rs Outdated
.spawn(move |_| async move {
// Cache the finalized block in memory and enqueue its digest
// before acking so the consumer can recover it across restarts.
backfiller.record(&block).await;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

should this/can this be a mailbox? I suppose record here is a durable write?

spawn_cell!(self.context, self.run())
}

async fn run(mut self) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Should we just have this implement report for marshal?

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 79.17889% with 213 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.68%. Comparing base (0d9f99f) to head (2b0e9e4).

Files with missing lines Patch % Lines
deploy/src/main.rs 0.00% 74 Missing ⚠️
follower/src/resolver.rs 90.68% 46 Missing ⚠️
validator/src/main.rs 0.00% 41 Missing ⚠️
follower/src/archive.rs 10.52% 17 Missing ⚠️
follower/src/main.rs 0.00% 11 Missing ⚠️
follower/src/feeder.rs 80.00% 7 Missing ⚠️
chain/src/indexer/backfiller/producer.rs 90.69% 4 Missing ⚠️
follower/src/application.rs 69.23% 4 Missing ⚠️
chain/src/lib.rs 96.51% 3 Missing ⚠️
follower/src/test_utils.rs 50.00% 2 Missing ⚠️
... and 3 more
@@            Coverage Diff             @@
##             main     #191      +/-   ##
==========================================
- Coverage   68.71%   68.68%   -0.04%     
==========================================
  Files          30       30              
  Lines        5712     5815     +103     
==========================================
+ Hits         3925     3994      +69     
- Misses       1787     1821      +34     
Files with missing lines Coverage Δ
chain/src/application.rs 99.14% <100.00%> (+6.89%) ⬆️
chain/src/engine.rs 98.86% <100.00%> (+0.06%) ⬆️
chain/src/indexer/backfiller/consumer.rs 88.53% <100.00%> (+4.25%) ⬆️
chain/src/indexer/backfiller/state.rs 100.00% <100.00%> (+0.60%) ⬆️
chain/src/indexer/mod.rs 70.49% <100.00%> (+3.21%) ⬆️
chain/src/indexer/pusher.rs 96.39% <100.00%> (+0.39%) ⬆️
client/src/lib.rs 93.75% <ø> (ø)
follower/src/engine.rs 97.69% <100.00%> (-0.21%) ⬇️
indexer/src/lib.rs 95.64% <ø> (ø)
types/src/lib.rs 86.95% <ø> (ø)
... and 13 more

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d9f99f...2b0e9e4. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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