Add per-repo failure tracking to refresh scheduler#22
Conversation
Track consecutive failures per repo across refresh cycles and log escalating warnings (warning at 3+ failures, critical at 5+). When a repo recovers after failures, log the recovery. After each cycle, log a summary of all repos with repeated failures. This makes it easier to identify persistently broken repos that need attention, without stopping the scheduler. Partial fix for DPGAlliance#15 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Hey @garvitkaushik-123! I appreciate the effort, but as you can see this issue is heavily underspecified at the moment. Althought the repo is open, I did not expect contirbutors yet. I do have some architectural rethinking to do, and the issues are more like half-thoughts on a todo list, then specs. #15 is a good example of this: the scheduling part is essential for this project, but in its current form patching it does not create much value. I do have a plan to redo it, but it is not recorded here. As you must know: if the business requirements are not defined clearly, the outcome can hardly be correct. If you are serious about contributing to this project, let me know, and I am happy to put more effort into detailed specs on these issues, and the other unrecorded ones. I can see that you added a nice Test plan! Have you done any testing yourself? Did you try running the project? How did it go? |
Summary
RepoFailureTrackerclass that counts consecutive failures per repo across refresh cyclesNoneif not passed)This addresses the "repeating fails should trigger some kind of warning" requirement from #15.
Partial fix for #15
Test plan
🤖 Generated with Claude Code