Skip to content
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(.github/add-new-impl): reference metrics dashboard #296

Closed
wants to merge 1 commit into from

Conversation

mxinden
Copy link
Member

@mxinden mxinden commented Sep 4, 2023

Reference the perf dashboard, linking to the branch of the pull request, i.e. perf: https://observablehq.com/@libp2p-workspace/performance-dashboard?branch=perf%2Fgo-libp2p#branch

@@ -65,7 +65,7 @@ jobs:
git push origin $BRANCH --force
# create a PR if an open one doesn't exist yet
if [[ $(gh pr list --state open --base $GITHUB_REF --head $BRANCH | wc -l) -eq 0 ]]; then
gh pr create --title "chore: add go-libp2p@$REMOTE_VERSION to $DIR" --body "This PR adds go-libp2p@$REMOTE_VERSION to $DIR" --head $BRANCH --base $GITHUB_REF
gh pr create --title "chore: add go-libp2p@$REMOTE_VERSION to $DIR" --body "This PR adds go-libp2p@$REMOTE_VERSION to $DIR\nSee new metrics at https://observablehq.com/@libp2p-workspace/performance-dashboard?branch=perf%2Fgo-libp2p#branch once \"perf: update benchmark results\" commit is pushed." --head $BRANCH --base $GITHUB_REF
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This always references the branch branch, or am I misunderstanding the link?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about we create a comment on a PR (if it exists) when we push the commit (in the perf job itself)? That way we could reference the exact SHA of the commit and the link would keep working after the branch is merged & deleted. I can put a proposal for that in a sec.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants