feat(runner): add data-plane mode to the fleet config update#36
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Walkthrough
ChangesFleet config_update data-plane mode
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@internal/runner/runner.go`:
- Around line 4004-4026: The baseline suppression check in runner.go is using
the receiver’s lifetime total from queryReceiverMetrics after sleeping, so
pre-window records can be miscounted as leakage. In the Phase 1 block around the
baseline window, capture an initial LinesReceived sample before the sleep, then
compare the post-sleep sample against that baseline delta when evaluating
suppression. Use the existing symbols queryReceiverMetrics, rmBase, baseCount,
and cfgUpdateLeak to keep the change localized.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: aecf540d-bb4c-478a-969e-6d1aa925a550
📒 Files selected for processing (3)
internal/config/case.gointernal/config/fleet_config_update_test.gointernal/runner/runner.go
Deploying pipebench with
|
| Latest commit: |
070ab56
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0fd9d0e3.pipebench.pages.dev |
| Branch Preview URL: | https://dt-816.pipebench.pages.dev |
Summary by CodeRabbit
baseline_secondsto fleet configuration to define a baseline observation window.config_updatein data-plane mode, including receiver-suppression checks before applying updates.config_updateflow to support both legacy/control-plane and data-plane verification paths.min_receivedbehavior.