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 — Merge releases/v4 into releases/v3 by github-actions[bot] · Pull Request #3907 · github/codeql-action Conversation
|
|
Pushed a commit to rebuild the Action. Please mark the PR as ready for review to trigger PR checks. |
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.
This PR merges changes from releases/v4 into releases/v3, bringing along recent release work such as the new shared JavaScript bundling layout (entry-point stubs + shared bundle), incremental-analysis behavior adjustments (diff-informed gating / overlay fallback), feature-flag/default CLI version selection updates, and routine dependency/version bumps for the v3 line.
Changes:
*-entry.js wrappers backed by a shared entry-points bundle to reduce duplicated bundled code.| File | Description |
|---|---|
| upload-sarif/action.yml | Point main/post to new upload-sarif-*-entry.js wrappers. |
| start-proxy/action.yml | Point main/post to new start-proxy-*-entry.js wrappers. |
| src/workflow.test.ts | Test typing cleanup (remove type assertion). |
| src/upload-sarif.test.ts | Test update for new analysis-kind typing/indexing. |
| src/upload-sarif-action.ts | Export runWrapper (entrypoint now invoked via wrapper). |
| src/upload-sarif-action-post.ts | Export runWrapper (post entrypoint now invoked via wrapper). |
| src/upload-lib.ts | Update default CLI lookup API and pass new init/setup parameters. |
| src/testing-utils.ts | Update test fixtures/helpers for new default CLI version shape/API. |
| src/start-proxy.ts | Update default CLI selection and adapt to enabled-versions list. |
| src/start-proxy.test.ts | Update stubs for renamed CLI default API and enabled-versions shape. |
| src/start-proxy-action.ts | Export runWrapper (entrypoint now invoked via wrapper). |
| src/start-proxy-action-post.ts | Export runWrapper (post entrypoint now invoked via wrapper). |
| src/setup-codeql.ts | Add overlay-aware default CLI version selection and new parameters. |
| src/setup-codeql.test.ts | Add/adjust tests for overlay-aware default CLI selection. |
| src/setup-codeql-action.ts | Pass raw languages / analysis kinds into init for version selection. |
| src/resolve-environment-action.ts | Export runWrapper (entrypoint now invoked via wrapper). |
| src/overlay/diagnostics.ts | Add a new overlay-disabled reason for missing diff-informed analysis. |
| src/overlay/caching.ts | Deduplicate resolved language aliases before building cache key prefix. |
| src/overlay/caching.test.ts | Add test ensuring language alias de-duplication behavior. |
| src/init.ts | Thread raw languages / overlay-aware version selection through init. |
| src/init-action.ts | Use new analysis-kinds signature; compute diff ranges moved out; export wrapper. |
| src/init-action-post.ts | Export runWrapper (post entrypoint now invoked via wrapper). |
| src/init-action-post-helper.test.ts | Remove type assertion in test fixture. |
| src/feature-flags.ts | Refactor default CLI selection to return ordered enabled version set; add new FFs. |
| src/feature-flags.test.ts | Update tests for enabled-versions default CLI selection behavior. |
| src/entry-wrapper.js.tpl | New template for per-action wrapper exports inside shared bundle. |
| src/diff-informed-analysis-utils.ts | Refactor into “prepare diff-informed analysis” + persist diff ranges helper. |
| src/diff-informed-analysis-utils.test.ts | Update/expand tests for new diff-informed analysis preparation flow. |
| src/debug-artifacts.ts | Minor typing cleanup in matrix parsing. |
| src/config-utils.ts | Compute diff ranges during config init; apply overlay fallback + exclusions via helper. |
| src/config-utils.test.ts | Update existing overlay tests and add tests for incremental-analysis settings helper. |
| src/codeql.ts | Thread raw languages / overlay-aware version selection into setup pipeline. |
| src/codeql.test.ts | Update tests for new setup signature and default CLI version shape. |
| src/autobuild-action.ts | Export runWrapper (entrypoint now invoked via wrapper). |
| src/artifact-scanner.ts | Add Windows guard for archive scanning. |
| src/artifact-scanner.test.ts | Skip archive-scanning test on Windows; remove timeout override. |
| src/analyze-action.ts | Remove module-level execution; export wrapper and run action via wrapper. |
| src/analyze-action-post.ts | Export runWrapper (post entrypoint now invoked via wrapper). |
| src/analyze-action-input.test.ts | Invoke exported runWrapper instead of requiring module side effects. |
| src/analyze-action-env.test.ts | Invoke exported runWrapper instead of requiring module side effects. |
| src/analyses.ts | Require features in getAnalysisKinds; enforce single kind outside test mode unless FF enabled. |
| src/analyses.test.ts | Update tests for new getAnalysisKinds signature and new enforcement behavior. |
| src/action-entry.js.tpl | New template for per-action stub entry files requiring shared bundle. |
| setup-codeql/action.yml | Add languages + analysis-kinds inputs; point to setup-codeql-entry.js. |
| resolve-environment/action.yml | Point to resolve-environment-entry.js. |
| pr-checks/package.json | Bump yaml and @types/node. |
| package.json | Bump version to 3.35.5; remove bundle-metadata from build; bump dev deps. |
| package-lock.json | Update lockfile for dependency bumps (note: version metadata updated too). |
| lib/upload-sarif-post-entry.js | Generated entry stub (not reviewed). |
| lib/upload-sarif-entry.js | Generated entry stub (not reviewed). |
| lib/upload-lib.js | Generated JS output from TS (not reviewed). |
| lib/start-proxy-post-entry.js | Generated entry stub (not reviewed). |
| lib/start-proxy-entry.js | Generated entry stub (not reviewed). |
| lib/setup-codeql-entry.js | Generated entry stub (not reviewed). |
| lib/resolve-environment-entry.js | Generated entry stub (not reviewed). |
| lib/init-post-entry.js | Generated entry stub (not reviewed). |
| lib/init-entry.js | Generated entry stub (not reviewed). |
| lib/autobuild-entry.js | Generated entry stub (not reviewed). |
| lib/analyze-post-entry.js | Generated entry stub (not reviewed). |
| lib/analyze-entry.js | Generated entry stub (not reviewed). |
| init/action.yml | Point main/post to new init entry stubs. |
| CHANGELOG.md | Add v3.35.5 release notes. |
| build.mjs | Implement shared-bundle + per-action entry stub generation via esbuild plugin. |
| autobuild/action.yml | Point to autobuild-entry.js. |
| analyze/action.yml | Point main/post to new analyze entry stubs. |
| .github/workflows/update-release-branch.yml | Bump actions/create-github-app-token to v3.2.0. |
| .github/workflows/rollback-release.yml | Bump actions/create-github-app-token to v3.2.0. |
| .github/workflows/post-release-mergeback.yml | Bump actions/create-github-app-token to v3.2.0. |
| .github/workflows/codescanning-config-cli.yml | Simplify test workflow; remove overlay-specific env and PR/non-PR split. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| if (process.platform === "win32") { | ||
| throw new Error("Scanning archives is not supported on Windows."); | ||
| } |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I believe this is OK, because the whole process is guarded by isInTestMode().
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| // If we cannot determine whether diff-informed analysis applies (for | ||
| // example, because a feature-flag lookup failed), treat it as not | ||
| // applicable rather than triggering the overlay fallback. | ||
| logger.warning( | ||
| `Failed to determine branch information for diff-informed analysis: ${getErrorMessage(e)}`, |
| const getDefaultCliVersion = sinon | ||
| .stub(features, "getDefaultCliVersion") | ||
| .resolves({ cliVersion: "2.20.1", tagName: expectedTag }); | ||
| .stub(features, "getEnabledDefaultCliVersions") | ||
| .resolves({ | ||
| enabledVersions: [{ cliVersion: "2.20.1", tagName: expectedTag }], | ||
| }); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
True, but this is a release 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.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.