Skip to content

perf-eval: report benchmark log scan errors - #1032

Open
vividvisit wants to merge 1 commit into
stellar:mainfrom
vividvisit:my_feature_vivid
Open

vividvisit wants to merge 1 commit into
stellar:mainfrom
vividvisit:my_feature_vivid

Conversation

@vividvisit

Copy link
Copy Markdown

What

Propagate scanner errors while extracting failed packages from benchmark output.

An oversized or otherwise unreadable line previously produced an incomplete result with no diagnostic. parseFailedPkgs now returns Scanner.Err, and runSuite logs it before falling back to the suite-level failure marker.

Why

[TODO: Why this change is being made. Include any context required to understand the why.]

Known limitations

[TODO or N/A]

Signed-off-by: vividvisit <vividvisit@outlook.com>
Copilot AI balanced review requested due to automatic review settings September 20, 2026 02:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Scan errors after valid failure lines still return an unreliable partial package list instead of the suite marker.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Propagates benchmark output scanner errors so failed-package extraction problems are logged.

Changes:

  • Return scanner errors from parseFailedPkgs.
  • Add oversized-line error coverage.
File Description
instantiate.go Propagates and logs scan errors.
instantiate_test.go Tests oversized-line handling.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants