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
68ba39bacf
Merge branch 'main' into dependabot/npm_and_yarn/npm-7954a73ad2
2024-08-06 14:02:21 +01:00
Henry Mercer
ecb9ccfcb1
Fix new linter errors
2024-08-05 19:22:26 +01:00
Henry Mercer
0763ccfe11
Remove unneeded code for 2.13.4 and earlier
2024-08-05 17:48:55 +01:00
Henry Mercer
4be318a22d
Bump minimum CodeQL version to 2.13.5
2024-08-05 17:44:17 +01:00
Remco Vermeulen
7be3a64c02
Move cloneObject into utilities and export it.
2024-07-31 17:56:06 -07:00
Angela P Wen
edfef2739a
Further standardize doc URL messages
...
Always say "see $URL for more information" without parentheses.
2024-07-23 14:18:04 +02:00
Angela P Wen
7cb4b5a421
Make all instances of doc links in logs clickable
2024-07-23 14:17:34 +02:00
Henry Mercer
f2166816d7
Announce deprecation of CodeQL v2.13.4 and earlier
2024-07-17 17:34:38 +01:00
Henry Mercer
a52b209ec8
Enable direct tracing the autobuild build mode by default
2024-06-26 19:38:13 +01:00
github-actions[bot]
9cf3243b0b
Rebuild
2024-06-25 09:21:42 +00:00
Henry Mercer
f2ea211cd9
Merge branch 'main' into henrymercer/direct-tracing-fix
2024-06-12 13:21:01 +01:00
Andrew Eisenberg
eb1d92b846
Fix typo
2024-06-11 12:31:07 -07:00
Andrew Eisenberg
2fc7222394
Fix formatting
2024-06-11 12:00:21 -07:00
Andrew Eisenberg
0a64ae0929
Use --force-overwrite for creating databases
...
...but only if the feature exists in the CLI.
2024-06-11 11:38:18 -07:00
Henry Mercer
6d627423af
Pass working-directory input to trace-command invocation
2024-06-11 16:45:52 +01:00
Henry Mercer
7a6352f8e6
Don't call trace-command when the indirect tracer has already been started
2024-05-09 14:25:25 +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
ef66aeacbf
Merge branch 'main' into henrymercer/ignore-already-specified-flags
2024-04-16 19:01:20 +01:00
Henry Mercer
ade98b980a
Ensure --overwrite flag is only passed once
2024-04-16 18:10:18 +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
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
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
Henry Mercer
dcf00b3fd4
Account for varying major version number in error message
2024-04-03 15:50:23 +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
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
ccc609bf1a
Use github merge-results command when feature flag is enabled
2024-03-22 14:15:00 +01:00
Henry Mercer
7f375aeb76
Wrap configuration errors for all CLI commands
2024-03-19 13:45:33 +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
dependabot[bot]
5e882999f1
Bump the npm group with 2 updates ( #2190 )
...
* Bump the npm group with 2 updates
Bumps the npm group with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) and [typescript](https://github.com/Microsoft/TypeScript ).
Updates `@typescript-eslint/eslint-plugin` from 7.1.0 to 7.1.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/eslint-plugin )
Updates `typescript` from 5.3.3 to 5.4.2
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2 )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm
...
Signed-off-by: dependabot[bot] <support@github.com >
* Rebuild sources
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2024-03-12 07:27:21 -07:00
Henry Mercer
5ec06c71f0
Use the --sarif-include-query-help option when supported
2024-03-11 18:32:52 +00:00
Nick Rolfe
f00392ec30
Deprecate fine-grained parallelism feature-flag
2024-02-14 17:21:01 +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
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
0fe34bd39a
Extract language appropriately in analyze step when build mode specified
2024-02-07 13:19:29 +00: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
Henry Mercer
838a022982
Clean up running queries workflow now that the queries are determined by the CLI
2024-01-05 19:11:02 +00:00
Henry Mercer
fa98ec0c7a
Remove CliConfigFileEnabled feature flag
2024-01-04 14:39:36 +00:00
Henry Mercer
35b10b5ff7
Merge branch 'main' into henrymercer/drop-codeql-v2.11.5
2024-01-02 18:03:32 +00:00