Koen Vlaswinkel
7c29971135
Add combine_sarif_files_deprecation_warning_enabled feature flag
2024-04-26 14:36:55 +02:00
Koen Vlaswinkel
a5e49d1544
Extract check for combine SARIF files deprecation warning
2024-04-26 14:36:54 +02:00
Koen Vlaswinkel
24acd7711e
Set correct changelog URL
2024-04-26 14:23:51 +02:00
Koen Vlaswinkel
8b0dfa84c7
Add deprecation warning for merging SARIF files with non-unique categories
2024-04-26 14:22:30 +02:00
Angela P Wen
ac2f82a1ff
Log warning if SIP is disabled and CLI version is < 2.15.1 ( #2261 )
...
* PR Checks: use `macos-12` runners for CLI v. < 2.15.1
Prior to CLI v2.15.1, MacOS ARM runners were not supported by the build tracer. "macos-latest" is now an ARM runner, so we run these tests on the old CLIs on Intel runners instead.
* Log a warning if SIP is disabled and CLI is < 2.15.1
* Add changenote for SIP-disabled support on old CLI versions
* Set up Python 3.11 for all MacOS checks
2024-04-25 22:20:13 +00:00
Alexander Eyers-Taylor
79d9ee7f07
Merge branch 'main' into update-bundle/codeql-bundle-v2.17.1
2024-04-24 16:33:51 +01:00
Henry Mercer
1be8c488eb
Add configuration error for failing to clone external Git repo
2024-04-19 19:44:05 +01:00
github-actions[bot]
501f5f5716
Update default bundle to codeql-bundle-v2.17.1
2024-04-17 10:06:36 +00:00
Koen Vlaswinkel
5d73b1bd71
Remove incorrect log message
2024-04-17 10:20:46 +02:00
Henry Mercer
ef66aeacbf
Merge branch 'main' into henrymercer/ignore-already-specified-flags
2024-04-16 19:01:20 +01:00
Henry Mercer
18111b696b
Merge pull request #2235 from github/henrymercer/autobuild-with-direct-tracing
...
Improve reliability and performance when using the `autobuild` build mode
2024-04-16 18:59:43 +01:00
Henry Mercer
ade98b980a
Ensure --overwrite flag is only passed once
2024-04-16 18:10:18 +01:00
Henry Mercer
8566d50a79
Add regression test for double --overwrite
2024-04-16 18:10:17 +01:00
Henry Mercer
ea78e51e31
Merge branch 'main' into henrymercer/autobuild-with-direct-tracing
2024-04-15 18:29:26 +01:00
Henry Mercer
e006461bad
Mark some upload-sarif errors as always configuration errors
2024-04-15 15:52:19 +01:00
Henry Mercer
a22989dcd4
Mark commit not found as a user error too
2024-04-15 13:14:52 +01:00
Michael B. Gale
2b2cee5229
Merge pull request #2234 from github/mbg/clearer-file-command-failure
2024-04-15 10:30:28 +01:00
Henry Mercer
55585360a3
Add configuration error for unsupported build mode
2024-04-12 18:30:45 +01:00
Henry Mercer
fa75c144b4
Capture rate limit and ref not existing config errors
2024-04-12 18:25:10 +01:00
Henry Mercer
cbe29f55df
Run autobuild script via direct tracing when feature enabled
2024-04-12 17:07:08 +01:00
Henry Mercer
8f057a3d8e
Apply network timeout fix to extraction with direct tracing
2024-04-12 17:07:08 +01:00
Henry Mercer
3d49faaabb
Use extraction via build mode in autobuild Action when available
2024-04-12 17:07:08 +01:00
Henry Mercer
e37d0f3e7c
Use direct tracing when autobuild build mode specified
...
Behind a flag, for now
2024-04-12 17:06:35 +01:00
Henry Mercer
5b74166227
Move BuildMode to util.ts
2024-04-12 16:37:13 +01:00
Henry Mercer
829376a618
Allow feature flags to specify tool feature requirements
2024-04-12 16:15:12 +01:00
Michael B. Gale
efc474680f
Downgrade log levels for some messages to debug
2024-04-12 14:04:44 +01:00
Michael B. Gale
93f93fc2ad
Include "Linux" in diagnostic name and message
2024-04-12 14:01:43 +01:00
Michael B. Gale
1ac88f37c7
Unconditionally report unwritten diagnostics at the end of the init Action
2024-04-12 14:00:33 +01:00
Michael B. Gale
3901d1208a
Unify error messages in getFileType
2024-04-12 13:22:28 +01:00
Michael B. Gale
4b0172d9c2
Store diagnostics in memory until the database is available
2024-04-11 17:21:17 +01:00
Michael B. Gale
d4e7b0e493
Check that the database exists before writing diagnostics to it
2024-04-11 17:20:51 +01:00
Michael B. Gale
1829b70201
Emit diagnostic if file is not installed
2024-04-11 17:20:48 +01:00
Michael B. Gale
8ea1a11e72
Produce a clearer error message when file is not installed
2024-04-11 12:57:47 +01:00
Henry Mercer
987236cc0f
Merge branch 'main' into henrymercer/remove-support-codeql-2.12.5
2024-04-09 18:57:26 +01:00
Henry Mercer
1a60a91726
Remove support for CodeQL v2.12.5 and earlier
2024-04-09 12:29:14 +01:00
Henry Mercer
8f1e24411b
Bump minimum CodeQL Bundle version to 2.12.6
2024-04-09 12:19:20 +01:00
github-actions[bot]
218c52e7c7
Rebuild
2024-04-09 10:47:15 +00:00
Henry Mercer
dd2106d0d1
Merge branch 'main' into RasmusWL/remove-python-dep-inst
2024-04-09 11:45:03 +01:00
Rasmus Wriedt Larsen
7c23a5e578
Fix lint
2024-04-08 13:05:34 +02:00
Rasmus Wriedt Larsen
746a1af6ad
Rebuild
2024-04-08 12:02:58 +02:00
Rasmus Wriedt Larsen
1f8d877ef2
fix comment
2024-04-08 12:02:45 +02:00
Rasmus Wriedt Larsen
d33e75159d
Warn on deprecated Python dep inst config usage
2024-04-08 11:58:31 +02:00
github-actions[bot]
bcb5e6e0b8
Rebuild
2024-04-08 09:27:23 +00:00
Rasmus Wriedt Larsen
4e8e3439dd
Merge branch 'main' into RasmusWL/remove-python-dep-inst
2024-04-08 10:25:42 +02:00
Andrew Eisenberg
4a666f8539
Add the overwrite flag when init-ing databases
...
This ensures that if there is a database already in the filesystem, we
can gracefully handle creating a new one. This sometimes happens when
a user is on a self-hosted runner and neglects to clean state across
runs.
2024-04-05 15:02:18 -07:00
Angela P Wen
7df281f2fe
Gracefully continue if createStatusReportBase throws ( #2225 )
...
Previously, we weren't catching any possible exceptions in `createStatusReportBase` and runs would fail if any of the telemetry sub-items threw exceptions. As telemetry should not block the analysis, we continue here even if the status report throws.
2024-04-04 15:26:14 -07:00
Nick Fyson
5f535debfe
Merge pull request #2221 from github/nickfyson/upload-logging
...
improve logging coverage during sarif upload
2024-04-04 17:30:55 +01:00
Rasmus Wriedt Larsen
6ab7733abd
build
2024-04-04 17:15:39 +02:00
Chuan-kai Lin
65e69c8a4b
Merge branch 'main' into update-bundle/codeql-bundle-v2.17.0
2024-04-04 07:23:39 -07:00
nickfyson
c037115ddf
clarify logging in response to pr review comments
2024-04-03 21:19:06 +01:00