feat: merge vid dispersal into block building#4652
Conversation
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. |
|
Claude finished @mrain's task in 2m 45s —— View job Code Review: PR #4652 — Merge VID dispersal into block building
SummaryClean architectural simplification. By moving VID dispersal into the block builder, you eliminate:
The new flow computes dispersal in the same Findings1. Fire-and-forget
This is a known Tokio footgun: dropping a Consider at minimum logging on let handle = spawn_blocking(move || { ... });
tokio::spawn(async move {
if let Err(e) = handle.await {
if e.is_panic() {
error!(%view, "vid share fanout panicked");
}
}
});Or adding the handle to the existing 2. If any code path checks Worth verifying that no downstream logic depends on 3. Minor: Positive observations
|
…to cl/dispersal-when-build
…to cl/dispersal-when-build
…to cl/dispersal-when-build
3aa0063 to
0cd78c1
Compare
…to cl/dispersal-when-build
Closes #<ISSUE_NUMBER>
This PR:
BlockPayloadinArcto avoid expensive cloning when passing the events.This PR does not:
Key places to review: