Skip to content

ci: add scheduled refresh for GitHub backlog cache#1496

Open
felixwidjaja wants to merge 1 commit into
mainfrom
fix/github-backlog-cache-refresh
Open

ci: add scheduled refresh for GitHub backlog cache#1496
felixwidjaja wants to merge 1 commit into
mainfrom
fix/github-backlog-cache-refresh

Conversation

@felixwidjaja

Copy link
Copy Markdown
Member

Summary

  • /roadmap/backlog (GitHub Projects-backed) was only ever refreshed passively via its 24h cache TTL — a change made on the GitHub Projects board could take up to a full day to appear on the live site.
  • Adds a scheduled GitHub Actions workflow that force-regenerates just the github-backlog cache entry every 10 minutes via the existing, secret-protected POST /api/cache/strapi endpoint ({"names":["github-backlog"]}).
  • Scoped narrowly to the GitHub backlog cache only — the Strapi-backed /roadmap page already has its own webhook-driven invalidation and is untouched by this change.

Test plan

  • Confirm STRAPI_WEBHOOK_SECRET repo secret is set (required for the workflow's curl call to authenticate against /api/cache/strapi)
  • Manually trigger the workflow via workflow_dispatch and confirm a 200 response
  • Verify /roadmap/backlog reflects a GitHub Projects board change within ~10 minutes after merge

@AriaEdo
AriaEdo force-pushed the fix/github-backlog-cache-refresh branch from e6f80b6 to 34ae5bb Compare July 16, 2026 08:25
@AriaEdo
AriaEdo force-pushed the fix/github-backlog-cache-refresh branch from 34ae5bb to d1d240c Compare July 16, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant