Repository navigation
fix: suppress repeated transient git-sync tracebacks - #786
Open
ibrahimmaq14 wants to merge 1 commit into
Open
ibrahimmaq14 wants to merge 1 commit into
ibrahimmaq14 wants to merge 1 commit into
Conversation
ibrahimmaq14
marked this pull request as ready for review
November 24, 2026 10:37
This branch has not been deployed
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.
Fixes #596
Before this change, the periodic Git sync loop logged a full traceback every time a transient Git error recurred. The first three consecutive failures with the same sync destination, exception type, and normalized message now log full tracebacks. Starting with failure four, each cycle emits one warning with the organization, redacted repository URL, and failure count. Git Sync status still shows the latest error and its timestamp.
The fingerprint and count live on the existing organization sync row, so a restarted worker continues the streak. A changed error or destination starts a new streak. Success clears it and logs recovery. Transient retries still use the configured interval, and authentication failures still use their existing backoff. Cycle and logging code
Migration 041 adds two small fields for the fingerprint and count. Both fields have neutral defaults for existing rows. Putting the streak on the sync row keeps it out of the operator-visible error text and avoids rewriting the repository and credential overrides from the sync job. Migration
Verification
main. The focused regression run passed all nine selected tests after the fix.main(two symlink privilege errors and one SSH timeout fixture error).AI disclosure
OpenAI Codex investigated the issue, implemented the fix and tests, ran the verification, and drafted this pull request.
Jev-Fast-Audit
⚡ Jev fast audit · estimates · 0.36s · commit 94a2587
Strongest signal: No primary concern selected.
Evidence: No primary concern to locate.
Coverage: complete supplied coverage; 14/14 hunks, 4/4 files.
All estimates and evidence