Validate: add ability to check if code insights works on an instance#912
Merged
Conversation
burmudar
approved these changes
Jan 9, 2023
Co-authored-by: Bolaji Olajide <25608335+BolajiOlajide@users.noreply.github.com>
Contributor
|
hey, I'm not familiar with usage of edit- this is how we clean up in our integration tests if you wanted to clean up after validation: https://sourcegraph.sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/dev/gqltest/code_insights_test.go?L252-256 |
Merged
1 task
scjohns
pushed a commit
that referenced
this pull request
Apr 24, 2023
…912) * wip: add a validation check for being able to create insights * validate: adjust required yaml inputs for creating an Insight * validate: fixed missing common in json * Update CHANGELOG.md Co-authored-by: Bolaji Olajide <25608335+BolajiOlajide@users.noreply.github.com> Co-authored-by: Bolaji Olajide <25608335+BolajiOlajide@users.noreply.github.com>
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.
context: https://sourcegraph.slack.com/archives/C022SPMNR0W/p1672950729445719
Implementation Engineer will use script to verify if instance is configured correctly and can create basic code insights and batch changes
Test plan
locally tested using the scale test instance to create an insight
created yaml file
ran
go run ./cmd/src validate validate.yaml