Michael B. Gale
d7a8ae5fdd
Include first 10 errors in exception message
2025-10-17 15:09:05 +01:00
Michael B. Gale
0822fb12e7
Log validation errors
2025-10-17 15:09:04 +01:00
Michael B. Gale
913cd47984
Add checkExpectedLogMessages function to testing-utils
2025-10-17 15:09:04 +01:00
Michael B. Gale
4f14649ced
Add additional regex to CliConfigErrorCategory.PackCannotBeFound
2025-10-17 15:09:03 +01:00
Michael B. Gale
ac922ab562
Add and validate UserConfig schema
2025-10-17 15:09:01 +01:00
Michael B. Gale
66df0bc515
Add and use parseUserConfig
...
- Throws a `ConfigurationError` if parsing the YAML fails
- Add a couple of tests for it
2025-10-17 15:08:59 +01:00
Michael B. Gale
697c209bfc
Merge remote-tracking branch 'origin/main' into mbg/init/starting-partial-config
2025-10-17 14:21:44 +01:00
Henry Mercer
77e5c0d0a2
Merge branch 'main' into update-bundle/codeql-bundle-v2.23.3
2025-10-17 13:53:02 +01:00
Michael B. Gale
fa7bdf0559
Call getAnalysisKinds a second time, and ignore exceptions thrown during the first call
2025-10-17 13:40:18 +01:00
Michael B. Gale
57c7b0a884
Rename initAnalysisKinds to getAnalysisKinds and cache results
2025-10-17 13:33:55 +01:00
Michael B. Gale
4874f90a8d
Merge branch 'main' into mbg/setup-codeql
2025-10-17 13:32:40 +01:00
Michael B. Gale
9bd9b03572
Remove now unused qualityQueriesInput from InitConfigInputs
2025-10-17 13:22:41 +01:00
Michael B. Gale
c0e8887d5a
Throw a ConfigurationError if setup-codeql has run before init
2025-10-17 12:17:47 +01:00
Michael B. Gale
3c8d00aea0
Initialise analysis kinds before starting status report
2025-10-17 11:46:35 +01:00
Michael B. Gale
bc93b04b0c
Add initAnalysisKinds for analysis-kinds enablement logic
2025-10-17 11:43:00 +01:00
Michael B. Gale
adf39dd33f
Add function for starting status report
2025-10-17 11:16:00 +01:00
Michael B. Gale
000295122d
Use failure instead of aborted
2025-10-16 19:05:03 +01:00
Michael B. Gale
2611d033d7
De-duplicate InitToolsDownloadFIelds definition
2025-10-16 19:03:46 +01:00
Michael B. Gale
db6938a4d0
Change check to be restrictive by default
2025-10-16 15:06:19 +01:00
Michael B. Gale
c77b3fb96e
Skip failed SARIF upload if analysis-kinds: code-quality
2025-10-16 14:27:17 +01:00
Michael B. Gale
2a54ab5016
Fix init-action-post-helper tests using broken Configs
2025-10-16 14:18:51 +01:00
github-actions[bot]
8d0251c1f7
Update default bundle to codeql-bundle-v2.23.3
2025-10-14 12:53:17 +00:00
Michael B. Gale
e72fd9acb1
Add initial setup-codeql action
2025-10-12 14:14:06 +01:00
Michael B. Gale
4704ab1869
Fix swapped log levels
2025-10-10 14:42:09 +01:00
Michael B. Gale
dc2ced8385
Add tests for scenarios where the feature is unavailable
2025-10-10 14:39:59 +01:00
Michael B. Gale
5c752c85dd
Add test macro for fallback tests
2025-10-10 14:39:58 +01:00
Michael B. Gale
524b9a00e8
Fix log message swap
2025-10-10 14:04:39 +01:00
Michael B. Gale
a512fe0868
Gate tools: toolcache behind FF
...
Mainly to allow us to disable it, if needed.
2025-10-10 13:49:06 +01:00
Michael B. Gale
62f0f21c3c
Add AllowToolcacheInput feature
2025-10-10 13:27:50 +01:00
Paolo Tranquilli
610c7c68e3
Address review
2025-10-09 15:24:02 +02:00
Paolo Tranquilli
ff2fc66cc1
Simplify uploadPayload tests
2025-10-09 12:31:00 +02:00
Paolo Tranquilli
a841c540b7
Scratch uploadSpecifiedFiles tests, make uploadPayload tests instead
2025-10-09 12:18:14 +02:00
Paolo Tranquilli
aeb12f6eaa
Merge branch 'main' into redsun82/skip-sarif-upload-tests
2025-10-09 11:38:10 +02:00
Henry Mercer
6fd4ceb7bb
Merge pull request #3189 from github/henrymercer/download-codeql-rate-limit
...
Add configuration error for rate limited CodeQL download
2025-10-08 15:11:29 +01:00
Henry Mercer
98abb870dc
Add configuration error for rate limited CodeQL download
2025-10-08 14:43:54 +01:00
Michael B. Gale
bdd2cdf891
Also include language in error status report for start-proxy, if available
2025-10-08 13:13:04 +01:00
Michael B. Gale
fb148789ab
Include languages in start-proxy telemetry
2025-10-08 13:01:35 +01:00
Michael B. Gale
2ff418f28a
Parse language before calling getCredentials
2025-10-08 13:01:35 +01:00
Michael B. Gale
527501d15d
Allow createStatusReportBase to accept a Partial<Config>
2025-10-08 13:01:35 +01:00
Paolo Tranquilli
621809b239
Address copilot review
2025-10-08 12:24:49 +02:00
Paolo Tranquilli
8301b8b096
Merge pull request #3180 from github/redsun82/skip-sarif-upload
...
Introduce `CODEQL_ACTION_SKIP_SARIF_UPLOAD`
2025-10-08 12:09:54 +02:00
Nick Rolfe
7bdfa9736a
Merge pull request #3184 from github/nickrolfe/go-overlay
...
Overlays: allow any build mode for Go
2025-10-08 10:48:40 +01:00
Paolo Tranquilli
a57997f2d2
Fix test after rebase
2025-10-08 09:34:48 +02:00
Paolo Tranquilli
4489a63a9d
Add unit tests for uploadSpecifiedFiles
2025-10-08 09:34:48 +02:00
Paolo Tranquilli
d05f2255a0
Tweak comment
2025-10-08 09:34:01 +02:00
Nick Rolfe
7892cb2362
Overlays: allow any build mode for Go
...
We have a check that a traced language can only run overlay analysis
with build-mode: none, but Go does not currently declare support for
BMN, even though it has a similar autobuild mode that will work for
overlay analysis.
This commit adds a hard-coded exception to that check, allowing any
build mode for Go. This is intended as a short-term solution until Go
declares BMN support. It should be safe, since we can choose not to
enable the feature flag for Go repos using traced builds.
2025-10-07 17:45:08 +01:00
Paolo Tranquilli
df65651d4f
Merge branch 'main' into redsun82/skip-sarif-upload
2025-10-07 17:17:13 +02:00
Paolo Tranquilli
1b09eb4ccc
Address review
2025-10-07 17:17:06 +02:00
Michael B. Gale
0ba4970165
Merge branch 'main' into mbg/setup/toolcache
2025-10-07 10:09:12 +01:00
Paolo Tranquilli
86b2ad6646
Remove unneeded comment
2025-10-07 10:36:45 +02:00