Henry Mercer
f055b5e672
Merge pull request #2197 from github/henrymercer/log-job-status
...
Log job status in the "Post init" step
2024-03-13 21:01:38 +00:00
Henry Mercer
e402144d13
Log job status in init-post
2024-03-13 19:09:34 +00:00
Henry Mercer
8da95d81a8
Refactoring: Add getExtractionVerbosityArguments wrapper
2024-03-13 18:27:21 +00:00
Henry Mercer
070b05147a
Bump verbosity of database finalize in debug mode
2024-03-13 18:22:37 +00:00
Henry Mercer
649f3e87e1
Bump verbosity when running autobuild script directly in debug mode
2024-03-13 17:58:45 +00:00
Henry Mercer
362c407426
Bump verbosity on trace-command when in debug mode
2024-03-13 17:58:30 +00:00
Henry Mercer
5ec06c71f0
Use the --sarif-include-query-help option when supported
2024-03-11 18:32:52 +00:00
github-actions[bot]
caf377935a
Update default bundle to 2.16.4 ( #2185 )
...
* Update default bundle to codeql-bundle-v2.16.4
* Add changelog note
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Angela P Wen <angelapwen@github.com >
2024-03-11 10:37:30 -07:00
github-actions[bot]
849379362c
Update supported GitHub Enterprise Server versions
2024-03-06 00:11:24 +00: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
e12a8cc5eb
Use isFirstPartyAnalysis for a stronger check
2024-02-29 11:20:42 +00:00
Henry Mercer
888ab31e3e
Mark third-party SARIF limits errors as configuration errors
2024-02-28 19:41:43 +00:00
Henry Mercer
bd56a05133
Rename InvalidRequestError to InvalidSarifUploadError
...
Nitty: make it a little clearer when this shows up in the logs what type of request we mean
2024-02-28 19:25:30 +00:00
Angela P Wen
62712e9ff9
Throw InvalidRequestError if JSON parsing fails
2024-02-28 16:02:37 +00:00
Angela P Wen
52f2347108
Consider SyntaxErrors configuration errors
2024-02-28 15:23:11 +00:00
Angela P Wen
1a6bac42d0
Rename considerInvalidRequestConfigError to isThirdPartyUpload
...
This describes what we are trying to do more accurately.
2024-02-28 15:22:39 +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
e4a536270d
Add build mode to status report
2024-02-26 19:23:38 +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
Henry Mercer
aeb89ef79a
Enable C++ deptrace when using autobuild build mode
2024-02-22 18:17:16 +00:00
Chris Smowton
2a15560d6d
Merge branch 'main' into update-bundle/codeql-bundle-v2.16.3
2024-02-22 10:42:11 +00:00
nickfyson
ebda17e859
respond to review comments
2024-02-21 15:01:06 +00:00
nickfyson
f32f0bf8e4
ensure only the upload-sarif action can submit a status report with first_party_analysis=false
2024-02-21 14:01:56 +00:00
github-actions[bot]
1c652cd4ee
Update default bundle to codeql-bundle-v2.16.3
2024-02-20 20:58:37 +00:00
nickfyson
a7dc229496
add first_party_analysis boolean to all status reports
2024-02-20 14:58:26 +00:00
Angela P Wen
8cb81db135
Add unit tests for getCgroupCpuCountFromCpus
2024-02-16 12:48:04 +00:00
Angela P Wen
ef0a773901
Account for existing but empty cpus file
...
If a CPU file exists but is empty, previously we reported this file with a CPU count of 1, which resulted in a single-threaded run.
2024-02-15 16:18:04 +00:00
Henry Mercer
381e65f460
Allow generated user config file to be outside the workspace
2024-02-15 12:07:48 +00:00
Nick Rolfe
f00392ec30
Deprecate fine-grained parallelism feature-flag
2024-02-14 17:21:01 +00:00
Henry Mercer
eb60ca25f8
Merge branch 'main' into henrymercer/java-buildless-rollback
2024-02-14 15:18:48 +00:00
Angela P Wen
7b30fefa68
Add common CLI configuration error categories ( #2130 )
...
Co-authored-by: Henry Mercer <henry@henrymercer.name >
2024-02-14 13:57:38 +00:00
Henry Mercer
191f59f435
Store generated config file in temporary directory
...
This prevents it from becoming part of the analysis.
2024-02-13 15:59:45 +00:00
Henry Mercer
4e5f9c0873
Introduce a rollback mechanism for Java buildless
2024-02-12 23:11:48 +00:00
Henry Mercer
77be28fbdb
Add feature flag for disabling Java buildless
2024-02-12 23:11:47 +00:00
Josh Soref
5a6da1d85d
Treat status reports as non-critical
...
Change `sendStatusReport` to `void`
2024-02-12 13:56:10 -05:00
Dave Bartolomeo
b0346e4adb
Merge branch 'main' into update-bundle/codeql-bundle-v2.16.2
2024-02-12 09:34:51 -08:00
github-actions[bot]
8fae32eb18
Update default bundle to codeql-bundle-v2.16.2
2024-02-08 18:18:58 +00: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
8fb654e590
Don't run autobuild in analyze if already ran in autobuild
2024-02-07 13:19:29 +00:00
Henry Mercer
0fe34bd39a
Extract language appropriately in analyze step when build mode specified
2024-02-07 13:19:29 +00:00
Henry Mercer
db6e5fff06
Extract separate function for warnIfGoInstalledAfterInit
2024-02-07 13:13:05 +00:00
Henry Mercer
f9dea84e29
Status report: Handle failures determining disk usage
2024-02-02 16:31:04 +00:00
Henry Mercer
81eb6b2bf4
Merge pull request #2108 from github/henrymercer/build-mode-input
...
Add experimental `build-mode` input
2024-02-02 10:46:37 +00:00
Rasmus Wriedt Larsen
483bef1dab
Merge pull request #2106 from github/rasmuswl/default-no-dep-inst
...
Python: disable dependency installation on GHES
2024-02-01 14:14:12 +01:00
Henry Mercer
d982a14465
Pass build mode to database init when set
2024-01-31 14:55:09 +00:00
Henry Mercer
55c1fd5777
Introduce codeql.supportsFeature
...
This is a slightly simpler API
2024-01-30 21:53:24 +00:00