Andrew Eisenberg
4e80a80354
Use delay instead of wait
...
Need to also change the signature of delay to allow this to happen.
2023-11-15 13:14:19 -08:00
Andrew Eisenberg
df9b50ee5f
Address comments from review
...
- Change error messages.
- Use logger instead of core
- throw Error instead of write error message
2023-11-15 12:54:26 -08:00
Michael B. Gale
bcbb900532
Rename VersionOutput to VersionInfo
2023-10-04 15:54:34 +01:00
Michael B. Gale
74b46628c3
Support features key in version JSON output
2023-10-04 11:28:28 +01:00
Henry Mercer
ebbadee09e
Remove ML-powered queries
2023-10-02 17:20:50 +01:00
Henry Mercer
378bbcd274
Don't log invalid cgroup memory limits
2023-09-27 13:56:20 +01:00
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
09ce3dbf90
Sort interfaces and enums
2023-08-07 16:27:56 +01:00
Angela P Wen
b16296be30
Auto-fix linting errors
2023-07-25 10:34:21 +02: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
Angela P Wen
46a6823b81
Send new per-query alert count event reports for QA telemetry ( #1741 )
2023-06-30 07:53:13 -07:00
Henry Mercer
7bd23b58b5
Remove support for CodeQL CLI 2.9.3 and earlier
2023-06-12 11:34:01 +01:00
Stephan Brandauer
153cab09da
jsdoc for fixInvalidNotificationsInFile
2023-05-24 12:09:28 +00:00
Stephan Brandauer
3100e1e354
move check to calling function
...
DISABLE_DUPLICATE_LOCATION_FIX - this is to avoid needless crashes on
large sarif files
2023-05-24 11:46:19 +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