Treat processing error for multiple runs with the same category as configuration error by mbg · Pull Request #2987 · github/codeql-action
Conversation
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates error handling to treat "multiple runs with the same category" as a configuration error rather than a processing failure. This change ensures that such errors are reported as user errors instead of system failures.
- Adds a new expected configuration error message to the error classification logic
- Updates both TypeScript source and compiled JavaScript to maintain consistency
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/upload-lib.ts | Adds new error message to expectedConfigErrors array for proper classification |
| lib/upload-lib.js | Generated JavaScript equivalent of the TypeScript changes |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
mbg
deleted the
mbg/combine-sarif-error
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters