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 — PR checks: Only run Go macOS tests on latest CodeQL versions by henrymercer · Pull Request #3565 · github/codeql-action

Conversation

@henrymercer

@henrymercer henrymercer commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

Drop Go macOS tests on older CodeQL versions due to usage in production being predominantly Linux and using up to date CodeQL versions.

Sorry, something went wrong.

Uh oh!

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

All reactions
@henrymercer
henrymercer requested a review from a team as a code owner March 11, 2026 15:32
Copilot AI review requested due to automatic review settings March 11, 2026 15:32
@github-actions github-actions Bot added the size/L May be hard to review label Mar 11, 2026
Copilot started reviewing on behalf of henrymercer March 11, 2026 15:32
View session
@henrymercer
henrymercer marked this pull request as draft March 11, 2026 15:33
Copilot AI reviewed Mar 11, 2026
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 updates the PR-check specification templates and their generated workflows, with the stated goal of reducing macOS coverage for Go tracing checks on older CodeQL bundle versions.

Changes:

  • Reformats many check specs to use multi-line YAML lists for versions, operatingSystems, and analysisKinds.
  • Introduces an osCodeQlVersions key in Go tracing check specs to try to restrict macOS runs to newer CodeQL versions.
  • Updates corresponding generated __*.yml workflows.

Reviewed changes

Copilot reviewed 57 out of 57 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pr-checks/checks/with-checkout-path.yml Reformat versions list
pr-checks/checks/upload-sarif.yml Reformat versions/analysisKinds
pr-checks/checks/upload-ref-sha-input.yml Reformat versions list
pr-checks/checks/swift-custom-build.yml Reformat versions/operatingSystems
pr-checks/checks/swift-autobuild.yml Reformat versions/operatingSystems
pr-checks/checks/submit-sarif-failure.yml Reformat versions list
pr-checks/checks/start-proxy.yml Reformat operatingSystems/versions
pr-checks/checks/split-workflow.yml Reformat lists; move comment
pr-checks/checks/ruby.yml Reformat versions/operatingSystems
pr-checks/checks/rubocop-multi-language.yml Reformat versions list
pr-checks/checks/resolve-environment-action.yml Reformat versions list
pr-checks/checks/packaging-inputs-js.yml Reformat versions; move comment
pr-checks/checks/packaging-config-js.yml Reformat versions; move comment
pr-checks/checks/packaging-config-inputs-js.yml Reformat versions; move comment
pr-checks/checks/packaging-codescanning-config-inputs-js.yml Reformat versions; move comment
pr-checks/checks/overlay-init-fallback.yml Reformat versions list
pr-checks/checks/multi-language-autodetect.yml Update description; reformat OS list
pr-checks/checks/local-bundle.yml Reformat versions list
pr-checks/checks/language-aliases.yml Reformat versions list
pr-checks/checks/job-run-uuid-sarif.yml Reformat versions list
pr-checks/checks/javascript-source-root.yml Reformat versions; move comment
pr-checks/checks/init-with-registries.yml Convert bracketed versions to list
pr-checks/checks/go-tracing-legacy-workflow.yml Add osCodeQlVersions for macOS
pr-checks/checks/go-tracing-custom-build-steps.yml Add osCodeQlVersions for macOS
pr-checks/checks/go-tracing-autobuilder.yml Add osCodeQlVersions for macOS
pr-checks/checks/go-indirect-tracing-workaround.yml Reformat versions list
pr-checks/checks/go-indirect-tracing-workaround-no-file-program.yml Reformat versions list
pr-checks/checks/go-indirect-tracing-workaround-diagnostic.yml Reformat versions list
pr-checks/checks/global-proxy.yml Reformat versions list
pr-checks/checks/extractor-ram-threads.yml Reformat versions list
pr-checks/checks/export-file-baseline-information.yml Reformat operatingSystems/versions
pr-checks/checks/diagnostics-export.yml Reformat versions list
pr-checks/checks/cpp-deptrace-enabled.yml Reformat versions list
pr-checks/checks/cpp-deptrace-enabled-on-macos.yml Reformat OS/versions lists
pr-checks/checks/cpp-deptrace-disabled.yml Reformat versions list
pr-checks/checks/config-input.yml Reformat versions list
pr-checks/checks/config-export.yml Reformat versions list
pr-checks/checks/cleanup-db-cluster-dir.yml Reformat versions list
pr-checks/checks/bundle-zstd.yml Reorder operatingSystems list
pr-checks/checks/bundle-toolcache.yml Reorder operatingSystems list
pr-checks/checks/build-mode-rollback.yml Reformat versions list
pr-checks/checks/build-mode-none.yml Reformat versions list
pr-checks/checks/build-mode-manual.yml Reformat versions list
pr-checks/checks/build-mode-autobuild.yml Reformat OS/versions lists
pr-checks/checks/autobuild-working-dir.yml Reformat versions list
pr-checks/checks/autobuild-direct-tracing-with-working-dir.yml Reformat OS/versions lists
pr-checks/checks/autobuild-action.yml Reformat OS/versions lists
pr-checks/checks/analyze-ref-input.yml Reformat versions list
pr-checks/checks/analysis-kinds.yml Reformat versions/analysisKinds
pr-checks/checks/all-platform-bundle.yml Reformat OS/versions lists
.github/workflows/__resolve-environment-action.yml Regenerated workflow output
.github/workflows/__multi-language-autodetect.yml Regenerated workflow output
.github/workflows/__go-tracing-legacy-workflow.yml Regenerated workflow output
.github/workflows/__go-tracing-custom-build-steps.yml Regenerated workflow output
.github/workflows/__go-tracing-autobuilder.yml Regenerated workflow output
.github/workflows/__bundle-zstd.yml Regenerated workflow output
.github/workflows/__bundle-toolcache.yml Regenerated workflow output

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread pr-checks/checks/go-tracing-autobuilder.yml Resolved

