Add failure notification to scheduled regression tests#195
Merged
Conversation
Adds a job to regression_test.yml that POSTs to a Claude Code routine's /fire endpoint when the daily scheduled run fails. Requires repo secrets CLAUDE_ROUTINE_URL and CLAUDE_ROUTINE_TOKEN. https://claude.ai/code/session_01BQgV11WYhAJuHtyk2qmhTz
Use CLAUDE_ROUTINE_URL/CLAUDE_ROUTINE_TOKEN consistently inside the step rather than renaming to shorter locals, to match the repo secret names end-to-end. https://claude.ai/code/session_01BQgV11WYhAJuHtyk2qmhTz
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #195 +/- ##
==========================================
- Coverage 86.21% 86.16% -0.06%
==========================================
Files 38 38
Lines 5912 5912
==========================================
- Hits 5097 5094 -3
- Misses 815 818 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
Adds a new job to the regression test workflow that sends notifications to Claude Code routine when scheduled tests fail, enabling better visibility into CI failures.
Key Changes
fire_routine_on_failurejob that:builds,check_msrv,test_examples,test_features_combination)CLAUDE_ROUTINE_URLandCLAUDE_ROUTINE_TOKEN)Implementation Details
needsandifconditions to ensure the job only executes on scheduled failuresjqcontaining relevant GitHub context informationgithub.run_id,github.sha,github.repository, etc.) for dynamic payload generationhttps://claude.ai/code/session_01BQgV11WYhAJuHtyk2qmhTz