-
[OPIK-3890] [P SDK] slack notifications integration tests (#5029)
发布于
2026-02-04 15:11:00 +00:00 - [OPIK-3890] [SDK] Add Slack notifications for failed Python SDK integration tests
Add a notify-slack job to the SDK Library Integration Tests Runner workflow
that sends Slack notifications when scheduled test runs fail.Key features:
- Only triggers on scheduled runs (daily/weekly), not on PRs or manual runs
- Only sends notifications when at least one test suite fails
- Includes list of failed test suites in the notification
- Shows schedule type (Daily or Weekly with expensive tests)
- Provides direct link to the workflow run for investigation
- Uses existing ACTION_MONITORING_SLACK secret for webhook URL
- Revision 2: Add clickable links to failed test suites in Slack notification
Each failed test suite name is now a clickable link that takes the user
directly to the workflow run where they can see the failed jobs.- Revision 3: Notify on both success and failure for scheduled runs
- Send green notification when all tests pass
- Send red notification with failed suite list when tests fail
- Helps distinguish between "no failures" vs "CI didn't run"
-
Simplify workflow
-
Update workflow
-
Update workflow
-
Update slack secret name
-
Update report format
-
Update report format
-
Fix Slack notification JSON building with step-by-step jq approach
- Use incremental jq calls to build blocks array
- Properly escape all values with --arg
- Add commit SHA to notification
- Show passed/failed/skipped suites with counts
- Add user mention support via SLACK_SDK_TESTS_NOTIFY_USER_ID secret
Co-authored-by: Cursor cursoragent@cursor.com
- Fix: use SLACK_WEBHOOK_URL secret instead of ACTION_MONITORING_SLACK
Co-authored-by: Cursor cursoragent@cursor.com
Co-authored-by: Cursor cursoragent@cursor.com
下载附件