Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(kit): alert to Slack from CI runs + bump the driver-agents pin (v1.7.0) - #22

Merged
mcarter-astronautdev merged 1 commit into
mainfrom
feat/ci-alerting-and-pin-bump
Jul 31, 2026
Merged

mcarter-astronautdev merged 1 commit into
mainfrom
feat/ci-alerting-and-pin-bump

Conversation

@mcarter-astronautdev

@mcarter-astronautdev mcarter-astronautdev commented Jul 31, 2026

Copy link
Copy Markdown
Member

Kit-only release: the five reusables are untouched, so the caller stubs keep pinning v1.6.0's 0a3934f — no stub-repin wave needed. The fleet wave re-copies only the two kit files below.

What changed

  • DRIVER_AGENTS_REF0404c4e (driver-agents main @ 2026-07-31) in both claude.yml and shopify-tool-smoke.yml (lockstep rule) — picks up the human-readable Slack alert wording from driver-agents PR v1.0.2 — batched refinements (start: PR-first marker wording) #2.
  • CI alerting leg: both provisioning steps now write the org-level SHOPIFY_ALERT_WEBHOOK secret (the #driver-agents-status incoming webhook, already created org-wide with visibility all) to the runner's throwaway disk and export SHOPIFY_ALERT_WEBHOOK_FILE + SHOPIFY_ALERT_HOST_LABEL, so the admin tool's destructive/failed-call alerts fire from Actions runs exactly as they do from the box. The host label is the run URL — the runner's audit log doesn't outlive the job, so the alert points the reader at the run log instead. Absent secret = alerts silently off; nothing else changes (the tool's own best-effort posture).
  • READMEs: v1.7.0 section + org-secret documentation in the kit README.

Verification

  • actionlint (with shellcheck over the run: blocks) passes locally on both changed workflows.
  • Env var names cross-checked against admin-graphql.sh at the new pin (SHOPIFY_ALERT_WEBHOOK_FILE, SHOPIFY_ALERT_HOST_LABEL — both read by the tool; label override exists precisely for non-box emitters).
  • Adversarial review (3 lenses: Actions/bash correctness, security/supply-chain, lockstep/docs accuracy; each finding independently verified): zero confirmed findings.

Summary by CodeRabbit

  • New Features

    • Added optional Slack notifications for destructive or failed tooling actions.
    • Alerts include a link to the GitHub Actions run.
    • Missing webhook configuration keeps alerts disabled without affecting other workflow behavior.
  • Documentation

    • Updated setup and release documentation with alert configuration details.
    • Documented refreshed onboarding and workflow configuration references.

…v1.7.0)

Kit-only release — the five reusables are untouched, so the caller stubs
keep pinning v1.6.0's 0a3934f and no stub-repin wave is needed.

- claude.yml + shopify-tool-smoke.yml: DRIVER_AGENTS_REF -> 0404c4e
  (driver-agents main @ 2026-07-31), picking up the human-readable Slack
  alert wording. Pins move in lockstep, per the house rule.
- Both provisioning steps now write the org-level SHOPIFY_ALERT_WEBHOOK
  secret to the runner and export SHOPIFY_ALERT_WEBHOOK_FILE +
  SHOPIFY_ALERT_HOST_LABEL, so the admin tool's destructive/failed-call
  alerts post to #driver-agents-status from Actions runs like they do
  from the box. The host label is the run URL — the runner's audit log
  doesn't outlive the job, so the alert points at the run instead.
  Absent secret = alerts silently off, nothing else changes.
- READMEs: v1.7.0 notes + org-secret documentation.
@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9989ec91-96c9-4141-8788-261f9ea3fdd7

📥 Commits

Reviewing files that changed from the base of the PR and between 9b70acf and d04e5ad.

📒 Files selected for processing (4)
  • README.md
  • templates/github/README.md
  • templates/github/claude.yml
  • templates/github/shopify-tool-smoke.yml

Walkthrough

The v1.7.0 kit-only release updates the pinned driver-agents revision in both Shopify workflows. It adds optional SHOPIFY_ALERT_WEBHOOK provisioning and exports webhook path and run URL variables. Documentation describes the alert behavior and release changes.

Changes

Shopify alert provisioning

Layer / File(s) Summary
Workflow pin and alert provisioning
templates/github/claude.yml, templates/github/shopify-tool-smoke.yml
Both workflows use the newer driver-agents revision. When configured, each writes the webhook to a temporary file and exports its path and GitHub Actions run label.
Release and tooling documentation
README.md, templates/github/README.md
The documentation describes the v1.7.0 kit changes, Shopify alert behavior, run URL labeling, and disabled behavior when the webhook is absent.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

  • DriverDigital/workflows#19: Both changes update Shopify driver-agents provisioning and its pinned revision in templates/github/claude.yml.

Poem

A rabbit saw the webhook gleam,
Pinned workflows joined the stream.
Run URLs hopped into the file,
Alerts now travel every mile.
v1.7.0 springs with cheer!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the two main changes: Slack alerts from CI runs and the driver-agents pin update for the v1.7.0 kit release.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/ci-alerting-and-pin-bump

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mcarter-astronautdev
mcarter-astronautdev merged commit 3966041 into main Jul 31, 2026
3 checks passed
@mcarter-astronautdev
mcarter-astronautdev deleted the feat/ci-alerting-and-pin-bump branch July 31, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant