GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Address `ubuntu-26.04`-related CI failures by mbg · Pull Request #4267 · github/codeql-action Conversation
|
| File | Description |
|---|---|
.github/dependabot.yml |
Targets individual local action directories with a glob. |
.github/actions/prepare-test/action.yml |
Updates the Kotlin setup pin to v2.1 and normalizes input quoting. |
Review effort: Max
Sorry, something went wrong.
There was an error while loading. Please reload this page.
0d10f7b to
eac0005
Compare
setup-kotlin action to the latest versionubuntu-26.04-related CI failures
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Runner and compiler compatibility across the affected CodeQL matrix still needs confirmation from successful CI runs.
.github/workflows/__go-tracing-autobuilder.yml: Excluded by your content exclusion settings.github/workflows/__go-tracing-custom-build-steps.yml: Excluded by your content exclusion settings.github/workflows/__go-tracing-legacy-workflow.yml: Excluded by your content exclusion settings.github/workflows/__multi-language-autodetect.yml: Excluded by your content exclusion settings.github/workflows/__rubocop-multi-language.yml: Excluded by your content exclusion settings.github/workflows/__rust.yml: Excluded by your content exclusion settingsReview effort: Max
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| os: runnerImage, | ||
| version, | ||
| }); | ||
| if (runnerImage === "ubuntu-latest" && version === "stable-v2.20.7") { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this, I have a few suggestions, but none of them are blocking.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| // stable-v2.20.7 requires an older version of Java than the default on `ubuntu-latest`. | ||
| // We could install that older version on the newer runners, or use the older runner. | ||
| // We do the latter here. This can be removed once we stop supporting `v2.20.7`. | ||
| // Since this is typed as `DefaultTestVersion`, it will become an error once `stable-v2.20.7` | ||
| // is removed from `defaultTestVersions`. | ||
| const requiresOlderRunnerImage: DefaultTestVersion = "stable-v2.20.7"; | ||
| if ( | ||
| runnerImage === "ubuntu-latest" && | ||
| version === requiresOlderRunnerImage | ||
| ) { | ||
| matrix.push({ os: "ubuntu-24.04", version }); | ||
| } else { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Another valid approach here would be overriding the runner image for (I think just) the multi-language check, since I believe this issue only affects checks that analyze Java.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
True, but I think we probably should just merge this for now to unblock other work.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| // Since this is typed as `DefaultTestVersion`, it will become an error once `stable-v2.20.7` | ||
| // is removed from `defaultTestVersions`. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
(Though I believe we don't build the PR checks project as part of CI, so we'd only see this locally)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Seeing it locally is the intended scenario, because you'd locally remove it from defaultTestVersions and then this would immediately flag up as an error.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
That said, it might be worth running tsc -noEmit over the TypeScript sources in CI if we don't already. (But not in this PR.)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| use-all-platform-bundle: | ||
| description: "If true, we output a tools URL with codeql-bundle.tar.gz file rather than platform-specific URL" | ||
| default: 'false' | ||
| default: "false" |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I presume this probably happened automatically, but we should consider adding a YAML formatter to CI to avoid this sort of noise.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yeah it happened automatically. Agreed on adding a formatter check, but not as part of this PR.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@henrymercer Thanks for the review! I have addressed a bunch of your comments that I thought made sense to address here. The remaining ones are better for follow-up PRs I think. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.