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

test(JSON-RPC): send a slack alert upon GW integration test failure #1273

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

TzahiTaub
Copy link
Contributor

@TzahiTaub TzahiTaub commented Oct 14, 2023

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

gateway_integration_test failure fails the workflow with no alert.

What is the new behavior?

  • A failure will trigger sending an error message to Slack.

Does this introduce a breaking change?

  • Yes
  • No

Other information


This change is Reviewable

@TzahiTaub TzahiTaub self-assigned this Oct 14, 2023
@codecov
Copy link

codecov bot commented Oct 14, 2023

Codecov Report

Merging #1273 (ab6f7ac) into main (5e611ab) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1273   +/-   ##
=======================================
  Coverage   72.99%   72.99%           
=======================================
  Files          84       84           
  Lines        7951     7951           
  Branches     7951     7951           
=======================================
  Hits         5804     5804           
  Misses       1224     1224           
  Partials      923      923           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@OmriEshhar1 OmriEshhar1 left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dan-starkware and @TzahiTaub)

a discussion (no related file):
is there a place where we can configure these 'secret' values which is not seen by outsiders?


@TzahiTaub TzahiTaub force-pushed the tzahi/gw_integration_test_slack_alert branch from 59a248c to 66509ec Compare October 15, 2023 08:38
Copy link
Contributor Author

@TzahiTaub TzahiTaub left a comment

Choose a reason for hiding this comment

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

Reviewable status: 1 of 2 files reviewed, 1 unresolved discussion (waiting on @dan-starkware and @OmriEshhar1)

a discussion (no related file):

Previously, OmriEshhar1 wrote…

is there a place where we can configure these 'secret' values which is not seen by outsiders?

In the repo settings (can only be accessed by the owner/privileged ysers).


Copy link
Contributor Author

@TzahiTaub TzahiTaub left a comment

Choose a reason for hiding this comment

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

Reviewable status: 1 of 2 files reviewed, 1 unresolved discussion (waiting on @dan-starkware and @OmriEshhar1)

a discussion (no related file):

Previously, TzahiTaub (Tzahi) wrote…

In the repo settings (can only be accessed by the owner/privileged ysers).

The used secrets were already added


Copy link
Contributor

@OmriEshhar1 OmriEshhar1 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dan-starkware)

@TzahiTaub TzahiTaub force-pushed the tzahi/gw_integration_test_basic branch 2 times, most recently from 0c5f22d to a104a6d Compare October 15, 2023 19:59
@TzahiTaub TzahiTaub force-pushed the tzahi/gw_integration_test_slack_alert branch from 66509ec to cd95620 Compare October 15, 2023 20:09
OmriEshhar1
OmriEshhar1 previously approved these changes Oct 16, 2023
Copy link
Contributor

@OmriEshhar1 OmriEshhar1 left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @dan-starkware)

Base automatically changed from tzahi/gw_integration_test_basic to main October 16, 2023 02:14
@TzahiTaub TzahiTaub dismissed OmriEshhar1’s stale review October 16, 2023 02:14

The base branch was changed.

@TzahiTaub TzahiTaub force-pushed the tzahi/gw_integration_test_slack_alert branch from cd95620 to fc6809f Compare October 16, 2023 05:52
@TzahiTaub TzahiTaub removed the request for review from dan-starkware October 17, 2023 11:54
Copy link
Contributor Author

@TzahiTaub TzahiTaub left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @TzahiTaub)

@TzahiTaub TzahiTaub force-pushed the tzahi/gw_integration_test_slack_alert branch from fc6809f to ab6f7ac Compare October 17, 2023 12:00
@TzahiTaub TzahiTaub enabled auto-merge October 17, 2023 13:20
Copy link
Contributor

@OmriEshhar1 OmriEshhar1 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @TzahiTaub)

@TzahiTaub TzahiTaub added this pull request to the merge queue Oct 17, 2023
Merged via the queue into main with commit ca20b6c Oct 17, 2023
34 of 35 checks passed
@TzahiTaub TzahiTaub deleted the tzahi/gw_integration_test_slack_alert branch October 17, 2023 13:53
@github-actions github-actions bot locked and limited conversation to collaborators Oct 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants