GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add more end-to-end tests for `upload-sarif` by mbg · Pull Request #3181 · github/codeql-action

Conversation

@mbg

@mbg mbg commented Oct 6, 2025

Copy link
Copy Markdown
Member

This renames the upload-quality-sarif check to upload-sarif and covers more cases.

Risk assessment

For internal use only. Please select the risk level of this change:

  • Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Consider adding a changelog entry for this change.
  • Confirm the readme and docs have been updated if necessary.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
mbg added 7 commits October 6, 2025 13:50
@mbg
Rename upload-quality-sarif.yml workflow
9b3ade9
@mbg
Run upload-sarif check for all analysis-kinds values
6bdf5d3
@mbg
Cover more cases in upload-sarif check
6f964b7
@mbg
Include analysis kind in payloadSaveFile path in uploadPayload
22aba57
@mbg
Add explicit category values
380e002
@mbg
Fix: Update payload.json path in with-checkout-path test
14c5d77
@mbg
Adjust step names to be clearer
dabf6fc
@mbg
mbg marked this pull request as ready for review October 6, 2025 15:15
@mbg
mbg requested a review from a team as a code owner October 6, 2025 15:15
@mbg
mbg requested review from Copilot and henrymercer October 6, 2025 15:15
Copilot AI reviewed Oct 6, 2025
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

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 enhances the upload-sarif testing by replacing the basic upload-quality-sarif test with a more comprehensive upload-sarif test that covers multiple analysis kinds. The changes also refactor the uploadPayload function to accept an analysis configuration object instead of just a target parameter.

  • Expands test coverage for upload-sarif functionality across different analysis kinds (code-scanning, code-quality, and combined scenarios)
  • Refactors the uploadPayload function signature to use analysis configuration objects for better payload file naming in test mode
  • Updates test verification scripts to use the new analysis-specific payload file naming convention

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/upload-lib.ts Changes uploadPayload function signature and updates payload file naming in test mode
pr-checks/checks/upload-sarif.yml New comprehensive test covering multiple upload-sarif scenarios
pr-checks/checks/upload-quality-sarif.yml Removes old basic upload-quality-sarif test
pr-checks/checks/with-checkout-path.yml Updates payload file reference to use new naming convention
lib/*.js files Generated JavaScript code reflecting the TypeScript changes
.github/workflows/*.yml Generated workflow files from the updated test templates

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
henrymercer
henrymercer approved these changes Oct 7, 2025
View reviewed changes
@henrymercer
Merge branch 'main' into mbg/pr-checks/upload-sarif
1491baa
@mbg
mbg merged commit 239d7b2 into main Oct 7, 2025
@mbg
mbg deleted the mbg/pr-checks/upload-sarif branch October 7, 2025 08:48
This was referenced Oct 10, 2025
Merge main into releases/v4 #3198
Merged
Merge releases/v4 into releases/v3 #3201
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@henrymercer henrymercer henrymercer approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@mbg @henrymercer
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.