Uh oh!

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

Comment thread pr-checks/checks/go-tracing-custom-build-steps.yml Resolved

Uh oh!

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

Comment thread pr-checks/checks/go-tracing-legacy-workflow.yml Resolved

Uh oh!

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

henrymercer added 4 commits March 11, 2026 17:10
@henrymercer
PR checks: Add support for per-OS CodeQL version
2bc0658
@henrymercer
PR checks: Only run Go macOS tests on latest CodeQL versions
4174779
@henrymercer
PR checks: Replace inline arrays
30ecc82
Lists are easier to modify
@henrymercer
Sort OS list and versions consistently
117bf91
@henrymercer
henrymercer force-pushed the henrymercer/go-macos-checks branch from 84db137 to 117bf91 Compare March 11, 2026 17:13
@henrymercer
henrymercer marked this pull request as ready for review March 11, 2026 17:13
@henrymercer
henrymercer requested a review from Copilot March 11, 2026 17:13
Copilot started reviewing on behalf of henrymercer March 11, 2026 17:14
View session
Copilot AI reviewed Mar 11, 2026
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

Copilot reviewed 58 out of 58 changed files in this pull request and generated 1 comment.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread pr-checks/sync.ts
Comment on lines +322 to +327
// If osCodeQlVersions is set for this OS, only include the specified CodeQL versions.
const allowedVersions =
checkSpecification.osCodeQlVersions?.[operatingSystem];
if (allowedVersions && !allowedVersions.includes(version)) {
continue;
}

Copilot AI Mar 11, 2026

Copy link

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.

osCodeQlVersions is assumed to be a string[], but if a template accidentally provides a scalar (e.g. macos: linked) or other non-array value, this code will still run (because strings have .includes) and can silently produce an incomplete/incorrect matrix. Consider validating allowedVersions with Array.isArray(...) (and throwing a clear error if not), and optionally validating that the osCodeQlVersions keys match entries in operatingSystems to catch typos early.

Sorry, something went wrong.

Uh oh!

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

All reactions
Copilot uses AI. Check for mistakes.

@henrymercer henrymercer Mar 11, 2026

Copy link
Copy Markdown
Contributor Author

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.

Might be worth adding a JSON schema for the PR checks to validate this, rather than needing to validate each property individually. I think this is best left to a future PR.

Sorry, something went wrong.

Uh oh!

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

All reactions
esbena
esbena approved these changes Mar 11, 2026
View reviewed changes

@esbena esbena 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.

LGTM with one minor thought on maintainability.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread pr-checks/checks/packaging-config-inputs-js.yml
Comment on lines +4 to +7
versions:
- linked
- default
- nightly-latest

@esbena esbena Mar 11, 2026

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.

Stray thought: it could be useful to be able to flip this around and specify what we don't want to run on.

Sorry, something went wrong.

Uh oh!

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

All reactions

@henrymercer henrymercer Mar 11, 2026

Copy link
Copy Markdown
Contributor Author

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.

Yeah, our approach could use a rethink. We support a bunch of Action / CLI combinations, but is impractical to run PR checks against every combination so in practice most checks just run against linked, default, and nightly-latest. Providing CI is sufficiently unflaky though, it could be useful to start running nightly checks against the full set of combinations.

Sorry, something went wrong.

Uh oh!

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

All reactions
@henrymercer
henrymercer added this pull request to the merge queue Mar 11, 2026
Merged via the queue into main with commit 309fd2a Mar 11, 2026
269 of 444 checks passed

Uh oh!

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

@henrymercer
henrymercer deleted the henrymercer/go-macos-checks branch March 11, 2026 19:27
This was referenced Mar 16, 2026
Merge main into releases/v4 #3574
Merged
Merge releases/v4 into releases/v3 #3577
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
@esbena esbena esbena approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

size/L May be hard to review

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

@henrymercer @esbena
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.