Cornelius Riemenschneider
3038e979a8
Remove the lua tracer feature flag check from the codeql-action.
...
Always defer to the CLI on the Lua tracer state from now on.
2022-09-13 11:23:32 +00:00
Chris Gavin
bbdc9efa94
Use the API URL from the environment if it is present.
2022-08-11 08:38:11 +01:00
Cornelius Riemenschneider
75afbf4a30
Address review, add test.
2022-07-18 10:37:04 +00:00
Cornelius Riemenschneider
9e9a8428c3
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.
2022-05-16 09:16:38 +00:00
Robert
8aa32bd9c9
Remove check of database uploads feature flag
2022-02-15 14:10:33 +00:00
Robin Neatherway
e13c8bbfb7
Merge branch 'main' into rneatherway/remove-old-upload-path
2022-01-25 12:36:23 +00:00
Robin Neatherway
10249d1591
Update tests to remove feature flag
2022-01-24 17:53:09 +00:00
Andrew Eisenberg
806fc12eb2
Reword changelog entry and add back test
2022-01-24 09:25:52 -08:00
Andrew Eisenberg
f18151cc59
Update error message and remove feature flag preloading
...
Discussion here https://github.com/github/codeql-action/pull/882#discussion_r789924177
shows that properly handling preloading feature flag errors is complex
and the benefit we get from it does not offset the complexity.
2022-01-21 11:20:48 -08:00
Henry Mercer
254816c2d2
Stub feature flag API endpoint in tests
2021-12-16 13:39:18 +00:00
Henry Mercer
6d62c245ec
Represent feature flags using an enum
...
Replaces the previous string literal type
2021-12-16 13:38:34 +00:00
Henry Mercer
5e87034b3b
Explicitly pass repository to feature flags constructor
...
As suggested in review: The `GITHUB_REPOSITORY` environment variable is
only available on Actions. Passing it in explicitly avoids potentially
crashing if this code is called from the runner.
2021-12-15 17:03:43 +00:00
Henry Mercer
621e0794ac
Throw an error if the feature flag API request errors
2021-12-15 16:34:26 +00:00
Henry Mercer
04671efa1d
Add support for feature flagging via the GitHub API
2021-12-15 13:16:33 +00:00