Run the gate on Forgejo Actions #491

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

Parent

#489

What to build

A pull request's gate runs on Forgejo Actions: checks, front-test and e2e, ported from the GitHub Actions workflows removed in 87f541fd, with the GitLab-era changes kept (shared Turbo volume, Node and Playwright images, Postgres and Mailpit services, heap and concurrency limits). A new push cancels the run it supersedes through workflow-level concurrency. A docs-only pull request ends the app jobs at once. A push to main skips the gate when the pull request that holds its commit already passed on it, by asking Forgejo's API. The check names are stable, so branch protection can require them. The workflows merge on GitLab, which ignores them.

Seam: a Forgejo Actions run (spec ## Seams).

Acceptance criteria

  • checks, front-test and e2e run on a pull request and report one status each, under names branch protection can require.
  • A second push to a pull request cancels the first run.
  • A Markdown- or docs/-only pull request ends the app jobs early and still reports green.
  • A push to main whose pull request passed on the same commit skips the three jobs; any API error lets them run.
  • No secret is referenced by the gate.
  • ADR 0048 is followed.
## Parent #489 ## What to build A pull request's gate runs on Forgejo Actions: `checks`, `front-test` and `e2e`, ported from the GitHub Actions workflows removed in `87f541fd`, with the GitLab-era changes kept (shared Turbo volume, Node and Playwright images, Postgres and Mailpit services, heap and concurrency limits). A new push cancels the run it supersedes through workflow-level `concurrency`. A docs-only pull request ends the app jobs at once. A push to `main` skips the gate when the pull request that holds its commit already passed on it, by asking Forgejo's API. The check names are stable, so branch protection can require them. The workflows merge on GitLab, which ignores them. Seam: a Forgejo Actions run (spec `## Seams`). ## Acceptance criteria - [ ] `checks`, `front-test` and `e2e` run on a pull request and report one status each, under names branch protection can require. - [ ] A second push to a pull request cancels the first run. - [ ] A Markdown- or `docs/`-only pull request ends the app jobs early and still reports green. - [ ] A push to `main` whose pull request passed on the same commit skips the three jobs; any API error lets them run. - [ ] No secret is referenced by the gate. - [ ] ADR 0048 is followed.
root commented 2026-10-21 10:06:57 +00:00 (Migrated from gitlab.core-project.space)

mentioned in issue #495

mentioned in issue #495
root commented 2026-10-21 10:06:59 +00:00 (Migrated from gitlab.core-project.space)

mentioned in issue #496

mentioned in issue #496
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:03 +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:27 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #495

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

marked this issue as related to #496

marked this issue as related to #496
root commented 2026-10-21 10:08:32 +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:25:56 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 0bd1f48ed3

mentioned in commit 0bd1f48ed3aa8437476e1bac9a2f2f7733849115
root commented 2026-10-21 10:25:56 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 640dc222f3

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

mentioned in commit 565582c053

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

mentioned in commit 806ed99c94

mentioned in commit 806ed99c941661df1c67d77d71f619f340d892a3
root (Migrated from gitlab.core-project.space) closed this issue 2026-10-22 09:49:47 +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#491
No description provided.