Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-top-query.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/watchdog.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Loading