Skip to content

Add fast auto-update for stakgraph and repo2graph#598

Open
tomsmith8 wants to merge 1 commit intomasterfrom
feature/fast-auto-update
Open

Add fast auto-update for stakgraph and repo2graph#598
tomsmith8 wants to merge 1 commit intomasterfrom
feature/fast-auto-update

Conversation

@tomsmith8
Copy link
Copy Markdown
Contributor

  • Add 15-minute cron job for fast updates (hardcoded for stakgraph/repo2graph)
  • Check /busy endpoint before updating to avoid interrupting work
  • Fix pull_image() to detect actual image changes via digest comparison
  • If /busy endpoint unreachable, skip update (treat as busy)

@tomsmith8 tomsmith8 force-pushed the feature/fast-auto-update branch from 1d0b39d to 99b59cf Compare December 5, 2025 21:18
- Add configurable cron job for fast updates (FAST_UPDATE_CRON env var, default: every 15 min)
- Check /busy endpoint before updating to avoid interrupting work
- Fix pull_image() to detect actual image changes via digest comparison
- If /busy endpoint unreachable, skip update (treat as busy)
@tomsmith8 tomsmith8 force-pushed the feature/fast-auto-update branch from 99b59cf to 4e09b6a Compare December 5, 2025 21:20
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