-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
User Story: As a developer
I would like resolve functions to support optional SARIF format error output so that I can better track, analyze and integrate error reporting.
Goals:
Enable resolve functions to optionally output errors in SARIF (Static Analysis Results Interchange Format) format to provide standardized, detailed error reporting that can be consumed by various development tools.
Key requirements:
- Add optional SARIF output format for error reporting in resolve functions
- Support capturing runtime errors, validation errors, and other issues
- Include relevant metadata like error location, severity, and error code
- Allow integration with existing SARIF-compatible tools and CI/CD pipelines
Dependencies:
- SARIF specification implementation library
- Error handling middleware/utilities that can format errors into SARIF
- Test infrastructure for validating SARIF output
Acceptance Criteria
- All website and readme documentation affected by the changes in this issue have been updated
- A Pull Request (PR) is submitted that fully addresses the goals of this User Story. This issue is referenced in the PR
- The CI-CD build process runs without any reported errors on the PR. This can be confirmed by reviewing that all checks have passed in the PR
- Resolve functions include an option to output errors in valid SARIF 2.1.0 format
- Error output includes required SARIF fields (tool info, results, locations)
- Runtime errors are properly captured and formatted in SARIF
- Unit tests verify SARIF output structure and content
- Documentation includes examples of SARIF error output and configuration
- Performance impact of SARIF formatting is minimal and documented
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Backlog