You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to README, awaiting review has no incoming conditions:
flowchart TD
A([Published PR]):::creator
A_draft([New Draft PR]):::creator
A_draft -- publish draft by contributor --> A:::creator
A -- by contributor --> B[Awaiting review]:::anyone
A -- by core dev --> C[Awaiting core review]:::coredev
B & C -- new review by\nanother contributor --> C
C & B & E -- new core review\nrequests changes --> D[Awaiting changes]:::creator
D -- changes by contributor --> E[Awaiting change review]:::coredev
C & E & B -- new core review\napproves ---> F[Awaiting merge]:::coredev
G[When a review is dismissed\nthe highest remaining state is restored\nbased on the remaining reviews]
classDef creator stroke:#CC0;
classDef anyone stroke:#00C;
classDef coredev stroke:#0C0;
classDef triager stroke:#C0C;
linkStyle 0,1,7 stroke:#CC0,color:auto;
linkStyle 2,3 stroke:#00C,color:auto;
linkStyle 4,5,6,8,9,10 stroke:#0C0,color:auto;
Loading
I suspect the bug is here, in a handler of PR/issue modifications introduced in gh-555:
We need to check whether assignment of Blocker.core_review or Blocker.review is allowed before executing the else branch.
Ideally (for some distant future) we need to move tag management into a separate .py file that reads existing tags, checks if a new one is applicable, and removes the old ones. However, I have no free time to do it currently (because it requires massive modification of both reactors and their tests).
While changing
bpo-togh-I noticed that Bedevere makes forbidden transitions in response:According to README,
awaiting reviewhas no incoming conditions:flowchart TD A([Published PR]):::creator A_draft([New Draft PR]):::creator A_draft -- publish draft by contributor --> A:::creator A -- by contributor --> B[Awaiting review]:::anyone A -- by core dev --> C[Awaiting core review]:::coredev B & C -- new review by\nanother contributor --> C C & B & E -- new core review\nrequests changes --> D[Awaiting changes]:::creator D -- changes by contributor --> E[Awaiting change review]:::coredev C & E & B -- new core review\napproves ---> F[Awaiting merge]:::coredev G[When a review is dismissed\nthe highest remaining state is restored\nbased on the remaining reviews] classDef creator stroke:#CC0; classDef anyone stroke:#00C; classDef coredev stroke:#0C0; classDef triager stroke:#C0C; linkStyle 0,1,7 stroke:#CC0,color:auto; linkStyle 2,3 stroke:#00C,color:auto; linkStyle 4,5,6,8,9,10 stroke:#0C0,color:auto;I suspect the bug is here, in a handler of PR/issue modifications introduced in gh-555:
bedevere/bedevere/stage.py
Lines 127 to 131 in 0f350ce
We need to check whether assignment of
Blocker.core_revieworBlocker.reviewis allowed before executing theelsebranch.Ideally (for some distant future) we need to move tag management into a separate
.pyfile that reads existing tags, checks if a new one is applicable, and removes the old ones. However, I have no free time to do it currently (because it requires massive modification of both reactors and their tests).cc @itamaro