RFR: 1683: The force push notifier needs an overhaul [v3]

Zhao Song zsong at openjdk.org
Wed Nov 23 19:17:47 UTC 2022


> A user reported a bug related with the force-push notification. Erik investigated it and found the implementation of this notification should not be in the `PullRequestBranchNotifier`. Also, users preferred to not get force-push notification if the force-push happens when the pr is in draft state.
> 
> In this patch, the implementation of checking force-push and notifying user are moved to `CheckWorkItem`. Also, force-pushing or rebasing a draft pr will not warn user any more.

Zhao Song has updated the pull request incrementally with one additional commit since the last revision:

  adjust comment

-------------

Changes:
  - all: https://git.openjdk.org/skara/pull/1426/files
  - new: https://git.openjdk.org/skara/pull/1426/files/aabd0b7a..86d9473f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=skara&pr=1426&range=02
 - incr: https://webrevs.openjdk.org/?repo=skara&pr=1426&range=01-02

  Stats: 9 lines in 2 files changed: 1 ins; 4 del; 4 mod
  Patch: https://git.openjdk.org/skara/pull/1426.diff
  Fetch: git fetch https://git.openjdk.org/skara pull/1426/head:pull/1426

PR: https://git.openjdk.org/skara/pull/1426


More information about the skara-dev mailing list