Skip to content

feat: add deploy reconcile cron job and related logic#1239

Merged
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2651_a4dae50
Jul 7, 2026
Merged

feat: add deploy reconcile cron job and related logic#1239
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2651_a4dae50

Conversation

@csg-pr-bot

Copy link
Copy Markdown
Collaborator

Summary:

  • Introduces a periodic cron job and Temporal workflow to reconcile Deploy and ArgoWorkflow states, preventing permanent stuck statuses caused by lost Runner webhooks.
  • Implements a batch status API to efficiently query real-time K8s/Sandbox/Argo states across clusters, with logic to safely sync database records while handling concurrency and timeouts.
  • Adds status_update_at columns to relevant database tables and configures tunable parameters for reconciliation frequency and stuck-state detection thresholds.

@csg-pr-bot

Copy link
Copy Markdown
Collaborator Author

Depends on #1238

@HaiHui886 HaiHui886 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@HaiHui886 HaiHui886 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@HaiHui886
HaiHui886 merged commit 18cc048 into main Jul 7, 2026
7 checks passed
@HaiHui886
HaiHui886 deleted the sync_mr_2651_a4dae50 branch July 7, 2026 02:55
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.

3 participants