From 437ddb2ef61b1e1eb09b597674e32892698a148b Mon Sep 17 00:00:00 2001 From: chinmay jain Date: Tue, 14 Jul 2026 19:47:57 +0530 Subject: [PATCH 01/18] feat(notify): redesign Slack card, add hash / duration / url / view-run MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refactor the notify composite action to render a single-column key/value grid instead of the wide two-column layout. Adds three new fields: * HASH — linked short SHA (7 chars) * DURATION — pipeline elapsed time, auto-fetched from the run API * URL — deployed app URL (success only), display strips protocol On failure a red-dot 'FAILED AT' row is promoted to the top, populated with the first failing step name (auto-fetched from the run's jobs API). Card structure: header — icon + label + version context — 'Deploy succeeded' / 'Deploy failed' subtitle section — key/value fields (split into two blocks; Slack caps at 10) actions — 'View run' button in the footer Duration and failed-step are auto-resolved by the action, so callers only need to grant `actions: read` on the notify job. No new caller wiring beyond the one new `deployed-url` input. Refs AGODEV-1495. Not tagged yet — canary-tested via commerce-backend against this branch before v3.4.0 is cut and @v3 is moved. --- README.md | 43 ++++++--- actions/notify/action.yml | 194 +++++++++++++++++++++++++------------- 2 files changed, 159 insertions(+), 78 deletions(-) diff --git a/README.md b/README.md index d130119..71e5cfa 100644 --- a/README.md +++ b/README.md @@ -276,25 +276,33 @@ version: ## notify — inputs -Posts a rich Slack card for a pipeline result: a green/red header -(`