Repository navigation
k3s: Demote the CronJob controller's status conflicts - #59
Merged
Merged
Conversation
The CronJob controller updates a CronJob's status from a stale copy when a Job finishes within seconds of its start, gets a conflict, requeues, and the next try lands: 31 errors a day for ghostfolio/sync-accounts. The message is klog's "Unhandled Error"; the demotion matches the conflict in `error` (nixos-homelab/monitoring#67, locked at its branch until it merges). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…os-homelab/monitoring#67) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
andsens
marked this pull request as ready for review
November 28, 2026 19:38
andsens
enabled auto-merge (squash)
November 28, 2026 19:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a CronJob's Job finishes within seconds, the CronJob controller updates the CronJob's status from a stale copy, hits a conflict (
Operation cannot be fulfilled on cronjobs.batch "…": the object has been modified), requeues, and succeeds on the next try. Forghostfolio/sync-accountsthat's 31 errors a day. The log message is klog's genericUnhandled Error; the actual text is inerror.Unhandled Erroranderrorholds this conflict. The demotion's field match comes from alloy: Demotions on fields, no usage reports monitoring#67.Unhandled Errorstays an error.homelab-monitoringis locked at monitoring main (ba79133), which includes #67.checks.logspasses (15 examples, 26 records).🤖 Generated with Claude Code