Closed
Conversation
This will change the "Show External Api Results" to only be available behind the `codeQL.dataExtensions.editor` config flag. The user will also need to have the `codeQL.canary` flag enabled.
This better covers what this module is intended to cover.
3 tasks
Contributor
|
Thanks for taking the hackathon code and making it real! This is a big PR. I appreciate you wanted to keep the origins and show the story but I personally find it hard to review such PRs. Is there an easy/sensible way to break it down into a handful of PRs instead? |
3 tasks
Member
Author
I've split this up into multiple PRs:
I'm closing this since all changes are now available in those other PRs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a big PR that adds the data extension editor as created during the hackathon into the
mainbranch. It has been rebased on top of main and the most significant changes are:ExternalApiModulewhich encapsulates the commands. In later commits, this has been renamed to theDataExtensionsEditorModuleThe original branch is here.
In addition, I've also made some commits after the rebase:
codeQL.dataExtensions.editorconfig setting. The user also needs to havecodeQL.canaryset.I would highly recommend reviewing this commit-by-commit. I've ensured that each commit can be compiled by itself after the rebase, and each one only adds a small part.
My intention is to add tests and Storybook stories in a follow-up PR to ensure this PR doesn't get even larger than it already is.
Test plan
1-time setup
codeQL.canaryandcodeQL.dataExtensions.editorsettings totrueqlsubmodule atjava/ql/src/Telemetry/FetchExternalAPIs.ql:Query
Testing the data extension editor
vscode-codeql-starterworkspacedsp-testing/sql2o-exampledatabase from GitHub and wait for it to downloaddsp-testing/sql2o-exampledatabase (this should have been done automatically)org.sql2o.Connection#createQuery(String)to be a sink with inputArgument[0]and kindsqldsp-testing/sql2o-importChecklist
ready-for-doc-reviewlabel there.