From 816c83d68fdb939b6bc7a86167d67183d3e7f5cb Mon Sep 17 00:00:00 2001 From: dingo Date: Wed, 21 Oct 2026 16:13:20 -0400 Subject: [PATCH] ci: gate pushes on the deploy suite only and run the full matrix nightly Gameplay iteration needs images on DEV in minutes. A push to main now runs only the deploy policy suite before the image jobs; the full check matrix runs nightly, on pull requests and on manual dispatch, in its own concurrency group. Refreshes the DEV session window. Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/build.yaml | 14 ++++++++++++-- .../region/dev-session-route/listener.yaml | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index e5002a3..a314a25 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -5,10 +5,14 @@ on: branches: [main] pull_request: workflow_dispatch: + # The full check matrix runs nightly; pushes only gate on the deploy policy suite. + schedule: + - cron: '0 9 * * *' -# Do not spend a full build on obsolete commits when pushes arrive quickly. +# Do not spend a full build on obsolete commits when pushes arrive quickly. Nightly runs +# use their own group so a push does not cancel them. concurrency: - group: foundation-${{ gitea.ref || github.ref }} + group: foundation-${{ github.event_name }}-${{ gitea.ref || github.ref }} cancel-in-progress: true permissions: @@ -49,6 +53,12 @@ jobs: CHECK_SUITE: ${{ matrix.suite }} run: | set -eu + # Gameplay iteration (2026-10-21): a push publishes images after the deploy policy + # suite alone. The full matrix runs nightly, on pull requests and on dispatch. + if [ "$CI_EVENT" = push ] && [ "$CHECK_SUITE" != deploy ]; then + echo "Push build: $CHECK_SUITE runs nightly or on dispatch; gate skipped." + exit 0 + fi # The selector's own regression runs first, so a broken selector cannot # silently skip the suites. if [ "$CHECK_SUITE" = deploy ]; then bash tools/ci/ci-paths-check.sh; fi diff --git a/deploy/kubernetes/region/dev-session-route/listener.yaml b/deploy/kubernetes/region/dev-session-route/listener.yaml index 4603e86..9c1256e 100644 --- a/deploy/kubernetes/region/dev-session-route/listener.yaml +++ b/deploy/kubernetes/region/dev-session-route/listener.yaml @@ -12,7 +12,7 @@ spec: env: - {name: REGION_SESSION, value: "dev"} - {name: REGION_SESSION_LISTEN, value: "0.0.0.0:7400"} - - {name: REGION_SESSION_WINDOW, value: "dev-20261021T153222-6e90d67e:1792611142"} + - {name: REGION_SESSION_WINDOW, value: "dev-20261021T200606-ffa8b8ab:1792627566"} - {name: REGION_M10_MAX_GRANT_LIFETIME, value: "14400"} ports: # QUIC (ADR-0090): UDP only; nothing listens on TCP 7400.