Michael B. Gale
1bfb67dae0
Refactor combining queries into its own function
2025-09-20 14:09:08 +01:00
Michael B. Gale
781a65ae32
Use appropriate error message in parseQueriesFromInput for repo property input
2025-09-20 14:09:08 +01:00
Michael B. Gale
ed216a06d2
Include queries from repo properties in AugmentationProperties
2025-09-20 14:09:07 +01:00
Michael B. Gale
6150aff57f
Add and use QuerySpec type
2025-09-20 14:09:07 +01:00
Michael B. Gale
3b00d03019
Load repository properties and store them in the Config
2025-09-20 14:09:07 +01:00
Michael B. Gale
4f9b2f7f06
Add initial client for repository properties
2025-09-20 14:09:06 +01:00
Michael B. Gale
96ca55b157
Ava: Run all tests in src/ directory
2025-09-20 14:06:54 +01:00
Michael B. Gale
0337c4c06e
Merge pull request #3123 from github/mbg/fix/upload-sarif-cq-only
2025-09-19 18:48:48 +01:00
Chuan-kai Lin
c22ae04dd3
Merge pull request #3125 from github/cklin/overlay-restore-timeout
...
Overlay: use restoreCache() timeout
2025-09-19 10:25:21 -07:00
Chuan-kai Lin
80273e2bc1
Overlay: use restoreCache() timeout
...
This commit changes overlay-base database download to pass the
segmentTimeoutInMs option to restoreCache(), so that restoreCache()
itself can properly abort slow downloads.
The waitForResultWithTimeLimit() wrapper around restoreCache() remains
as a second line of defense, but with a higher 10-minute time limit, to
guard against cache restore hangs outside segment downloads.
2025-09-19 09:40:09 -07:00
Michael B. Gale
dc1166cacb
Move tests for functions now in db-config
2025-09-19 17:16:41 +01:00
Michael B. Gale
ddc6d540f0
Move AugmentationProperties out of config-utils
2025-09-19 17:08:17 +01:00
Michael B. Gale
6222edff53
Move error messages from config-utils to their own file
2025-09-19 17:08:09 +01:00
Michael B. Gale
3305d21389
Move UserConfig to its own file
2025-09-19 17:08:00 +01:00
Michael B. Gale
db37d924ee
Fix condition
2025-09-19 16:17:34 +01:00
Michael B. Gale
6249793233
Disable cpp in upload-quality-sarif check
2025-09-19 16:17:33 +01:00
Michael B. Gale
e33b0ab3ac
Update upload-quality-sarif check to only use code-quality
2025-09-19 16:17:33 +01:00
Michael B. Gale
7bea0e2e12
Fix outdated comment
2025-09-19 16:17:33 +01:00
Michael B. Gale
d378195403
Add new sarif-ids output to upload-sarif action
...
Unlike `sarif-id` which is for the single Code Scanning SARIF id, `sarif-ids` contains stringified JSON object with details of all SARIF ids.
2025-09-19 16:17:31 +01:00
Chuan-kai Lin
12dda79905
Merge pull request #3124 from github/cklin/rename-withtimeout
...
Rename withTimeout() to waitForResultWithTimeLimit()
2025-09-18 13:34:56 -07:00
Michael B. Gale
a2ce099060
Use findAndUpload for Code Scanning
2025-09-18 16:29:25 +01:00
Michael B. Gale
696b467654
Handle single file case in findAndUpload
2025-09-18 16:29:23 +01:00
Michael B. Gale
c8e017d3e7
Move isDirectory check into findAndUpload
2025-09-18 16:28:39 +01:00
Chuan-kai Lin
8185897cad
Rename withTimeout() to waitForResultWithTimeLimit()
...
The name withTimeout() gives the impression that it would limit the
execution of the promise to the given time bound. But that is not the
case: it is only the _waiting_ that is limited, and the promise would
keep running beyond the time bound.
This commit renames withTimeout() to waitForResultWithTimeLimit() so
that developers are more likely to understand the actual behavior of
this function.
2025-09-18 08:27:36 -07:00
Michael B. Gale
a6161a8092
Call lstatSync on sarifPath earlier and check that the path exists then
2025-09-18 14:13:17 +01:00
Michael B. Gale
35454d39b2
Refactor CQ SARIF upload in upload-sarif into a function
2025-09-18 14:13:14 +01:00
Henry Mercer
b73659a4ff
Merge pull request #3122 from felickz/main
...
Update ref description in action.ymls to include expected format for uploads
2025-09-18 09:52:36 +01:00
Chad Bentz
2f35a47982
Update upload-sarif/action.yml
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-17 19:07:57 -04:00
Chad Bentz
242ca1c0a1
Update ref description in action.ymls to include expected format for uploads
2025-09-17 19:02:50 -04:00
Henry Mercer
573acd9552
Merge pull request #3115 from github/dependabot/npm_and_yarn/npm-75b7851ed5
...
Bump uuid from 12.0.0 to 13.0.0 in the npm group
codeql-bundle-v2.23.1
2025-09-15 18:38:40 +01:00
github-actions[bot]
668f0f00da
Rebuild
2025-09-15 17:18:08 +00:00
dependabot[bot]
0b263ec528
Bump uuid from 12.0.0 to 13.0.0 in the npm group
...
Bumps the npm group with 1 update: [uuid](https://github.com/uuidjs/uuid ).
Updates `uuid` from 12.0.0 to 13.0.0
- [Release notes](https://github.com/uuidjs/uuid/releases )
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v12.0.0...v13.0.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-version: 13.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-15 17:16:56 +00:00
Michael B. Gale
9e5383b3b1
Merge pull request #3113 from github/nickrolfe/minimize-jars-followup
...
Only enable Java dependency minimisation when caching is enabled
2025-09-15 16:57:27 +01:00
Henry Mercer
8279538f3d
Merge pull request #3114 from github/henrymercer/pr-checks-codeql-2.22
...
Run PR checks over CodeQL v2.22 release series
2025-09-15 16:52:03 +01:00
Henry Mercer
86f23c3336
Run PR checks over CodeQL v2.22 release series
2025-09-15 16:34:20 +01:00
Henry Mercer
77c3d2533d
Merge pull request #3112 from github/henrymercer/scan-python
...
CI: Configure Python analysis
2025-09-15 16:25:56 +01:00
Henry Mercer
1069ace04e
Update .github/workflows/codeql.yml
2025-09-15 16:09:21 +01:00
Nick Rolfe
4014b75309
Only enable JAVA dependency minimisation when caching is enabled
2025-09-15 15:11:28 +01:00
Henry Mercer
bce0fa7b27
Remove build mode from matrix
2025-09-15 14:45:40 +01:00
Henry Mercer
8105843d42
Specify paths-ignore for other languages
2025-09-15 14:20:15 +01:00
Henry Mercer
61b8b636e3
Only upload a single matrix case for JS
2025-09-15 14:15:05 +01:00
Henry Mercer
73ead84d0a
Reorder strategy properties
2025-09-15 14:12:47 +01:00
Henry Mercer
793fe1783c
CI: Configure Python analysis
2025-09-15 14:10:32 +01:00
Paolo Tranquilli
aa90e97ad2
Merge pull request #3091 from github/redsun82/fix-windows-ci
...
Set `shell: bash` by default on all workflows
2025-09-12 18:47:08 +02:00
Paolo Tranquilli
2b7d487cf8
Update .github/workflows/codeql.yml
...
Co-authored-by: Henry Mercer <henrymercer@github.com >
2025-09-12 18:20:44 +02:00
Paolo Tranquilli
f92cc3a0e7
Merge pull request #3065 from github/redsun82/update-brace-expansion
...
Use brace-expansion >2.0.1
2025-09-12 16:06:42 +02:00
Nick Rolfe
185266a022
Merge pull request #3107 from github/nickrolfe/minimize-jars
...
Add feature flag to roll out JAR minimization in the Java extractor
2025-09-12 13:09:42 +01:00
Paolo Tranquilli
a1244387b0
Merge branch 'main' into redsun82/update-brace-expansion
2025-09-12 13:44:46 +02:00
Michael B. Gale
dc9a47dceb
Merge pull request #3110 from github/mbg/proxy/fetch-from-release
...
Fetch proxy binaries from `defaults.json` release
2025-09-12 12:38:15 +01:00
Nick Rolfe
3ca9525ddd
Add changelog entry for Java dependency minimization rollout
2025-09-12 12:10:05 +01:00