-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[CHORE] improve comment bot #6820
Conversation
Asset Size Report for fe7aeb2 EmberData has not changed in sizeIf any packages had changed sizes they would be listed here. Changeset
Full Asset Analysis
|
Performance Report for fe7aeb2 Relationship Analysis
|
- changes the comment-bot to update existing comments instead of deleting old comments - fixes the bug that was preventing deletion of old comments - fixes the performance analysis script to also post a comment correctly (it's been failing to do so although trying for some time) You can see the effects of the updates (edit history on the pr comments) within this PR. Overall it seems like a good change, although I dislike how the comment time stamp remains the time of the very original comment instead of showing the time edited. This makes it harder to judge quickly if it is the most recent analysis, although checking the commit sha that is printed will verify.
08dacfa
to
fe7aeb2
Compare
Ilios failure seems to be due to them having merged a bad PR |
cc @jrjohnson |
Thanks for the heads up @runspired looks like we have a floating dependency with a breaking change. It's our own package so entirely my fault. I'll get that cleaned up ASAP. |
@@ -33,9 +33,10 @@ API_VERSION=v3 | |||
API_HEADER="Accept: application/vnd.github.${API_VERSION}+json; application/vnd.github.antiope-preview+json" | |||
AUTH_HEADER="Authorization: token ${GITHUB_TOKEN}" | |||
|
|||
delete_comment_if_exists() { | |||
update_comment_if_exists() { |
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.
Unrelated to this PR but as these grow/become more complicated should we rewrite them in js?
@@ -46,15 +47,19 @@ delete_comment_if_exists() { | |||
# We have found our comment. | |||
# Delete it. |
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.
Leftover old comment
} | ||
|
||
post_comment() { | ||
echo "Posting new comment" |
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.
👍
My gmail sends many ❤️ |
This PR
You can see the effects of the updates (edit history on the pr comments) within this PR. Overall it seems like a good change, although I dislike how the comment time stamp remains the time of the very original comment instead of showing the time edited. This makes it harder to judge quickly if it is the most recent analysis, although checking the commit sha that is printed will verify.