-
Notifications
You must be signed in to change notification settings - Fork 12
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
Migrate to create-plugin #148
Conversation
Backend code coverage report for PR #148 |
Frontend code coverage report for PR #148 |
@@ -6,5 +6,5 @@ jobs: | |||
workflow-call: | |||
uses: grafana/code-coverage/.github/workflows/code-coverage.yml@v0.1.10 | |||
with: | |||
frontend-path-regexp: src | |||
frontend-path-regexp: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code coverage temporarily disabled. It doesn't currently get run on main, and getting code coverage to successfully run would require further changes. #154 is to enable it.
Hey @iwysiu would you mind adding a description to this PR? I know this is mostly a chore, but it can be helpful both as a reader to put us in the right frame of mind when reading and also to future versions of us reading the code! |
Of course! Sorry about that, I was planning to after I finished fighting with the code coverage and then I forgot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not tested, but it looks good! Added a few minor comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting an error when I select an existing X-Ray data source and when I try to add a new X-Ray data source.
Does anyone else see this?
Could be related #149
@kevinwcyu Yeah, I'm also seeing that. It looks like the frontend isn't finding the datasource for some reason? I tried it with the migrated timestream pr and it wasn't erroring, so it may be something specific about x-ray. In which case, maybe it is the same bug. |
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com>
.config/webpack/webpack.config.ts
Outdated
'@grafana/ui', | ||
'@grafana/runtime', | ||
'@grafana/data', | ||
'tslib', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iwysiu, I think you can remove tslib
from this list and it should stop having the 404 error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, it worked!
Migrates from grafana-toolkit to create-plugin.
Fixes #141