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

[Dashboard][event] Basic event module #16985

Merged
merged 21 commits into from
Jul 14, 2021

Conversation

fyrestone
Copy link
Contributor

@fyrestone fyrestone commented Jul 12, 2021

Why are these changes needed?

Try to make the test_events more stable.

  • Fix _update_error_info raises an exception. **We should avoid pubsubing error info and log info.

Related issue number

#16698

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@fyrestone fyrestone changed the title Make monitor events task cancellable [Dashboard] Make monitor events task cancellable Jul 12, 2021
@amogkam amogkam removed their request for review July 12, 2021 04:25
@fyrestone
Copy link
Contributor Author

@amogkam Can you review this PR before reverting the PR: #17004?

@amogkam
Copy link
Contributor

amogkam commented Jul 13, 2021

@fyrestone #17004 is already merged since the PR it reverted introduced a flaky test test_event (which you can see here https://flakey-tests.ray.io/). If you can deflake the test then feel free to re-revert it.

@fyrestone
Copy link
Contributor Author

@fyrestone #17004 is already merged since the PR it reverted introduced a flaky test test_event (which you can see here https://flakey-tests.ray.io/). If you can deflake the test then feel free to re-revert it.

I have created the fix PR (this PR) to improve the test_event stability when I found the flaky, and requested you to review it. But you rejected the review and reverted the PR.

@amogkam
Copy link
Contributor

amogkam commented Jul 13, 2021

Ah @fyrestone sorry I missed this context.

The policy is to always revert the offending PR since that can be done immediately rather than wait for a fix. We can always then re-create the original PR with the fix and then merge it back in. If you can include the original PR into this one, then we can merge this.

@fyrestone
Copy link
Contributor Author

Ah @fyrestone sorry I missed this context.

The policy is to always revert the offending PR since that can be done immediately rather than wait for a fix. We can always then re-create the original PR with a fix and then merge it back in. If you can include the original PR into this one, then we can merge this.

There are many flaky tests, can you revert or disable them? I will merge the original PR into this one, and please review it.

@fyrestone
Copy link
Contributor Author

@amogkam Sorry for the waiting, the fix arrives 1 day before the reverting.

@fyrestone fyrestone changed the title [Dashboard] Make monitor events task cancellable [Dashboard][event] Basic event module Jul 13, 2021
@amogkam
Copy link
Contributor

amogkam commented Jul 13, 2021

@fyrestone yes we really appreciate the quick fix! The thing is even though the fix was made earlier we still had to do a code review and get approvals which takes more time. Reverting the original PR just requires a rubber stamp approval and doesn't even require the CI to finish running which is why we prefer to always revert if the offending PR can be identified since we can always merge back the original PR and it minimizes the time that the build is failing.

@fyrestone fyrestone requested a review from amogkam July 13, 2021 04:41
@amogkam amogkam self-assigned this Jul 13, 2021
@amogkam amogkam merged commit f1faa79 into ray-project:master Jul 14, 2021
amogkam added a commit that referenced this pull request Jul 14, 2021
amogkam added a commit that referenced this pull request Jul 14, 2021
amogkam added a commit that referenced this pull request Jul 15, 2021
raulchen pushed a commit that referenced this pull request Jul 18, 2021
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.

None yet

4 participants