Skip to content

chore(tracing): improve bundle tracing, break when receiver is dropped#115

Merged
Evalir merged 7 commits into
mainfrom
evalir/logging-bundle-improvements
Jun 20, 2025
Merged

chore(tracing): improve bundle tracing, break when receiver is dropped#115
Evalir merged 7 commits into
mainfrom
evalir/logging-bundle-improvements

Conversation

@Evalir

@Evalir Evalir commented Jun 19, 2025

Copy link
Copy Markdown
Member

Closes ENG-1159

Evalir commented Jun 19, 2025

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Evalir Evalir force-pushed the evalir/logging-bundle-improvements branch from 4905988 to 839dc47 Compare June 19, 2025 13:35
Comment thread src/tasks/cache/bundle.rs
{
let _guard = span.entered();
debug!(count = ?bundles.len(), "found bundles");
for bundle in bundles.into_iter() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

could we add a trace or debug log for the bundle id of each bundle?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

that should be done in the cache on ingestion, rather than here

@Evalir Evalir requested review from anna-carroll and prestwich June 20, 2025 14:27
Comment thread src/tasks/cache/task.rs Outdated
}

/// Utility to log a bundle and its contents.
fn log_bundle(bundle: &TxCacheBundle) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

per discussion, these events should live in the SDK in SimCache::ingest

I also think these are too verbose.

@Evalir Evalir requested a review from prestwich June 20, 2025 15:29
@Evalir Evalir enabled auto-merge (squash) June 20, 2025 15:29
@Evalir Evalir merged commit 1168ff8 into main Jun 20, 2025
6 checks passed
@Evalir Evalir deleted the evalir/logging-bundle-improvements branch June 20, 2025 15:31
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.

3 participants