Skip to content

refactor(cli): extract per-target scan into scanTarget#330

Open
TBX3D wants to merge 2 commits into
vmfunc:mainfrom
TBX3D:feat/per-target-accumulator
Open

refactor(cli): extract per-target scan into scanTarget#330
TBX3D wants to merge 2 commits into
vmfunc:mainfrom
TBX3D:feat/per-target-accumulator

Conversation

@TBX3D

@TBX3D TBX3D commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

pull the target loop body into scanTarget, which returns a targetScan
holding that target's findings, report rows, scan labels and log files
instead of appending onto run-wide slices. the run loop merges those in
target order and finishRun handles the post-loop notify/silent/report/
summary steps. behavior is identical for the sequential run today; the
isolation is the seam a bounded worker pool needs next.

@TBX3D TBX3D requested a review from vmfunc as a code owner July 4, 2026 01:38
@github-actions github-actions Bot added size/xl 500+ lines changed tests test changes and removed size/xl 500+ lines changed labels Jul 4, 2026
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown

pr summary

2 files changed (+440 -322)

category files
go source 2
tests 1

@codecov-commenter

codecov-commenter commented Jul 4, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 6.27178% with 269 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@7ea1cd2). Learn more about missing BASE report.

Files with missing lines Patch % Lines
sif.go 6.27% 236 Missing and 33 partials ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #330   +/-   ##
=======================================
  Coverage        ?   54.93%           
=======================================
  Files           ?       81           
  Lines           ?     6893           
  Branches        ?        0           
=======================================
  Hits            ?     3787           
  Misses          ?     2805           
  Partials        ?      301           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

pull the target loop body into scanTarget, which returns a targetScan
holding that target's findings, report rows, scan labels and log files
instead of appending onto run-wide slices. the run loop merges those in
target order and finishRun handles the post-loop notify/silent/report/
summary steps. behavior is identical for the sequential run today; the
isolation is the seam a bounded worker pool needs next.
@TBX3D TBX3D force-pushed the feat/per-target-accumulator branch from 73221e0 to d5e235c Compare July 4, 2026 02:35
@github-actions github-actions Bot added the size/xl 500+ lines changed label Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xl 500+ lines changed tests test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants