Angela P Wen
7e27807413
Only run check SIP enablement once in init step ( #2441 )
...
Co-authored-by: Henry Mercer <henrymercer@github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-23 09:17:22 -07:00
Angela P Wen
202b3b97bf
Stop checking disk usage for MacOS ARM with SIP disabled ( #2434 )
...
* Stop checking disk usage for MacOS ARM with SIP disabled
On MacOS ARM machines where SIP is disabled, after the build tracer is initialized in the `init` Action, we receive warnings when we run send status reports due to the `df` binary. This change will make it so that we no longer run `df` for those machines.
2024-08-20 16:04:03 -07:00
Henry Mercer
41833c77c6
Log job run UUID
2024-08-13 11:50:31 +01:00
Henry Mercer
50357f5d12
Add telemetry for time spent extracting CodeQL bundle
2024-08-08 17:46:21 +01:00
Remco Vermeulen
7c2bec0cc3
Merge remote-tracking branch 'upstream/main' into rvermeulen/extend-init-complete-status-report
2024-08-06 09:11:17 -07:00
Henry Mercer
48c11ed2ba
Remove supporting code for CodeQL 2.13.0 through 2.13.4
2024-08-05 19:28:35 +01:00
Remco Vermeulen
0f24d46599
Merge branch 'main' into rvermeulen/extend-init-complete-status-report
...
Signed-off-by: Remco Vermeulen <rvermeulen@github.com >
2024-08-02 15:12:59 -07:00
Remco Vermeulen
e6c9383ca6
Explicitly set value of registries and query_filters when undefined
...
Both are arrays, so we will use an empty array if they are undefined.
2024-08-02 15:02:48 -07:00
Angela P Wen
9c646c24a4
Add warning and update PR checks for Swift on Linux ( #2399 )
...
* PR checks: Only run Swift build command on MacOS
* PR checks: update to only test Swift on MacOS
* Log warning if workflow is running Swift on Ubuntu
---------
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2024-08-02 16:27:45 +02:00
Remco Vermeulen
ba3ac6f096
Clone packs from configuration to prevent modifications
2024-07-31 17:59:46 -07:00
Remco Vermeulen
19a1da54d1
Update map and minified JS files
2024-07-31 13:41:41 -07:00
Matt Schwager
e1f83c153a
Fix #2367 , add codeql-version to outputs
2024-07-10 11:58:42 -04:00
Henry Mercer
a52b209ec8
Enable direct tracing the autobuild build mode by default
2024-06-26 19:38:13 +01:00
Alexandre Boulgakov
c82e2452bb
Remove C++ TRAP caching feature flag in favour of CLI v2.17.5 check.
2024-06-17 17:42:58 +01:00
Henry Mercer
1354fe5355
Attempt to clean up the database cluster directory
...
This will help to avoid issues where the database cluster directory is left in an inconsistent state.
2024-06-12 13:19:30 +01: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
Henry Mercer
ea78e51e31
Merge branch 'main' into henrymercer/autobuild-with-direct-tracing
2024-04-15 18:29:26 +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
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
4b0172d9c2
Store diagnostics in memory until the database is available
2024-04-11 17:21:17 +01:00
Michael B. Gale
1829b70201
Emit diagnostic if file is not installed
2024-04-11 17:20:48 +01: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
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
Rasmus Wriedt Larsen
6ab7733abd
build
2024-04-04 17:15:39 +02:00
Henry Mercer
2307ff547f
Add languages and build_mode to init success status report
2024-02-29 12:18:19 +00:00
Henry Mercer
c0917251d4
Refactoring: Convert ActionName to enum
2024-02-29 11:29:32 +00:00
Henry Mercer
166b8a70b8
Merge branch 'main' into henrymercer/status-report-new-fields
2024-02-27 12:28:24 +00:00
Henry Mercer
2c235f1a60
Use comma-separated list
2024-02-27 11:54:36 +00:00
Henry Mercer
60465730fb
Add event name to status report
2024-02-26 19:36:37 +00:00
Henry Mercer
28b564f8c6
Add languages to the status report for all jobs
2024-02-26 19:03:28 +00:00
Henry Mercer
eb991df649
Only warn about path filters for CLIs that don't warn
2024-02-22 21:07:29 +00:00
nickfyson
a7dc229496
add first_party_analysis boolean to all status reports
2024-02-20 14:58:26 +00:00
Henry Mercer
4e5f9c0873
Introduce a rollback mechanism for Java buildless
2024-02-12 23:11:48 +00:00
Josh Soref
5a6da1d85d
Treat status reports as non-critical
...
Change `sendStatusReport` to `void`
2024-02-12 13:56:10 -05:00
Angela P Wen
1515e2bb20
Refactor configuration errors ( #2105 )
...
Refactor the existing classes of configuration errors into their own file; consolidate the place we check for configuration errors into `codeql.ts`, where the actual command invocations happen.
Also, rename the `UserError` type to `ConfigurationError` to standardize on a single term.
2024-02-08 17:20:03 +00:00
Henry Mercer
55c1fd5777
Introduce codeql.supportsFeature
...
This is a slightly simpler API
2024-01-30 21:53:24 +00:00
Henry Mercer
0166a8a567
Add build mode to configuration
2024-01-30 19:10:37 +00:00
Henry Mercer
ec42edcaab
Refactoring: Create interface for config initialization
...
This eliminates argument order mistakes, and also lets us add new inputs
without having to update every test.
2024-01-30 18:59:59 +00:00
Alexandre Boulgakov
a246aaa40c
C++: Make C++ TRAP caching conditional on TRAP caching being enabled in general.
2024-01-22 13:03:40 +00:00
Alexandre Boulgakov
f1915cce98
C++: Map C++ TRAP caching flag to env var.
2024-01-22 13:02:45 +00:00
Ian Lynagh
545bf65803
Run "npm run build"
2024-01-19 16:52:23 +00:00
nickfyson
f72cffc780
add v2 deprecation warning
2024-01-18 20:51:16 +00:00
Henry Mercer
a533ec62b3
Merge branch 'main' into henrymercer/remove-action-config-parsing
2024-01-05 16:14:49 +00:00
Rasmus Wriedt Larsen
2e27b3c56b
Create helper isPythonDependencyInstallationDisabled
2024-01-05 10:23:04 +01:00
Rasmus Wriedt Larsen
afef25e1e7
Add comment for force enabling dependency extraction
2024-01-05 10:21:34 +01:00