Port the gitlab-mr plugin and mr-status.sh to Forgejo #493

Closed
opened 2026-10-21 10:06:36 +00:00 by root · 6 comments
root commented 2026-10-21 10:06:36 +00:00 (Migrated from gitlab.core-project.space)

Parent

#489

What to build

The agent is still woken when its pull request's run fails, a review thread opens or a conflict appears. The gitlab-mr plugin becomes a forgejo-pr plugin, and scripts/mr-status.sh becomes scripts/pr-status.sh, both on tea. The status script prints a pull request's merge state and conflicts, its run's jobs with the log tail of each failed one, and its unresolved threads.

Seam: the forgejo-pr plugin's tests, ported from the gitlab-mr band tests with tea faked as glab is today (spec ## Seams).

Acceptance criteria

  • Every behaviour the gitlab-mr band tests cover has a ported test that passes against a faked tea.
  • A tea failure is drawn dimmed, as a glab failure is today.
  • The plugin follows a pull request that tea pulls create just opened.
  • pr-status.sh reports a pull request ready only when it is mergeable, its run succeeded and no thread is open.
  • The gitlab-mr plugin and mr-status.sh are removed.
## Parent #489 ## What to build The agent is still woken when its pull request's run fails, a review thread opens or a conflict appears. The `gitlab-mr` plugin becomes a `forgejo-pr` plugin, and `scripts/mr-status.sh` becomes `scripts/pr-status.sh`, both on `tea`. The status script prints a pull request's merge state and conflicts, its run's jobs with the log tail of each failed one, and its unresolved threads. Seam: the `forgejo-pr` plugin's tests, ported from the `gitlab-mr` band tests with `tea` faked as `glab` is today (spec `## Seams`). ## Acceptance criteria - [ ] Every behaviour the `gitlab-mr` band tests cover has a ported test that passes against a faked `tea`. - [ ] A `tea` failure is drawn dimmed, as a `glab` failure is today. - [ ] The plugin follows a pull request that `tea pulls create` just opened. - [ ] `pr-status.sh` reports a pull request ready only when it is mergeable, its run succeeded and no thread is open. - [ ] The `gitlab-mr` plugin and `mr-status.sh` are removed.
root commented 2026-10-21 10:07:19 +00:00 (Migrated from gitlab.core-project.space)

mentioned in issue #498

mentioned in issue #498
root commented 2026-10-21 10:08:12 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #489

marked this issue as related to #489
root commented 2026-10-21 10:08:35 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #498

marked this issue as related to #498
root commented 2026-10-21 10:23:55 +00:00 (Migrated from gitlab.core-project.space)

mentioned in merge request !568

mentioned in merge request !568
root commented 2026-10-21 10:29:19 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit a1ae5b99b7

mentioned in commit a1ae5b99b74c4efcff8c6f9d5297c187d291596a
root commented 2026-10-22 09:46:37 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 4d4c364b6a

mentioned in commit 4d4c364b6a1dd76fb90a945bc99c046b67ae41d8
root (Migrated from gitlab.core-project.space) closed this issue 2026-10-22 09:49:48 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
amaurycoudr/chess-project#493
No description provided.