Skip to content

Test Result Report Notification #459

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

Merged
merged 21 commits into from
Jun 17, 2021
Merged

Conversation

sunmou99
Copy link
Contributor

@sunmou99 sunmou99 commented Jun 11, 2021

  • github.py: A utility for GitHub REST API

  • it_workflow.py: script which helps to update PR/Issue comments and labels during testing process.

    • doesn't include "download artifact" logic, because "artifact_id" only exist after workflow finishs running
  • Added post-submit check: github.event.action == 'closed' && github.event.pull_request.merged == true

  • Created Nightly Test Result Report (repo)

  • TODO: Nightly Test Result Report for packaged SDK to be defined

  • TODO: remove GitHub APP trigger

@google-cla google-cla bot added the cla: yes label Jun 11, 2021
@sunmou99 sunmou99 added tests-requested: quick Trigger a quick set of integration tests. and removed cla: yes labels Jun 11, 2021
@github-actions github-actions bot removed the tests-requested: quick Trigger a quick set of integration tests. label Jun 11, 2021
@google-cla google-cla bot added the cla: yes label Jun 11, 2021
@github-actions github-actions bot added the tests: in-progress This PR's integration tests are in progress. label Jun 11, 2021
@github-actions
Copy link

github-actions bot commented Jun 11, 2021

✅  Integration test succeeded!

Requested by @sunmou99 on commit a0e851c
Last updated: Wed Jun 16 23:22 PDT 2021
View integration test log & download artifacts

@github-actions github-actions bot added the tests: failed This PR's integration tests failed. label Jun 11, 2021
@sunmou99 sunmou99 added tests-requested: quick Trigger a quick set of integration tests. and removed tests: failed This PR's integration tests failed. tests: in-progress This PR's integration tests are in progress. labels Jun 11, 2021
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. and removed tests-requested: quick Trigger a quick set of integration tests. labels Jun 11, 2021
@sunmou99 sunmou99 added the tests-requested: quick Trigger a quick set of integration tests. label Jun 11, 2021
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. tests: failed This PR's integration tests failed. and removed tests-requested: quick Trigger a quick set of integration tests. tests: failed This PR's integration tests failed. labels Jun 11, 2021
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Jun 12, 2021
@sunmou99 sunmou99 requested a review from a-maurice June 14, 2021 18:22
Copy link
Contributor

@jonsimantov jonsimantov left a comment

Choose a reason for hiding this comment

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

Not sure that this will be possible - without this, it's not possible for a workflow to trigger another workflow.

_COMMENT_SUFFIX)
github.update_issue_comment(token, issue_number, comment)
else:
# github.delete_label(token, issue_number, _LABEL_SUCCEED)
Copy link
Contributor

Choose a reason for hiding this comment

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

How come these (and above) are commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because we are reusing the same issue, the label logic makes the issue grows longer. Plus, I feel opening/closing issue suggesting the success/failure states.
Anthony and I talked about it during today's sync meeting. He agreed with what we have right now. But, we can definitely make some changes later with feedbacks.
I also updated the design doc When should we create a new Issue (pros and cons). Feel free to throw some comments

@jonsimantov jonsimantov self-requested a review June 17, 2021 00:10
jonsimantov
jonsimantov previously approved these changes Jun 17, 2021
Copy link
Contributor

@jonsimantov jonsimantov left a comment

Choose a reason for hiding this comment

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

This seems mostly okay, I think we'll have to see what issues arise (if any) once this goes in.

Thanks for this change!

@sunmou99 sunmou99 added the tests-requested: quick Trigger a quick set of integration tests. label Jun 17, 2021
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. and removed tests-requested: quick Trigger a quick set of integration tests. tests: failed This PR's integration tests failed. labels Jun 17, 2021
@sunmou99 sunmou99 added the tests-requested: quick Trigger a quick set of integration tests. label Jun 17, 2021
@jonsimantov jonsimantov self-requested a review June 17, 2021 00:51
@github-actions github-actions bot removed the tests-requested: quick Trigger a quick set of integration tests. label Jun 17, 2021
@github-actions github-actions bot added the tests: succeeded This PR's integration tests succeeded. label Jun 17, 2021
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Jun 17, 2021
@sunmou99 sunmou99 merged commit a0e851c into main Jun 17, 2021
@sunmou99 sunmou99 deleted the feature/test-result-notification branch June 17, 2021 04:10
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. tests: succeeded This PR's integration tests succeeded. and removed tests: succeeded This PR's integration tests succeeded. labels Jun 17, 2021
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Jun 17, 2021
@firebase firebase locked and limited conversation to collaborators Jul 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes tests: succeeded This PR's integration tests succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants