Commit 2d55b92
authored
chore(showcase): quiet per-run success posts in #oss-alerts (CopilotKit#4065)
## Summary
- Suppress per-run `:white_check_mark: *Showcase deploy*: N service(s)
deployed to Railway` Slack posts from `showcase_deploy.yml`. During bulk
drift rebuilds, the smoke-monitor fans out one `showcase_deploy.yml` run
per stale service (up to ~18), producing ~18 noise messages in
#oss-alerts per drift cycle. The top-line `:package: Image drift
detected — N rebuilds triggered` in `showcase_smoke-monitor.yml` already
covers the aggregate success case.
- Also suppress the `no changes detected, nothing to deploy` post — rare
and uninformative.
- Preserve failure messages (pre-build failure, build failure) and the
mid-matrix cancellation info message (state transition worth seeing).
- Harden the Post step with `env.SLACK_WEBHOOK_OSS_ALERTS != ''` guard
so a missing secret fails closed rather than erroring the action.
Channel policy alignment: #oss-alerts surfaces only actionable state
(failures + transitions). Ad-hoc single-service successes stay quiet —
the Actions UI is the source of truth.
## Test plan
- [x] `actionlint .github/workflows/showcase_deploy.yml` — no new
findings introduced by this diff (pre-existing SC2086 style infos
unrelated to the edited region)
- [x] Local dry-run simulation of every branch in the payload step:
success (bulk) → suppressed, no-changes → suppressed, build-failure →
posted, detect/lockfile-failure → posted, mid-matrix cancel → posted,
pre-build cancel → suppressed
- [ ] Observe in production: next drift rebuild cycle should post one
top-line drift message and zero per-service greens; any failing leg
still surfaces
## Out of scope
- Smoke monitor verbosity (already correct: red + recovery only)
- Drift detection logic (unchanged)
- `crewai-crews` 502 investigation (unrelated)1 file changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
471 | 479 | | |
472 | 480 | | |
473 | 481 | | |
474 | | - | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
475 | 485 | | |
476 | | - | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
477 | 489 | | |
478 | 490 | | |
479 | 491 | | |
| |||
482 | 494 | | |
483 | 495 | | |
484 | 496 | | |
485 | | - | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
486 | 500 | | |
487 | 501 | | |
488 | 502 | | |
| |||
0 commit comments