Repository navigation
Conversation
|
Preview branch generated at https://AIGS-26.d3dytjb8adxkk5.amplifyapp.com |
Bundle sizes [mpdx-react]Compared against c8a4738 No significant changes found |
|
🤖 agent-review · ✅ no blockers · risk MEDIUM · 👤 needs a person BLOCKERS: fix or dismiss to pass
👤 Needs a person's approval: PCI path: .github/workflows/stage-smoke-test.yml. The bot will not approve this PR. OTHER FINDINGS (17)
🔧 Fix suggestions (0)No automated fixes for this review. 📦 Dependency impactBlast radius: 0 files. No app code changed. 📊 Review detail & statsGenerated: 2026-11-30 · Day: Monday · Files changed: 4 (+154 -0 lines) Risk factors detected: unmatched risk paths: scripts/safety-nets/README.md, scripts/stage-smoke-test.sh Deterministic evidence:
Agent summary (bands: Critical 9-10 · High 7-8 · Important 5-6 · Suggestions 3-4):
Per-agent perspectives on blockers:
Engine: code-review (from config) · effort xhigh (from config) · model opus (from config)
💬 How to act on this reviewEvery finding above is numbered. Severity ≥ 7 findings carry a checkbox and must each be fixed or dismissed before this review counts as passed; lower severities are advisory. This repo runs reviews locally only, so work this ledger with |
|
🤖 agent-review · ✅ no blockers · risk CRITICAL · 👤 needs a person BLOCKERS: fix or dismiss to pass✅ No blockers. 👤 Needs a person's approval: PCI path: .github/workflows/stage-smoke-test.yml. The bot will not approve this PR. OTHER FINDINGS (6)
🔧 Fix suggestions (0)No automated fixes for this review. 📦 Dependency impactBlast radius: 0 files. No changed file is imported by any other file (a CI workflow, a shell script, docs, and agent-review bookkeeping). 📊 Review detail & statsGenerated: 2026-12-01T15:42Z · Day: Tuesday · Files changed: 6 (+189 -0 lines) Risk factors detected: Deterministic evidence:
Agent summary (bands: Critical 9-10 · High 7-8 · Important 5-6 · Suggestions 3-4 and below):
Per-agent perspectives on blockers: no blockers. Engine: code-review (from config) · effort xhigh (from config) · model opus (from config)
Notes:
Review quality:
💬 How to act on this reviewEvery finding above is numbered. Severity ≥ 7 findings carry a checkbox and must each be fixed or |
jbirdjavi
left a comment
There was a problem hiding this comment.
Thanks Will. This looks good. The smoke test has passed on every staging push so far, it only reads public pages, and its token can't write to the repo.
A few small things, none of them blocking:
- The red Semgrep check comes from the org's shared security scan (CruGlobal/.github, added Nov 12). Its Semgrep pack flags any action used by a tag, but only on lines a PR adds, so this is the first workflow file here to trip it. We use tags everywhere, so no change is needed unless it stops the merge. If it does, pinning
actions/checkoutinstage-smoke-test.ymlto a commit SHA clears it. - The alert-path check in the runbook uses the
MPDX React safety-net test [stage]monitor, which comes from cru-terraform#13703. That PR is still open, so the check won't fire until it's applied. Worth a note in the doc, or merge the two together. - The runbook says the monitors and synthetics live in
datadog.tf. The monitors do, but I couldn't findMPDX React Production Synthetic Testanywhere in cru-terraform. Can you point the doc at where it lives? git revert -m 1 <merge commit>only works on merge commits. Some PRs on main are squash merged, and for those it's plaingit revert <commit>. For the stage-only steps, it would also help to say that bringing the change back takes a revert of the revert, like your drill did.- The runbook says errors reach Datadog two ways, RUM and Rollbar. Datadog does get Rollbar alerts, but only from the mpdx_api project. I found none from the front end in the last 30 days, so for mpdx.org it's RUM only, and that line should say so.
update-stagingfailed on your last push with a GitHub timeout (409 from the merge API), so the drill-log commit isn't on staging yet. A re-run should fix it.
The agent-review findings in my report comment are all advisory, none 7 or higher. The one I'd fix while you're in there is finding 1: curl -f throws away the page body on a 500, so a broken /login makes the test wait 40 minutes and then blame Amplify.
Links
Description
R5 safety nets for MPDX React: know when a deploy breaks, who hears about it, and how to undo it.
scripts/stage-smoke-test.shso you can run them locally too.docs/safety-nets.mdlists which alert goes to whom, how Caleb's self-healing agent is hooked up, how to check the alert path in 5 minutes, and how to roll back (Amplify redeploy, or a git revert). It ends with a drill log.scripts/safety-nets/README.md.No app code changes. The workflow runs from
workflow_runbecauseupdate-staging.ymlpushes withGITHUB_TOKEN, which never fires a push event.Testing
scripts/stage-smoke-test.sh "$(git ls-remote origin refs/heads/staging | cut -f1)"and check it ends with "Smoke test passed".WAIT_SECONDS=1 POLL_SECONDS=1 scripts/stage-smoke-test.sh deadbeefand check it fails with "never served deadbeef".staging(or wait for the next staging update) and check the "Stage smoke test" run in the Actions tab passes.AI review
Findings I did not fix, and why:
Checklist:
MPDX-1234 Add sortable columns)/agent-review:reviewcommand locally and fixed each finding or listed it abovegithub-actionsbot has approved the PR (it approves once/agent-review:reviewleaves no open blockers; it never approves a one-way door).github/CODEOWNERSgives an owner)🤖 Generated with Claude Code