Uh oh!
There was an error while loading. Please reload this page.
introduce new syntax for built-in query suites - #45
Conversation
| } | ||
| // The set of acceptable values for built-in suites from the codeql bundle | ||
| const builtinSuites = ['security-experimental', 'security-and-quality'] as const; |
There was a problem hiding this comment.
| constbuiltinSuites=['security-experimental','security-and-quality']asconst; | |
| constbuiltinSuites=['security-extended','security-and-quality']asconst; |
Let's go with security-extended instead, since it's not strictly experimental, but just more queries of varied quality. Thanks!
There was a problem hiding this comment.
I should have said the suite names in this PR were mostly just a placeholder as I thought that decision was still being made. I'll update this once we know what they'll be.
chrisgavin
left a comment
There was a problem hiding this comment.
Thanks for improving the input validation. 👍 This looks good once we've settled on the right suite names.
Running all the new suites in all languages at https://github.com/Anthophila/multi-language-test/runs/727232837 |
robertbrignull
commented
Jun 1, 2020
Note this change is technically not backwards compitable for anyone using the unadvised |
robertbrignull
commented
Jun 1, 2020
|
robertbrignull
commented
Jun 1, 2020
In order to avoid the command line length issue, I've changed it to create a temporary query suite file that just lists the queries. I can't find the comment or email anymore now but I think @Daverlo and @hmakholm had a discussion recently suggesting this plan for another reason, so I hope this is not a bad move to make. Also note, the issue with the command line length on windows was already there if somebody tried to run a lot of queries. Adding this new syntax just makes it easier to trigger. |
jhutchings1
commented
Jun 1, 2020
Thanks for putting this one together @robertbrignull ! I've tagged our friends in docs to get this on their radar too. |
hmakholm
commented
Jun 2, 2020
Looks good to me. |
robertbrignull
commented
Jun 3, 2020
I think this has been tested enough. I manually ran all query suites for all languages, and the integration tests pass. Right now there's not much more we can do. |
Tightens up the rules on relative paths in the config file, and introduces new options to reference suites from the codeql bundle.
This PR is pending the decision on the exact names of the suites, and actually introducing those suites into the codeql bundle.
Merge / deployment checklist