Henry Mercer
6846be007d
Address review comments
2023-09-18 16:00:59 +01:00
Henry Mercer
0e74cd1660
Handle cgroup file containing MAX_INT on ubuntu-20.04
2023-09-18 13:44:02 +01:00
Henry Mercer
379f89dc53
Log cgroup RAM limits
2023-09-18 13:05:29 +01:00
Henry Mercer
9bfb9ba527
Handle files that exist but whose contents are not integers
2023-09-15 18:23:25 +01:00
Henry Mercer
d4c26876d3
Improve docs
2023-09-15 18:17:13 +01:00
Henry Mercer
d6f9faae0d
Respect RAM constraints imposed by Linux cgroups
2023-09-15 18:09:37 +01:00
Henry Mercer
10389f671b
Remove scaling reserved RAM feature flag
2023-09-05 14:30:56 +02:00
Henry Mercer
574dbbc517
Allow customizing the scaling threshold with an environment variable
2023-09-05 13:14:55 +02:00
Henry Mercer
834f08becb
Merge branch 'main' into henrymercer/disk-telemetry
2023-08-07 17:56:50 +01:00
Henry Mercer
2203178090
Increase scaling factor for reserved RAM to 5%
2023-08-07 16:56:27 +01:00
Henry Mercer
7dcb3e5276
Include runner disk info in status report
2023-08-07 16:27:56 +01:00
Henry Mercer
fda93d8ef5
Apply scaling reserved RAM to large runners only
2023-07-21 18:00:34 +01:00
Henry Mercer
18ae9813bf
Test memory flag computation across all platforms and system RAM values
2023-07-21 17:55:17 +01:00
Henry Mercer
bac7c32ff7
Resolve the final dependency cycle!
2023-07-19 17:37:43 +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
27d3b2f857
Fix scaling reserved RAM feature flag naming
2023-07-18 13:41:05 +01:00
Henry Mercer
5246291397
Merge branch 'main' into henrymercer/bump-minimum-codeql-version
2023-07-14 16:16:25 +01:00
Henry Mercer
c1f49580cf
Fix dependency incompatibilities
2023-07-13 11:20:39 +01:00
Henry Mercer
fed45865ba
Merge branch 'main' into henrymercer/bump-minimum-codeql-version
2023-07-10 13:21:51 +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
3a960869ac
Simplify definitions of environment variables
2023-07-06 17:28:37 +01:00
Henry Mercer
7bd23b58b5
Remove support for CodeQL CLI 2.9.3 and earlier
2023-06-12 11:34:01 +01:00
Stephan Brandauer
636b9eab1d
add rebuilt lib
2023-05-24 12:12:27 +00:00
Stephan Brandauer
dddabd0d26
add rebuilt lib
2023-05-24 11:51:57 +00:00
Henry Mercer
8a093aa1a5
Merge branch 'main' into henrymercer/remove-legacy-tracing
2023-04-11 12:25:45 +01:00
Angela P Wen
98f7bbd610
Add workflow_run_attempt data to status report ( #1640 )
2023-04-10 20:02:23 +00:00
Henry Mercer
e5c2f32a9f
Consistently wrap errors
2023-04-06 17:04:21 +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
d8fe76e161
Delete legacy tracing
2023-03-28 18:53:43 +01:00
Henry Mercer
57eca7cbb2
Use Array.isArray
2023-03-27 15:59:29 +01:00
Henry Mercer
1e7a38893c
Wrap reading and writing SARIF files
2023-03-27 15:44:47 +01:00
Henry Mercer
ade432fd68
Remove duplicate locations from output of database interpret-results
2023-03-24 20:30:57 +00:00
Henry Mercer
6f852eeb38
Implement removing duplicate locations from a SARIF file
2023-03-24 20:30:57 +00:00
Robin Neatherway
3ca2260643
Account for versioning of ghe.com
2023-03-22 16:47:23 +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
485cc11a24
Rename featureEnablement to features
...
This is more succinct and removes a few line breaks
2023-03-09 16:46:51 +00:00
Chuan-kai Lin
8242edb8ed
databaseRunQueries(): add optimizeForLastQueryRun parameter
2023-02-15 08:45:13 -08:00
Andrew Eisenberg
a2487fb969
Avoid unref-ing timer while awaiting status upload
...
We had a problem where `waitForProcessing` was not completing before
the node process ends. This is because using `unref` would allow the
node process to end without having the `delay` function complete.
2023-02-13 13:43:18 -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
Angela P Wen
81644f35ff
Add max line length of 120 to linter ( #1524 )
2023-02-07 14:09:33 +00:00
Henry Mercer
8e4a1d6e60
Merge branch 'main' into henrymercer/avoid-waiting-for-timeout
2023-01-20 16:29:49 +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
85f0d840c9
Use a more Promise-oriented approach for the timeout system
2023-01-19 20:25:55 +00:00
Henry Mercer
b61b299591
Immediately unref timers to avoid waiting for them before exit
2023-01-19 18:09:06 +00:00
Henry Mercer
5f644f971e
Upgrade TypeScript to 9.2.0
2023-01-18 20:59:57 +00:00
Henry Mercer
6dfc772b5f
Add link to new changelog post
2023-01-18 12:42:11 +00:00
Henry Mercer
4b40a3a20e
Add a notice that CodeQL Action v1 is discontinued
2023-01-16 17:56:31 +00:00