Chuan-kai Lin
3eaefb4deb
Replicate "too many feature flags" error in test
2025-07-16 07:06:52 -07:00
Koen Vlaswinkel
e30db30685
Ignore pre-release parts when comparing GHES versions
2025-07-16 11:51:53 +02:00
Arthur Baars
0d17ea4843
Merge pull request #2963 from github/dependabot/npm_and_yarn/npm-d16eacb461
...
Bump the npm group across 1 directory with 7 updates
2025-07-15 14:45:25 +02:00
Arthur Baars
38fdaed818
npm run build
2025-07-15 07:33:26 +00:00
github-actions[bot]
37e3c3113a
Update checked-in dependencies
2025-07-15 07:33:26 +00:00
Arthur Baars
15605b194f
Make eslint happy
2025-07-15 07:31:22 +00:00
Arthur Baars
0b8d278f47
Run: npx update-browserslist-db@latest
2025-07-15 07:30:36 +00:00
Arthur Baars
ca53360d04
Fix tests
2025-07-15 07:25:49 +00:00
Arthur Baars
bbf184bd4c
Update ava
2025-07-15 07:25:49 +00:00
github-actions[bot]
b419190c59
Update supported GitHub Enterprise Server versions
2025-07-15 00:18:48 +00:00
dependabot[bot]
0c2ac60444
Bump the npm group across 1 directory with 7 updates
...
Bumps the npm group with 6 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [@types/node-forge](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node-forge ) | `1.3.11` | `1.3.12` |
| [@ava/typescript](https://github.com/avajs/typescript ) | `4.1.0` | `6.0.0` |
| [@eslint/compat](https://github.com/eslint/rewrite/tree/HEAD/packages/compat ) | `1.1.1` | `1.3.1` |
| [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js ) | `9.28.0` | `9.30.1` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `8.33.1` | `8.35.1` |
| [sinon](https://github.com/sinonjs/sinon ) | `20.0.0` | `21.0.0` |
Updates `@types/node-forge` from 1.3.11 to 1.3.12
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node-forge )
Updates `@ava/typescript` from 4.1.0 to 6.0.0
- [Release notes](https://github.com/avajs/typescript/releases )
- [Commits](https://github.com/avajs/typescript/compare/v4.1.0...v6.0.0 )
Updates `@eslint/compat` from 1.1.1 to 1.3.1
- [Release notes](https://github.com/eslint/rewrite/releases )
- [Changelog](https://github.com/eslint/rewrite/blob/main/packages/compat/CHANGELOG.md )
- [Commits](https://github.com/eslint/rewrite/commits/compat-v1.3.1/packages/compat )
Updates `@eslint/js` from 9.28.0 to 9.30.1
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/commits/v9.30.1/packages/js )
Updates `@typescript-eslint/eslint-plugin` from 8.33.1 to 8.35.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.35.1/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 8.33.1 to 8.35.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.35.1/packages/parser )
Updates `sinon` from 20.0.0 to 21.0.0
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/commits )
---
updated-dependencies:
- dependency-name: "@types/node-forge"
dependency-version: 1.3.12
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: "@ava/typescript"
dependency-version: 6.0.0
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm
- dependency-name: "@eslint/compat"
dependency-version: 1.3.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@eslint/js"
dependency-version: 9.30.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-version: 8.35.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
dependency-version: 8.35.1
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
- dependency-name: sinon
dependency-version: 21.0.0
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-14 20:52:48 +00:00
Koen Vlaswinkel
6f936b5c2d
Merge pull request #2969 from github/koesie10/fix-ghes-version-parsing
...
Fix parsing of GHES pre-release versions
2025-07-14 13:42:48 +02:00
Koen Vlaswinkel
c6a6c1490f
Move comment to JSDoc
2025-07-14 13:18:38 +02:00
Michael B. Gale
4e20239e7b
Merge pull request #2951 from github/update-supported-enterprise-server-versions
...
Update supported GitHub Enterprise Server versions
2025-07-14 10:39:53 +01:00
Koen Vlaswinkel
59d67fc4bf
Fix parsing of GHES pre-release versions
2025-07-14 11:25:20 +02:00
Chuan-kai Lin
b37e7e2c5d
Move initializeFeatures() to testing-utils
...
This change eliminates the need for setup-codeql.test to import from
feature-flags.test, which makes the former run all tests defined in the
latter.
2025-07-11 09:54:40 -07:00
Chuan-kai Lin
90d7727554
Overlay: check code-scanning features
2025-07-10 14:16:19 -07:00
Chuan-kai Lin
fb771764cb
Extract generateCodeScanningConfig()
2025-07-10 14:14:46 -07:00
Chuan-kai Lin
d799ff5e6a
Overlay: check per-language features
2025-07-10 14:14:14 -07:00
Chuan-kai Lin
9f70a5fc86
Overlay: define language-specific features
2025-07-10 11:09:28 -07:00
Chuan-kai Lin
55cb6b8b94
Extract isOverlayAnalysisFeatureEnabled()
2025-07-10 10:48:43 -07:00
Chuan-kai Lin
4bdb7fe04f
Overlay database mode tests: list features
...
Before we introduce additional features for controlling overlay analysis
enablement, change the unit tests to specify features directly instead
of through a isFeatureEnabled boolean field.
2025-07-10 10:46:32 -07:00
Chuan-kai Lin
64fce5856f
Use exclude-from-incremental also for overlay analysis
2025-07-09 14:32:05 -07:00
Chuan-kai Lin
fe7205c739
Move getOverlayDatabaseMode() call into initConfig()
...
In an upcoming change, getOverlayDatabaseMode() will depend on the
contents of Config. As a result, getOverlayDatabaseMode() needs to be
called after the rest of Config has already been populated.
This commit performs the refactoring to move the
getOverlayDatabaseMode() into initConfig(), after the rest of Config has
already been populated.
2025-07-09 14:32:05 -07:00
Chuan-kai Lin
4cd7a721f7
Remove loadConfig()
...
The loadConfig() function is mostly the same as getDefaultConfig(),
except that it calls loadUserConfig() and stores the results in
originalUserInput.
This refactoring commit replaces the loadConfig() call with
getDefaultConfig() and loadUserConfig(), which allows deleting a large
amount of duplicated code.
2025-07-09 14:32:05 -07:00
Chuan-kai Lin
f4358b38d1
Extract loadUserConfig()
2025-07-09 14:32:05 -07:00
Koen Vlaswinkel
f53ec7c550
Merge pull request #2961 from github/koesie10/disable-combine-sarif-files-ghes
...
Unconditionally disable combining SARIF files for GHES 3.18
codeql-bundle-v2.22.2
2025-07-08 10:01:06 +02:00
Chuan-kai Lin
624d0bca90
Merge pull request #2945 from github/cklin/overlay-analysis
...
Basic support for overlay PR analysis
2025-07-07 08:41:24 -07:00
Chuan-kai Lin
ec836d6b8a
build: refresh js files
2025-07-07 08:15:20 -07:00
Chuan-kai Lin
95a1b7e2bf
Add getOverlayDatabaseMode() tests
2025-07-07 08:14:41 -07:00
Chuan-kai Lin
8c5122ea75
Add getPullRequestBranches() tests
2025-07-07 08:13:06 -07:00
Koen Vlaswinkel
aafbeb29bc
Unconditionally disable combining SARIF files for GHES 3.18
2025-07-04 15:24:36 +02:00
Chuan-kai Lin
6a51e635a5
Add "overlay" to SARIF incrementalMode run property
2025-07-03 12:35:25 -07:00
Chuan-kai Lin
42835b3971
Override cleanup-level for overlay-base database
2025-07-03 12:35:25 -07:00
Chuan-kai Lin
2fc04c80cc
Download overlay-base database from actions cache
2025-07-03 12:35:25 -07:00
Chuan-kai Lin
b95402dae1
Extract checkOverlayBaseDatabase()
2025-07-03 12:35:24 -07:00
Chuan-kai Lin
6ca06f41c4
Upload overlay-base database to actions cache
2025-07-03 12:35:24 -07:00
Chuan-kai Lin
d42ce71087
Add AugmentationProperties.useOverlayDatabaseCaching
...
This commit adds useOverlayDatabaseCaching to AugmentationProperties to
indicate whether the action should upload overlay-base databases to the
actions cache and to download a cached overlay-base database when
creating an overlay database.
2025-07-03 12:35:24 -07:00
Chuan-kai Lin
b4425372ef
Limit OverlayAnalysis to internal repos
2025-07-03 12:35:24 -07:00
Chuan-kai Lin
93e8729640
getOverlayDatabaseMode: use Feature.OverlayAnalysis
...
This commit changes getOverlayDatabaseMode so that, when
Feature.OverlayAnalysis is enabled, it calculates the overlay database
mode automatically based on analysis metadata. If we are analyzing the
default branch, use OverlayBase, and if we are analyzing a PR, use
Overlay.
If CODEQL_OVERLAY_DATABASE_MODE is set to a valid overlay database mode,
that environment variable still takes precedence.
2025-07-03 12:35:24 -07:00
Chuan-kai Lin
da758dc0cd
Add Feature.OverlayAnalysis
2025-07-03 12:35:24 -07:00
Chuan-kai Lin
60a2a7d623
Add isAnalyzingPullRequest()
2025-07-03 12:35:24 -07:00
Chuan-kai Lin
a336faa497
databaseInitCluster: use overlayDatabaseMode from config
...
This commit changes databaseInitCluster() to use overlayDatabaseMode
from AugmentationProperties instead of the overlayDatabaseMode
parameter. There is no behavior change because both overlayDatabaseMode
values are computed the same way.
The commit then cleans up the overlayDatabaseMode parameter and the code
paths that feed into it.
2025-07-03 12:35:24 -07:00
Chuan-kai Lin
ee8a8c4e0b
config-utils: populate getOverlayDatabaseMode()
...
This commit populates getOverlayDatabaseMode() in config-utils with the
same code from getOverlayDatabaseMode() in init.
2025-07-03 12:35:24 -07:00
Chuan-kai Lin
9022c7382c
Add AugmentationProperties.overlayDatabaseMode
...
This commit adds overlayDatabaseMode to AugmentationProperties and
creates a placeholder getOverlayDatabaseMode() function, with the
necessary inputs, to populate it.
2025-07-03 12:35:24 -07:00
Paolo Tranquilli
34786468fa
Rust: remove shipped feature flag
2025-07-03 15:43:01 +02:00
Michael B. Gale
b69421388d
Merge pull request #2956 from github/mbg/start-proxy/validation-improvements
...
Improve JSON validation in `start-proxy` action
2025-07-03 12:23:56 +01:00
Koen Vlaswinkel
33f84897c3
Merge pull request #2959 from github/koesie10/remove-combine-runs
...
Remove support for combining SARIF runs with non-unique categories
2025-07-02 14:34:01 +02:00
Koen Vlaswinkel
612df8d91c
Remove support for combining SARIF runs with non-unique categories
2025-07-01 15:20:28 +02:00
Michael B. Gale
dcc1a6637b
Merge pull request #2958 from github/mergeback/v3.29.2-to-main-181d5eef
...
Mergeback v3.29.2 refs/heads/releases/v3 into main
2025-06-30 14:15:46 +01:00