Commit Graph

2562 Commits

Author SHA1 Message Date
Chuan-kai Lin 4c82ae2356 Overlay: add automation ID to cache key
This commit adds automation ID to the overlay-base database cache key so
that we properly distinguish different analyses in the same repo for the
same language.

Since I am changing the cache key format, I also moved the CodeQL bundle
version to the end of the cache restore key, in case we want to remove
it from the restore key sometime in the future.

Note that I chose to leave CACHE_VERSION unchanged because the old and
the new cache keys are sufficiently different that there should be no
risk of confusion.
2025-09-04 14:13:15 -07:00
Michael B. Gale 2d2f57ed3a Merge pull request #3079 from github/mbg/proxy/accept-git-source
Accept `git_source` registry configurations for Go
2025-09-04 16:57:42 +01:00
Arthur Baars 5b8860ac11 Merge branch 'main' into update-bundle/codeql-bundle-v2.23.0 2025-09-04 16:57:04 +02:00
Michael B. Gale 8fe8b24202 Add git_source as supported registry type for Go 2025-09-04 14:06:50 +01:00
Michael B. Gale 6242bcbf1b Allow multiple registry types in LANGUAGE_TO_REGISTRY_TYPE 2025-09-04 13:54:49 +01:00
Michael B. Gale dfb741d27f Merge pull request #3075 from github/mbg/remove-augmentation-properties
Remove `augmentationProperties` from `Config` type
2025-09-04 11:31:20 +01:00
Michael B. Gale 37ddb03e0d Add createInitWithConfigStatusReport function 2025-09-04 10:16:25 +01:00
Michael B. Gale f2e20f52e0 Rename getDefaultConfig and update doc comment 2025-09-04 10:01:17 +01:00
Michael B. Gale 8d623f4184 Populate computedConfig in getDefaultConfig 2025-09-04 09:57:29 +01:00
Michael B. Gale 0fb047d929 Set user-provided UserConfig in getDefaultConfig 2025-09-04 09:55:00 +01:00
Michael B. Gale 1fd8a71a12 Merge pull request #3072 from github/mbg/refactor/augmentation-properties
Overlay databases: Use `Config` instead of `AugmentationProperties`
2025-09-03 16:40:50 +01:00
Michael B. Gale 87c5b58925 Remove augmentationProperties from Config 2025-09-03 12:56:58 +01:00
Michael B. Gale d332aa98b6 Use computedConfig for pack telemetry 2025-09-03 12:56:22 +01:00
Michael B. Gale 7f81363b78 Mark result of appendExtraQueryExclusions as Readonly to prevent further modification 2025-09-03 12:21:31 +01:00
Michael B. Gale e9fb72dd82 Move extraQueryExclusions out of AugmentationProperties 2025-09-03 12:13:58 +01:00
github-actions[bot] d8532d6e0e Update default bundle to codeql-bundle-v2.23.0 2025-09-02 18:16:37 +00:00
copilot-swe-agent[bot] e6103f56ce Remove redundant @types packages that ship their own types
Co-authored-by: henrymercer <14129055+henrymercer@users.noreply.github.com>
2025-09-02 17:38:29 +00:00
Michael B. Gale ac9b91e745 Move overlay db settings from AugmentationProperties to Config 2025-09-02 18:02:12 +01:00
Michael B. Gale c4d2772a75 Add computedConfig property to Config type 2025-09-02 18:01:49 +01:00
Michael B. Gale e116d9977e Stop propagating quality-queries input 2025-09-02 17:31:57 +01:00
Michael B. Gale 7f8f88e227 Use hard-coded list of quality queries, rather than quality-queries input 2025-09-02 17:31:57 +01:00
Michael B. Gale 15403aac29 Mark quality-queries input as deprecated 2025-09-02 17:31:56 +01:00
github-actions[bot] 51a96b9ecd Rebuild 2025-09-01 22:22:53 +00:00
Henry Mercer f9a0f98a39 Merge pull request #3068 from github/mergeback/v3.30.0-to-main-2d92b76c
Mergeback v3.30.0 refs/heads/releases/v3 into main
2025-09-01 16:14:20 +01:00
github-actions[bot] 8eac8cc229 Rebuild 2025-09-01 14:46:07 +00:00
Henry Mercer 09839488db Update del 2025-08-29 19:22:46 +01:00
Henry Mercer 943116bc89 Use url.pathToFileURL instead of file-url 2025-08-29 19:17:34 +01:00
Henry Mercer c2b56013b4 Update get-folder-size 2025-08-29 19:11:25 +01:00
Henry Mercer 2549c084dc Remove dependencies built into Node 2025-08-29 19:00:28 +01:00
Henry Mercer 3e493e72f7 Remove removeNPMAbsolutePaths
It's no longer needed since we aren't checking in `node_modules`.
2025-08-29 12:14:24 +01:00
Henry Mercer 6d7d2c657b Bump minor version number 2025-08-29 12:09:57 +01:00
Henry Mercer 68be0dc609 Merge branch 'main' into henrymercer/bundle 2025-08-29 12:08:22 +01:00
Michael B. Gale 270f7ad1da Fix import order in testing-utils.ts 2025-08-27 22:27:45 +01:00
Michael B. Gale d72c7f186a Use analysisKinds from config in createStatusReportBase
Replaces the synthetic value for `analysisKinds`
2025-08-27 22:25:18 +01:00
Michael B. Gale c1efb64b83 Fix missing analysisKinds in createTestConfig 2025-08-27 22:24:32 +01:00
Michael B. Gale f96201c4af Use analysisKinds to decide if Code Quality is enabled 2025-08-27 18:23:02 +01:00
Michael B. Gale 06c39b6b6f Add Code Quality to enabled analysis kinds if there is an input to quality-queries
For backwards compatibility. We should remove this once `quality-queries` is no longer in use.
2025-08-27 18:23:02 +01:00
Michael B. Gale e0104a269f Add analysis-kinds input and parse it 2025-08-27 18:23:01 +01:00
Henry Mercer d2dfa8cd83 Check in precompiled upload-lib.ts for testing environments 2025-08-27 10:59:27 +01:00
Henry Mercer e274fb816f Implement clean and copy as custom plugins 2025-08-22 13:04:36 +01:00
Henry Mercer 8a3bfe665b Transpile separately in both build and test steps
This means we avoid doing a type checking pass twice
2025-08-22 12:31:57 +01:00
Michael B. Gale d062f2b421 Change analyses to analysis_kinds 2025-08-22 11:22:09 +01:00
Michael B. Gale c208f33c55 Add analyses field with comma-separated list of analysis kinds to status reports 2025-08-21 15:31:34 +01:00
Michael B. Gale d6621b9f4e Refactor check whether CQ is enabled
This will make it easier to replace in the future
2025-08-21 15:20:19 +01:00
Henry Mercer 3e725de0bb Copy defaults.json to lib 2025-08-21 14:30:46 +01:00
Henry Mercer f04e228d36 Merge branch 'main' into henrymercer/bundle 2025-08-21 14:23:29 +01:00
Henry Mercer 88d8b86edd Check in compiled files 2025-08-21 13:47:19 +01:00
github-actions[bot] 2bf78254cc Update default bundle to codeql-bundle-v2.22.4 2025-08-21 11:31:38 +01:00
Henry Mercer db69a5182d Merge pull request #3049 from github/update-supported-enterprise-server-versions
Update supported GitHub Enterprise Server versions
2025-08-20 16:49:29 +01:00
Henry Mercer e496ff9593 Make "init not called" a configuration error 2025-08-20 14:55:28 +01:00