Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into v1 #504

Merged
merged 41 commits into from
May 17, 2021
Merged

Merge main into v1 #504

merged 41 commits into from
May 17, 2021

Conversation

github-actions[bot]
Copy link
Contributor

Merging 21830ef into v1

Conductor for this PR is @hmakholm

Contains the following pull requests:

Daverlo and others added 30 commits April 28, 2021 14:32
This adds a section on checking in compiled artifacts.
Ran `npm audit fix`.

Even though this fixes a "high" severity vulnerability, all affected
packages are dev packages only.
Make matrix run all cases of the python-deps tests
Co-authored-by: Robert <robertbrignull@github.com>
This version will count lines of code in each file serially. It still
runs all file system operations asynchronously. The only difference now
is that it will only count one file at a time. It is slower, but it
is able to count large repositories without running out of memory.
aeisenberg and others added 11 commits May 13, 2021 16:40
This is just a helpful way to ensure you can run `tsc --watch` from
inside vscode.
Fixes a bug where we were looking for incorrect keys for metrics rules.
Previously, we were using full language names in the keys. Now, we use
the short language names in the metric ids. This is done through a
simplification of the code.

Also, this change does two smaller things:

1. Prints out the baseline count to the logs
2. Adds the `assertNever` function to ensure we never miss a case in
   a switch statement. This function is borrowed from vscode-codeql.
Use the prefix id for keying into metrics rules
Previously, we were always using `**` in the include path. the
effect of this was to always count lines in the entire
repository unless explicitly added to the paths-ignore. This
was incorrect behaviour. Now we only using `**` if the include
path is otherwise empty.
Change include path for lines of code counting
These warnings refer to a hack that was added to the CLI in
github/semmle-code#39335

They can be removed again once the CLI has a more principled way for
the CLI to recognize that it's being invoked by the runner/action.
Add warnings about CLI hack to codeql.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants