Henry Mercer
8342844ea7
Only print the analysis summary once
2023-07-28 12:29:10 +01:00
Henry Mercer
7197f58bbf
Add JSDoc for extractFatalErrors
2023-07-24 16:47:33 +01:00
Henry Mercer
fdedc91de2
Improve formatting of fatal errors
2023-07-21 14:39:30 +01:00
Henry Mercer
2eb34f2fb9
Always include exit code in first line of CommandInvocationError
2023-07-21 14:26:44 +01:00
Henry Mercer
a3ef0b984b
Include fatal error context on a single line where possible
2023-07-21 14:24:59 +01:00
Henry Mercer
65a297b952
Display the error message on one line if possible
2023-07-21 14:14:07 +01:00
Henry Mercer
0f871fa80d
Improve CommandInvocationError message
2023-07-21 14:13:17 +01:00
Henry Mercer
e94e15d8dd
Fix extra whitespace in CommandInvocationError
2023-07-21 14:12:36 +01:00
Henry Mercer
21c926745f
Capture the details of fatal errors
2023-07-21 14:11:51 +01:00
Henry Mercer
76b2afaa4a
Display the CLI's no code found error for CodeQL 2.12.4+
2023-07-20 18:16:02 +01:00
Henry Mercer
bac7c32ff7
Resolve the final dependency cycle!
2023-07-19 17:37:43 +01:00
Henry Mercer
5658fd1df2
Fix dependency cycle between trap-caching and init
2023-07-19 17:30:33 +01:00
Henry Mercer
004f976bef
Fix dependency cycle between util and config-utils
2023-07-19 16:48:21 +01:00
Henry Mercer
d577d6f6b1
Resolve dependency cycle between util and API client
2023-07-19 16:40:31 +01:00
Henry Mercer
9922e17dbb
Move code scanning config enablement into feature flags
2023-07-19 15:57:59 +01:00
Henry Mercer
da4e0a06c0
Fix CodeQL version checks
2023-07-18 13:41:05 +01:00
Henry Mercer
fed45865ba
Merge branch 'main' into henrymercer/bump-minimum-codeql-version
2023-07-10 13:21:51 +01:00
Henry Mercer
5499d30c79
Merge branch 'main' into henrymercer/cli-deprecation-warning
2023-07-07 13:31:06 +01:00
Henry Mercer
f6c51a38d7
Remove redundant set of env var
2023-07-07 13:06:53 +01:00
Henry Mercer
e1913859f3
Polish deprecation wording
2023-07-07 13:05:52 +01:00
Henry Mercer
177a5796c9
Tweak doc comment
2023-07-07 13:00:29 +01:00
Henry Mercer
6418c5d819
Skip an API call when downloading a CodeQL version with a semver bundle
...
Previously, we made an API call to look up the CLI version to release
mapping when the default CLI version was requested on Dotcom and that
CLI wasn't in the toolcache.
Now we compute the tag name directly for semver bundles.
2023-07-07 10:58:57 +01:00
Henry Mercer
9b345a50dd
Only warn once about the CodeQL CLI being unsupported soon
2023-07-06 17:28:37 +01:00
Henry Mercer
485b5809e8
Add deprecation warning for CodeQL CLIs < 2.9.4
2023-07-06 16:51:58 +01:00
Henry Mercer
0c1d7efb0a
Add support for new analysis summaries
2023-07-05 18:56:55 +01:00
Henry Mercer
56beae86dd
Remove feature flag for exporting the code scanning configuration flag
2023-07-05 16:26:20 +01:00
Michael B. Gale
7a9f099940
Don't invoke CLI when command not supported
2023-06-15 10:15:03 +01:00
Michael B. Gale
e08f131aab
Include CLI output in JSON error
2023-06-13 20:45:58 +01:00
Michael B. Gale
6f07b504a5
Propagate --working-dir argument
2023-06-13 20:45:58 +01:00
Michael B. Gale
4322324628
Add resolveBuildEnvironment to CodeQL type
2023-06-13 20:45:56 +01:00
Henry Mercer
7bd23b58b5
Remove support for CodeQL CLI 2.9.3 and earlier
2023-06-12 11:34:01 +01:00
Henry Mercer
a590b4afa7
Bump minimum CodeQL version to 2.9.4
2023-06-12 11:22:22 +01:00
Henry Mercer
d439786b65
Merge branch 'main' into henrymercer/remove-redundant-flag
2023-05-16 19:21:22 +01:00
Henry Mercer
a1be09ed8a
Remove redundant query help version flag
2023-05-16 18:20:13 +01:00
Henry Mercer
e422b64793
Use resolve extractor when finding autobuild scripts
2023-05-16 11:18:16 +01:00
Angela P Wen
a9648ea7c6
Throw full error for CLI bundle download ( #1657 )
2023-04-24 07:46:45 -07:00
Henry Mercer
8a093aa1a5
Merge branch 'main' into henrymercer/remove-legacy-tracing
2023-04-11 12:25:45 +01:00
Henry Mercer
69371ffa95
Merge branch 'main' into henrymercer/fix-init-exception-reporting
2023-04-06 17:05:02 +01:00
Henry Mercer
e5c2f32a9f
Consistently wrap errors
2023-04-06 17:04:21 +01:00
Henry Mercer
7193623f40
Re-enable duplicate SARIF notification location workaround
2023-04-06 14:48:04 +01:00
Henry Mercer
f7a67e4341
Merge branch 'main' into henrymercer/remove-legacy-tracing
2023-04-05 18:39:27 +01:00
Henry Mercer
3bba073180
Skip the SARIF notification object workaround for fixed CLIs
2023-04-04 18:19:05 +01:00
Henry Mercer
69aec345f1
Pass negative SARIF include diagnostics flag when feature is disabled
...
In preparation for enabling this flag by default in the CLI
2023-03-29 18:56:19 +01:00
Henry Mercer
d8fe76e161
Delete legacy tracing
2023-03-28 18:53:43 +01:00
Henry Mercer
4772c1d99f
Bump minimum version to 2.8.5
2023-03-28 17:24:45 +01:00
Henry Mercer
1e7a38893c
Wrap reading and writing SARIF files
2023-03-27 15:44:47 +01:00
Henry Mercer
c8935d5a9d
Remove duplicate locations from failed run SARIF
2023-03-24 20:30:57 +00:00
Henry Mercer
ade432fd68
Remove duplicate locations from output of database interpret-results
2023-03-24 20:30:57 +00:00
Angela P Wen
3cbd063679
Upload per-database diagnostic SARIFs on green and red runs ( #1556 )
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-03-20 21:09:04 +00:00
Henry Mercer
65f42e3768
Inline minimum version number to avoid circular dependency
2023-03-14 21:04:34 +00:00