Repository navigation
Remove extra fields when more then 1 socket is being used. - #75
Conversation
|
Warning Review limit reached
Next review available in: 49 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
ChangesMulti-socket aggregation
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This relates to RPOPC-1427 |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
streams/streams_run (1)
251-251: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick winRemove the unsorted temporary file after processing.
data_fileis created withmktempbut is no longer cleaned up. Retain${data_file}.sortedif required, but remove the base temporary file afterprocess_list; repeated runs will otherwise accumulate files under/tmp.🤖 Prompt for 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. In `@streams/streams_run` at line 251, Update the processing flow around process_list to remove the mktemp-created base file referenced by data_file after processing completes. Preserve ${data_file}.sorted when required, and ensure cleanup occurs after process_list without affecting its processing behavior.
🤖 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.
Outside diff comments:
In `@streams/streams_run`:
- Line 251: Update the processing flow around process_list to remove the
mktemp-created base file referenced by data_file after processing completes.
Preserve ${data_file}.sorted when required, and ensure cleanup occurs after
process_list without affecting its processing behavior.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Enterprise
Run ID: 7fb8d4b1-81e5-4fd6-bd7b-0118c5ae4728
📒 Files selected for processing (1)
streams/streams_run
Description
Currently if more then 1 socket is being tested, we will output the results of the current socket, and all the priors reported. This corrects this issue so we report just the socket, not the priors.
Before/After Comparison
Before: Possible to have extra data in the csv file.
After: Just the data associated with the number of sockets is given.
Clerical Stuff
This closes #74
Relates to JIRA: RPOPC-1427
Testing:
Ran the new code, verified that the results is as expected.
1 Socket
Array_sizes,32768k,65536k,131072k,262144k,Start_Date,End_Date
Copy,52713,48770,47253,68802,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z
Scale,47161,46980,46577,46475,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z
Add,49396,50419,50765,50951,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z
Triad,51307,51278,51189,51156,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z
2 Socket
Array_sizes,32768k,65536k,131072k,262144k,Start_Date,End_Date
Copy,121976,104675,97100,94202,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z
Scale,102159,93810,93555,92909,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z
Add,99715,98452,100289,101135,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z
Triad,102310,102214,102079,102029,2026-07-21T08:50:30Z,2026-07-21T09:25:06Z