Skip to content

Skip filtered session event delivery#1945

Open
svarlamov wants to merge 1 commit into
mainfrom
feat/skip-session-event-delivery-by-repo-url
Open

Skip filtered session event delivery#1945
svarlamov wants to merge 1 commit into
mainfrom
feat/skip-session-event-delivery-by-repo-url

Conversation

@svarlamov

@svarlamov svarlamov commented Jul 21, 2026

Copy link
Copy Markdown
Member

Summary

  • apply configured repository allow/exclude filters while the daemon delivers persisted SessionEvent metrics
  • mark filtered records delivered without uploading them

Root cause

Transcript sweeping persists SessionEvent records before delivery, but the daemon metrics flush uploaded every valid record without consulting the existing repository filters. The filter now runs at delivery time, outside the trace2 ingestion path.

Validation

  • task fmt
  • task lint
  • task test TEST_FILTER=flush_pending_metric_records
  • task test TEST_FILTER=daemon_marks_repository_filtered_session_events_delivered_without_uploading_them
  • git diff --check

Copy link
Copy Markdown
Member Author

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

@svarlamov
svarlamov marked this pull request as ready for review July 21, 2026 18:41

@devin-ai-integration devin-ai-integration Bot left a comment

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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@svarlamov
svarlamov force-pushed the feat/skip-session-event-delivery-by-repo-url branch from 513265c to 8d14ac5 Compare July 22, 2026 18:59
@svarlamov
svarlamov force-pushed the feat/skip-session-event-delivery-by-repo-url branch from 8d14ac5 to fba46f1 Compare July 23, 2026 14:57
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.

1 participant