-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Plugins: Improve levitate / breaking changes report in grafana/grafana #89822
Conversation
081588b
to
9f6562d
Compare
9f6562d
to
f0193b9
Compare
markdown += createLinks(changes, affectingProperties).join('<br>\n'); | ||
} | ||
} else { | ||
markdown += '<h4>No affected plugins found</h4>'; |
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.
What if we don't print this part and instead just output a blank report?
My concern is that this line can give a false feeling that nothing is broken and you can go ahead and merge but in truth our database of dependency usage is not 100% reliable so we can't reliable say "nothing is affected"
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 for your review. It makes sense. I'll change that :D
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.
Excellent work on this @oshirohugo !
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.
Nice 🚀
Co-authored-by: Levente Balogh <[email protected]>
#89822) * Plugins: Add gcloud auth and usage to levitate workflow --------- Co-authored-by: Levente Balogh <[email protected]>
What is this feature?
This PR is adding more details to the report generated by the levitate pipeline:
Special notes for your reviewer
Why do we need this feature?
This feature is necessary to give developers a better way to analyse and react to possible breaking changes.
Who is this feature for?
Grafana developers
Which issue(s) does this PR fix?:
Fixes https://github.com/grafana/grafana-community-team/issues/137
Special notes for your reviewer:
In this feature we choose to go with links instead of showing the info directly to avoid showing info of private plugins.
This is an example of the new report:
##################
Changes
useTheme2/tmp/@grafana/[email protected]/package/dist/index.d.ts
GrafanaTheme2.spacing
/tmp/@grafana/[email protected]/package/dist/index.d.ts
Number of affected plugins: 22
To check the plugin affected by each import, click on the links below.
Changes
@grafana/ui/useTheme2@grafana/data/GrafanaTheme2.spacing
##################
Please check that: