Fix ESLint workflow failure caused by SARIF formatter runtime mismatch#50
Merged
JosunLP merged 4 commits intoJosunLP-patch-1from Mar 12, 2026
Merged
Fix ESLint workflow failure caused by SARIF formatter runtime mismatch#50JosunLP merged 4 commits intoJosunLP-patch-1from
JosunLP merged 4 commits intoJosunLP-patch-1from
Conversation
Merged
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add improvements to bQuery.js documentation and workflows
Fix ESLint workflow failure caused by SARIF formatter runtime mismatch
Mar 12, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the ESLint Code Scanning workflow to avoid the ESLint 8 runtime pulled in by @microsoft/eslint-formatter-sarif, while preserving SARIF upload to GitHub code scanning.
Changes:
- Run the repo’s ESLint directly via
bunx eslintand emit JSON toeslint-results.json. - Add an inline Node step to convert ESLint JSON output into
eslint-results.sarif. - Keep the existing SARIF upload step (
github/codeql-action/upload-sarif@v4) intact.
Collaborator
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Contributor
Author
Applied in 1bf9690. I removed the unused formatter-specific env var and switched the SARIF |
JosunLP
added a commit
that referenced
this pull request
Mar 12, 2026
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Jonas Pfalzgraf <info@josunlp.de> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Fix PR review issues: duplicate keys, cleanup leaks, export conflicts, and SSR safety (#17) Fix security, type safety, and API surface issues from PR #16 review (#18) Fix router cancellation, component example, and ref directive expression handling (#19) Fix router compatibility, isDev default, style cleanup, and changelog format (#20) Fix hash routing bugs and add comprehensive test coverage (#21) Fix router base path handling, bq-if DOM stability, and CHANGELOG consistency (#22) Fix defineComponent tests, store reactivity leak, view directive signal handling, and hash-routing interception (#24) Fix async handling, type safety, environment guards, and add test coverage from PR #16 review (#25) Fix DOM order reversal, stale dependency tracking, localStorage SafariError, and reactive bq-for updates (#26) Fix view template root validation, store optimizations, and utils API cleanup (#27) Fix bq-show display restoration and timeline.seek() time calculation (#28) Fix router base path duplication and add SSR guards for Element checks (#29) Fix interceptLinks() browser behavior and createTemplate() validation (#30) Fix bq-class bracket detection, once() failure caching, mount bq-for validation, and component pre-mount renders (#31) Fix bq-style whitespace handling and spring variable frame rate (#32) Fix bq-on method reference context loss and remove style attribute from security defaults (#33) Fix persistedSignal localStorage test key collision (#34) Fix bq-class directive stale class cleanup for object syntax (#35) Fix timeline() to account for animation iterations in duration calculations (#36) fix: Reactive robustness, security hardening, storage compat, expression parsing (#37) Fix css() getter, add Signal.dispose(), debounce/throttle cancel, collection.find(), element.is() (#39) fix(ci): align ESLint workflow with repo CI conventions (#47) fix: repair corrupted bun.lock breaking CI frozen-lockfile installs (#48) Fix ESLint workflow failure caused by SARIF formatter runtime mismatch (#50)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ESLint GitHub Action was failing on this PR because the SARIF formatter path was invoking an incompatible ESLint 8 runtime against the repo’s ESLint 9 flat-config setup. This change keeps the workflow’s code-scanning output intact while removing the runtime conflict.
Root cause addressed
@microsoft/eslint-formatter-sarifas the execution path for linting in CI.Workflow changes
bunx eslint.eslint-results.json.SARIF generation
resultswith:SRCROOTbase URI handling for uploaded findings.Example of the workflow change:
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.