From 3cf1b85044bb4e3be7f791b79a6d28c93d625f01 Mon Sep 17 00:00:00 2001 From: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com> Date: Tue, 15 Sep 2026 09:58:49 -0300 Subject: [PATCH] ci(radar-export): publish on release-branch catalog pushes and run the schedule daily The radar-server only consumes the stable asset, so a catalog merge on the active release branch waited for the Monday 06:17 UTC cron and the feed sat up to a week behind the README (2026-09-14: the Together signup-credit row removed in d6e62ae only left the feed after a manual dispatch). Trigger on release/** pushes for the same catalog paths and move the schedule to 03:17 UTC daily, ahead of the server's 04:23 UTC publish cycle. --- .github/workflows/radar-export.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/radar-export.yml b/.github/workflows/radar-export.yml index 043de88d3d..18f29e4d60 100644 --- a/.github/workflows/radar-export.yml +++ b/.github/workflows/radar-export.yml @@ -10,7 +10,11 @@ name: Radar Export on: workflow_dispatch: # o operador pode publicar sob demanda (de qualquer ref) push: - branches: [main] # produção: só o catálogo do main clobra o asset estável + # `main` e a release ativa (default branch) publicam no mesmo asset estável: o + # radar-server só consome o asset, então um merge de catálogo na release que ficasse + # à espera do cron semanal deixava o feed até 7 dias atrás do README (2026-09-14: a + # linha da Together removida em d6e62ae só saiu do feed com dispatch manual). + branches: [main, "release/**"] paths: - open-sse/config/freeModelCatalog.data.ts - open-sse/config/freeModelCatalog.ts @@ -19,7 +23,9 @@ on: - scripts/release/radar-export.mjs - .github/workflows/radar-export.yml schedule: - - cron: "17 6 * * 1" # semanal (segunda 06:17 UTC): mantém geradoEm/proveniência frescos + # Diário 03:17 UTC — antes do `radar-feed.timer` do servidor (04:23 UTC), para o ciclo + # do dia já enxergar o export do dia; também mantém geradoEm/proveniência frescos. + - cron: "17 3 * * *" permissions: contents: read