Rasmus Wriedt Larsen
7c23a5e578
Fix lint
2024-04-08 13:05:34 +02:00
Rasmus Wriedt Larsen
1f8d877ef2
fix comment
2024-04-08 12:02:45 +02:00
Rasmus Wriedt Larsen
3f0cb87e80
Improve Python dep inst warning
...
Co-authored-by: Henry Mercer <henrymercer@github.com >
2024-04-08 12:01:41 +02:00
Rasmus Wriedt Larsen
d33e75159d
Warn on deprecated Python dep inst config usage
2024-04-08 11:58:31 +02:00
Rasmus Wriedt Larsen
e6b2c0d6b8
Python: suppress dependency extraction warning
...
See https://github.com/github/codeql/pull/16127 (which will be released
as part of 2.17.1)
2024-04-08 10:44:12 +02: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
d8293662f4
Fix linting errors
2024-04-04 17:14:42 +02:00
Rasmus Wriedt Larsen
9ba21c3639
Autoformat
2024-04-04 17:13:31 +02:00
Rasmus Wriedt Larsen
c7eea240e2
Remove python dependency installation logic
...
I've left a few warning logging cases, but overall this feature is no
longer supported.
2024-04-04 17:12:58 +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
nickfyson
d3c32a84cb
fix test to respect updated logging behaviour
2024-04-03 21:04:50 +01:00
Nick Fyson
26540626a5
Merge branch 'main' into nickfyson/upload-logging
2024-04-03 20:54:58 +01:00
nickfyson
d3257627d7
fix linting error
2024-04-03 20:50:03 +01:00
nickfyson
978bdd643f
fix test that runs flakily locally
2024-04-03 20:43:26 +01:00
Nick Fyson
2cc8bbd0e0
Apply suggestions from code review
...
Co-authored-by: Henry Mercer <henrymercer@github.com >
2024-04-03 20:42:48 +01:00
Henry Mercer
dcf00b3fd4
Account for varying major version number in error message
2024-04-03 15:50:23 +01:00
nickfyson
6514cbb626
improve logging coverage when uploaing sarif files
2024-04-03 15:45:28 +01:00
Henry Mercer
f06c933b16
Update soon to be deprecated CodeQL version
2024-04-03 15:44:00 +01:00
Henry Mercer
eda4878a3d
Only pass --new-analysis-summary if it is not default behavior
2024-04-03 15:39:22 +01:00
github-actions[bot]
eeaea14a62
Update supported GitHub Enterprise Server versions
2024-04-03 00:11:45 +00:00
github-actions[bot]
f4936c4c20
Update default bundle to codeql-bundle-v2.17.0
2024-04-02 19:07:23 +00:00
Koen Vlaswinkel
016720d81f
Refactor areAllRunsProducedByCodeQL to use Array.every
2024-03-26 11:09:44 +01:00
Koen Vlaswinkel
f835435c19
Rename run to uploadArtifacts
2024-03-26 11:05:21 +01:00
Koen Vlaswinkel
58194bf81a
Do not require debug mode for debugging uploads
2024-03-26 11:05:04 +01:00
Koen Vlaswinkel
82b82e58c0
Only upload combined SARIF files when env var is set
2024-03-25 10:15:42 +01:00
Koen Vlaswinkel
3c4b8bc120
Change log levels
2024-03-25 10:15:37 +01:00
Koen Vlaswinkel
a0a63a2dd4
Do not try merging a single SARIF file
2024-03-25 10:15:16 +01:00
Koen Vlaswinkel
3bd271cec3
Introduce areAllRunsProducedByCodeQL function
2024-03-25 10:14:59 +01:00
Koen Vlaswinkel
70aa50b057
Use runTool for mergeResults
2024-03-25 10:13:21 +01:00
Koen Vlaswinkel
6ac57535de
Use options object instead of boolean for mergeResults
2024-03-25 10:13:15 +01:00
Koen Vlaswinkel
e20c273295
Use supportsFeature check for merging SARIF files
2024-03-22 14:15:42 +01:00
Koen Vlaswinkel
2bbafcdd7f
Upload debug artifacts for upload-sarif
2024-03-22 14:15:17 +01:00
Koen Vlaswinkel
7e30c622b0
Use subdirectory for combined SARIF file
2024-03-22 14:15:16 +01:00
Koen Vlaswinkel
ccc609bf1a
Use github merge-results command when feature flag is enabled
2024-03-22 14:15:00 +01:00
Koen Vlaswinkel
a12b868bbc
Create feature flag for merging SARIF files using the CLI
2024-03-22 14:14:44 +01:00
Arthur Baars
a3ab02e645
Merge branch 'main' into update-bundle/codeql-bundle-v2.16.5
2024-03-21 13:09:07 +01:00
Henry Mercer
964f5e7811
Merge pull request #2207 from github/henrymercer/more-processing-error-categorization
...
Mark some more processing errors as invalid SARIF upload requests
2024-03-20 21:15:58 +00:00
Henry Mercer
c84e4c8e7b
Mark some more processing errors as invalid SARIF upload requests
2024-03-20 20:55:54 +00:00
Henry Mercer
4aca720110
Improve error message when using build modes and autobuild fails
2024-03-20 20:32:55 +00:00
Henry Mercer
7f375aeb76
Wrap configuration errors for all CLI commands
2024-03-19 13:45:33 +00:00
github-actions[bot]
dfb0fd0039
Update default bundle to codeql-bundle-v2.16.5
2024-03-18 15:35:09 +00:00
Henry Mercer
e28ae3a84c
Add config error for Swift build failures
2024-03-15 12:17:49 +00:00
Henry Mercer
bddfc7c6d5
Add config error for Gradle build failures
2024-03-15 11:50:57 +00:00
Henry Mercer
3edd1bf725
Truncate autobuild errors to 10 lines
2024-03-15 11:24:50 +00:00
Henry Mercer
88a0b7abb3
Mark Maven build failures as configuration errors
2024-03-14 17:57:11 +00:00
Henry Mercer
88b28eb70d
Surface autobuild errors from stderr stream
2024-03-14 17:56:11 +00:00