Introduce a feature-flag to enable/disable lua-based tracing.
This allows us to gradually roll out (or even roll back) Lua-based tracing in case problems occur.
This commit is contained in:
parent
e655565390
commit
9e9a8428c3
18 changed files with 98 additions and 59 deletions
|
|
@ -240,7 +240,7 @@ async function run() {
|
|||
core.exportVariable(
|
||||
"CODEQL_RAM",
|
||||
process.env["CODEQL_RAM"] ||
|
||||
getMemoryFlagValue(getOptionalInput("ram")).toString()
|
||||
getMemoryFlagValue(getOptionalInput("ram")).toString()
|
||||
);
|
||||
core.exportVariable(
|
||||
"CODEQL_THREADS",
|
||||
|
|
@ -257,7 +257,8 @@ async function run() {
|
|||
config,
|
||||
sourceRoot,
|
||||
"Runner.Worker.exe",
|
||||
undefined
|
||||
undefined,
|
||||
featureFlags
|
||||
);
|
||||
if (tracerConfig !== undefined) {
|
||||
for (const [key, value] of Object.entries(tracerConfig.env)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue