Skip to content

fix(cli): validate offline report formats before writing files - #456

Open
karanb192 wants to merge 1 commit into
alibaba:mainfrom
karanb192:fix/preflight-offline-report-formats
Open

karanb192 wants to merge 1 commit into
alibaba:mainfrom
karanb192:fix/preflight-offline-report-formats

Conversation

@karanb192

Copy link
Copy Markdown
Contributor

Summary

skill-up report result.json --format junit --format csv replaced an existing report.xml before reporting that csv was unsupported.

Resolve every requested format before creating the output directory or opening any report. Valid formats still run in the order supplied.

Test plan

The command regression starts with an existing XML report, requests JUnit followed by an unknown format, and checks that the error names that format and the original bytes survive.

Local checks: go test -race ./..., make verify, the Action unit tests and the Codex plugin unit tests.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T03:10:59.349290Z 556611b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
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