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
feat: add support for tracing package types #5252
Conversation
FYI: I didn't want to mark this as ready for review obviously... but I can't find how to undo that from phone. |
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.
Did a quick glance.
Thanks for the comment in #5028 about how it works. I think the behaviour is as expected.
Left some minor comments, as I didnt touch the meat in getPackageTree which you have planned to refactor, so not sure if there is sense to check it before (let us know). Plus some things are already noted by lint.
BTW I see you have also a task to add -o dot
support. Not sure how time-consuming that is but you could keep it as a follow-up PR maybe?
Signed-off-by: Jared Watts <jbw976@gmail.com>
Signed-off-by: lsviben <sviben.lovro@gmail.com>
Signed-off-by: lsviben <sviben.lovro@gmail.com>
I pushed some changes, mostly around fixing the lint errors and simplifying getPackageTree. Will work on this further, but I dont think it will be ready in time for the 1.15 feature freeze |
Signed-off-by: lsviben <sviben.lovro@gmail.com>
Signed-off-by: lsviben <sviben.lovro@gmail.com>
Signed-off-by: lsviben <sviben.lovro@gmail.com>
Signed-off-by: lsviben <sviben.lovro@gmail.com>
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
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 obviously biased, but I think it's now ok to merge We should squash the commits before merging though.
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.
Signed-off-by: Jared Watts <jbw976@gmail.com> Signed-off-by: lsviben <sviben.lovro@gmail.com> Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com> Co-authored-by: Jared Watts <jbw976@gmail.com> Co-authored-by: lsviben <sviben.lovro@gmail.com> Co-authored-by: Philippe Scorsolini <p.scorsolini@gmail.com>
Description of your changes
This PR adds support to the
crossplane beta trace
command to trace and display details of package types, such asProvider
,Configuration
, andFunction
.Some details about the experience so far can be found in #5028 (comment).
This PR will remain in draft while there are more tasks to complete, but we wanted to get early eyes on it as we're approaching the v1.15 milestone.
TODO:
getPackageTree
functionFixes #5028
I have:
make reviewable
to ensure this PR is ready for review.Added or updated e2e tests.Addedbackport release-x.y
labels to auto-backport this PR.Need help with this checklist? See the cheat sheet.