Skip to content

chore(auto-upgrade): run cronjob hourly at :23 (prod cherry-pick)#113

Merged
saadqbal merged 1 commit into
mainfrom
chore/auto-upgrade-hourly-prod
May 7, 2026
Merged

chore(auto-upgrade): run cronjob hourly at :23 (prod cherry-pick)#113
saadqbal merged 1 commit into
mainfrom
chore/auto-upgrade-hourly-prod

Conversation

@saadqbal

@saadqbal saadqbal commented May 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Cherry-pick of the same commit on #112 (dev-side), branched off main so this PR contains only the schedule change — no other unshipped develop commits ride along.
  • Switches default autoUpgrade.schedule from "23 2 * * *" (daily 02:23 UTC) to "23 * * * *" (hourly at :23) so deployed clients converge on the latest chart within ~1h instead of ~24h.

Refs #111. Merge alongside #112; either order is fine since both PRs carry the same single-file change.

Test plan

  • Confirm diff vs main is exactly the 2-line schedule: change in client/values.yaml
  • helm template ... | grep -A1 schedule: renders 23 * * * *
  • client/tests/auto_upgrade_test.yaml passes (helm unittest client/)
  • Post-deploy: kubectl get cronjob -n <ns> -l app.kubernetes.io/component=auto-upgrade shows hourly schedule

🤖 Generated with Claude Code


Note

Medium Risk
Changes the default self-upgrade CronJob cadence from daily to hourly, increasing how often clusters run a helm upgrade with cluster-admin privileges and how quickly any bad chart release could roll out.

Overview
Updates the default autoUpgrade.schedule from daily "23 2 * * *" to hourly "23 * * * *", so deployed clients check for and apply chart upgrades within ~1 hour instead of ~24 hours.

Adjusts the Helm unittest (client/tests/auto_upgrade_test.yaml) to assert the new rendered CronJob schedule.

Reviewed by Cursor Bugbot for commit cafaf27. Bugbot is set up for automated code reviews on this repo. Configure here.

@saadqbal saadqbal self-assigned this May 7, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4fc3d16. Configure here.

Comment thread client/values.yaml
Switches the auto-upgrade CronJob default schedule from
"23 2 * * *" (daily 02:23 UTC) to "23 * * * *" (hourly at :23).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@saadqbal saadqbal force-pushed the chore/auto-upgrade-hourly-prod branch from 4fc3d16 to cafaf27 Compare May 7, 2026 10:21
@saadqbal saadqbal merged commit 89dc11e into main May 7, 2026
12 of 13 checks passed
@saadqbal saadqbal deleted the chore/auto-upgrade-hourly-prod branch May 13, 2026 14:00
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