Henry Mercer
379f89dc53
Log cgroup RAM limits
2023-09-18 13:05:29 +01:00
Henry Mercer
10389f671b
Remove scaling reserved RAM feature flag
2023-09-05 14:30:56 +02:00
Ian Lynagh
7dab60079b
Put upper limit on the CodeQL versions for which we override the Kotlin limit
...
Otherwise it'll be lower than the default at some point in the future.
2023-08-24 17:56:31 +01:00
Ian Lynagh
ff95d147d6
Kotlin: Fix lint
2023-08-24 15:14:49 +01:00
Ian Lynagh
e5813484cd
Kotlin: CodeQL >= 2.13.4 supports 1.9.10.
2023-08-24 14:57:05 +01:00
Ian Lynagh
d5b5e18245
Lombok: Don't set env var if it's already set
...
If the user has manually configured it, then we let their setting stand.
2023-08-18 12:31:12 +01:00
Henry Mercer
7dcb3e5276
Include runner disk info in status report
2023-08-07 16:27:56 +01:00
Henry Mercer
c6d284324b
Pull out a dedicated status report file
2023-08-07 16:13:59 +01:00
Ian Lynagh
34090feb56
Lombok: Only do anything if Java is being analysed
2023-07-28 14:55:23 +01:00
Ian Lynagh
c946707707
Pass codeql in to check
2023-07-27 12:45:08 +01:00
Ian Lynagh
a27d3e9355
Fix lint suggestions
2023-07-27 12:36:57 +01:00
Ian Lynagh
097823f389
Add support for the code_scanning_codeql_java_lombok feature flag
2023-07-27 12:19:38 +01:00
Angela P Wen
b16296be30
Auto-fix linting errors
2023-07-25 10:34:21 +02:00
Henry Mercer
5658fd1df2
Fix dependency cycle between trap-caching and init
2023-07-19 17:30:33 +01:00
Henry Mercer
2637069a45
Resolve dependency cycles between actions-util and workflow
2023-07-19 17:21:33 +01:00
Henry Mercer
0bc4788cf7
Resolve dependency cycle between api-client and actions-util
2023-07-19 17:01:05 +01:00
Henry Mercer
004f976bef
Fix dependency cycle between util and config-utils
2023-07-19 16:48:21 +01:00
Henry Mercer
9922e17dbb
Move code scanning config enablement into feature flags
2023-07-19 15:57:59 +01:00
Henry Mercer
0cae69e062
Report user errors in the abort stage appropriately
2023-07-18 17:22:13 +01:00
Nick Rolfe
f232722edf
Respect scaling_reserved_ram feature flag
...
The amount of RAM given to the CodeQL evaluator is the machine's total
memory size, minus a reserved amount. Currently, the reserved amount is
fixed at 1 GB (or 1.5 GB on Windows). When the scaling_reserved_ram
feature flag is enabled, we also add 2% of the total memory size to the
reserved amount. This allows for the fact that the kernel will consume
more RAM (e.g. for page tables) on machines with more physical RAM.
2023-07-07 16:46:47 +01:00
Henry Mercer
50f2cc19ee
Remove now redundant variant property
...
Previously, this was useful for discriminating between different
`CodeQLDefaultVersion` instances. However now all instances return a
tag name.
2023-07-07 15:15:57 +01:00
Henry Mercer
3a960869ac
Simplify definitions of environment variables
2023-07-06 17:28:37 +01:00
Angela P Wen
4385ad5563
Send job_run_uuid to status report telemetry ( #1685 )
2023-06-20 23:45:51 -07:00
Henry Mercer
c92053157f
Address review comments
...
Co-authored-by: Angela P Wen <angelapwen@github.com >
2023-06-12 19:31:25 +01:00
Rasmus Wriedt Larsen
0ccdbf8cd5
Feature flag to disable python dependency installation
2023-05-11 12:14:04 +02:00
Andrew Eisenberg
824d18c689
Merge remote-tracking branch 'upstream/main' into issue-1589-config-param
2023-04-28 11:34:52 -07:00
Henry Mercer
66f62df188
Merge branch 'main' into henrymercer/remove-legacy-tracing
2023-04-19 15:56:42 +01:00
Henry Mercer
599f4927f2
Allow passing the workflow via an environment variable
2023-04-12 14:14:43 +01:00
Henry Mercer
8a093aa1a5
Merge branch 'main' into henrymercer/remove-legacy-tracing
2023-04-11 12:25:45 +01:00
Tugdual Grall
18f13455eb
Merge branch 'main' into issue-1589-config-param
2023-04-10 07:33:09 +02:00
Henry Mercer
e5c2f32a9f
Consistently wrap errors
2023-04-06 17:04:21 +01:00
Henry Mercer
555b602b2f
Report exceptions to telemetry in init Action
2023-04-06 15:08:48 +01:00
tgrall
fe4a785361
rename new parameter from configuration to config
2023-04-01 07:13:01 +02:00
Henry Mercer
d8fe76e161
Delete legacy tracing
2023-03-28 18:53:43 +01:00
Henry Mercer
ade432fd68
Remove duplicate locations from output of database interpret-results
2023-03-24 20:30:57 +00:00
Tugdual Grall
ee44252240
- Add new configuration Parameter
...
- Write test to check it is read from configuration
- Update documentation
2023-03-18 13:40:54 +00:00
Andrew Eisenberg
8f19113f88
Merge branch 'main' into aeisenberg/qlconfig-in-cli
2023-02-26 18:35:21 -08:00
Angela P Wen
a25536bc80
Optionally send tools download telemetry ( #1538 )
2023-02-13 21:45:54 +00:00
Chuan-kai Lin
b011dbdedf
Remove TRAP caching feature flag
2023-02-10 09:27:16 -08:00
Angela P Wen
40babc141f
Tools telemetry: accurately report when feature flags were inaccessible ( #1532 )
...
* Cache whether feature flags are accessible
* Small comment fixup from linting change
2023-02-10 09:06:43 -08:00
Andrew Eisenberg
e2f72f11e4
Merge remote-tracking branch 'upstream/main' into aeisenberg/qlconfig-in-cli
2023-02-09 09:47:43 -08:00
Henry Mercer
db534af2ae
Remove feature flags for bypassing the toolcache
...
- We can now use the default bundle version feature flags to remediate a
bad bundle update.
- Controlled switchover ensures that a repo consistently gets the same
bundle version, so we no longer have alert churn concerns with Kotlin
and Swift.
2023-02-08 15:20:51 +00:00
Andrew Eisenberg
bbe8d375fd
Ensure qlconfig file is created when config parsing in cli is on
...
Previously, with the config parsing in the cli feature flag turned on,
the CLI was not able to download packs from other registries. This PR
adds the codeql-action changes required for this. The CLI changes will
be in a separate, internal PR.
2023-02-07 10:40:56 -08:00
Angela P Wen
81644f35ff
Add max line length of 120 to linter ( #1524 )
2023-02-07 14:09:33 +00:00
Angela P Wen
24ca6b0400
Send tools telemetry to init status report ( #1497 )
...
Co-authored-by: Henry Mercer <henry.mercer@me.com >
2023-01-25 11:09:18 -08:00
Henry Mercer
be8f7b01a2
Add types for package.json via @schemastore/package
2023-01-20 15:01:35 +00:00
Henry Mercer
1b508953b4
Remove checkActionVersion
...
This is no longer needed now that we only release v2
2023-01-20 15:01:35 +00:00
Henry Mercer
ba93815e25
Merge branch 'main' into henrymercer/upgrade-typescript
2023-01-19 16:15:51 +00:00
Henry Mercer
10695e6a20
Fix linter errors
2023-01-18 21:00:05 +00:00
Henry Mercer
c3be36f5cb
Use new default version to set up CodeQL
2023-01-11 19:06:50 +00:00