Say what the mirror's concurrency group does, and name every way a stale ref survives
Test / lint (pull_request) Successful in 20s
Test / test (26) (pull_request) Successful in 17s
Mirror / push (push) Successful in 3s
Test / test (18) (pull_request) Successful in 18s
Test / test (20) (pull_request) Successful in 18s
Test / test (22) (pull_request) Successful in 18s
Test / test (24) (pull_request) Successful in 17s

This commit was merged in pull request #5.
This commit is contained in:
2026-09-14 20:54:04 +02:00
parent 14b114afda
commit c5adfd8e39
3 changed files with 4 additions and 5 deletions
-1
View File
@@ -7,7 +7,6 @@ permissions:
contents: read contents: read
jobs: jobs:
# No concurrency group: Gitea cancels a queued run when the next one in its group arrives, dropping the delete.
delete: delete:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
timeout-minutes: 10 timeout-minutes: 10
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
push: push:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
timeout-minutes: 10 timeout-minutes: 10
# Gitea 1.26 rolls back a run whose jobs share a group, so the delete job lives in mirror-delete.yaml. # Gitea cancels a queued job in this group when the next one arrives; only the full push may join.
concurrency: concurrency:
group: mirror group: mirror
steps: steps:
+3 -3
View File
@@ -148,9 +148,9 @@ docker compose run --rm node npm run build
TypeScript 7 once that constraint lifts. TypeScript 7 once that constraint lifts.
- GitHub mirrors Gitea through `.gitea/workflows/mirror.yaml`, which never prunes, and - GitHub mirrors Gitea through `.gitea/workflows/mirror.yaml`, which never prunes, and
`mirror-delete.yaml`, one run per deleted ref. A delete run that fails or outlives Gitea's queue `mirror-delete.yaml`, one run per deleted ref. A delete run that fails or outlives Gitea's queue
timeout leaves the ref on GitHub until it is re-run. Accepted: a stale ref there is harmless, and timeout, or a push run that cloned before the delete, leaves the ref on GitHub until the delete
refs only GitHub has must survive. Maintainer's call, 2026-09-14; valid while nothing deploys from run is re-run. Accepted: a stale ref there is harmless, and refs only GitHub has must survive.
GitHub. Maintainer's call, 2026-09-14; valid while nothing deploys from GitHub.
## Defects found in 0.4.0 ## Defects found in 0.4.0