From 51fc31239fc41ebb05431ec93012c9eaee825dba Mon Sep 17 00:00:00 2001 From: Ravinder Jilkapally Date: Mon, 25 May 2026 00:43:33 -0500 Subject: [PATCH] =?UTF-8?q?ci:=20reduce=20Actions=20noise=20(path=20filter?= =?UTF-8?q?s,=20drop=20watchdog=20cron,=20run-top-query=20hourly=E2=86=924?= =?UTF-8?q?h)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ci.yml: add paths-ignore for docs/LICENSE/.gitignore. - watchdog.yml: remove */10 schedule; keep workflow_dispatch only. At current traffic levels the keep-warm value didn't justify ~4,320 runs/month. Comment block updated; re-enable the cron if cold-start latency becomes a real user complaint. - run-top-query.yml: cron 0 * * * * → 0 */4 * * * (24 → 6 runs/day). --- .github/workflows/ci.yml | 10 ++++++++++ .github/workflows/run-top-query.yml | 2 +- .github/workflows/watchdog.yml | 13 ++++--------- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 797c3a5..49a1130 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,8 +3,18 @@ name: CI on: push: branches: [main] + paths-ignore: + - '**.md' + - 'docs/**' + - 'LICENSE' + - '.gitignore' pull_request: branches: [main] + paths-ignore: + - '**.md' + - 'docs/**' + - 'LICENSE' + - '.gitignore' jobs: lint-python: diff --git a/.github/workflows/run-top-query.yml b/.github/workflows/run-top-query.yml index 9a934e1..58d5c7f 100644 --- a/.github/workflows/run-top-query.yml +++ b/.github/workflows/run-top-query.yml @@ -10,7 +10,7 @@ name: Run top-pending query (hourly) on: schedule: - - cron: "0 * * * *" # every hour, on the hour + - cron: "0 */4 * * *" # every 4 hours, on the hour (was hourly — cut to reduce Actions noise) workflow_dispatch: # allow manual trigger permissions: diff --git a/.github/workflows/watchdog.yml b/.github/workflows/watchdog.yml index cec530e..2c6224d 100644 --- a/.github/workflows/watchdog.yml +++ b/.github/workflows/watchdog.yml @@ -1,17 +1,12 @@ name: Watchdog (keep deploy warm + detect stuckness) -# Runs every 10 minutes. Hits the deploy with a demo-mode agent call to: -# 1. Keep Vercel function warm (avoids cold-start latency for the next user) -# 2. Detect when the deploy is broken (5xx, hang, missing route) -# 3. Detect stuck GH Actions runs on main (>15min in_progress) +# Manual-trigger only. The */10 cron was removed to cut Actions noise — at low +# traffic levels the keep-warm value didn't justify ~4,320 runs/month. Re-enable +# the schedule here if cold-start latency becomes a real complaint. # -# When something fails, the job fails red — visible in the Actions tab. We -# do NOT auto-revert or auto-rerun deploys; humans decide what to do. +# Trigger from the Actions tab (workflow_dispatch) when you want to probe prod. on: - schedule: - # Every 10 minutes (cron syntax: m h dom mon dow) - - cron: "*/10 * * * *" workflow_dispatch: # allow manual trigger from the Actions tab permissions: