MCP.so
Sign In
Testingevent

Post-Merge Regression GuardFeatured

Hook that runs smoke tests after git merge or rebase to catch integration regressions immediately.

Basic information

Category

Testing

Goal

smoke tests pass immediately after every merge or rebase.

Check command

npm run test:smoke

Exit when

smoke suite exits 0.

Supported agents

Cursor

Kickoff prompt

Install and run the "Post-Merge Regression Guard" loop.

Goal: smoke tests pass immediately after every merge or rebase.
Between iterations run: npm run test:smoke
Exit when: smoke suite exits 0.

Step 1: After a merge, run smoke tests. Fix regressions before continuing other work.

Steps

  1. 1

    Detect merge

    Confirm a merge or rebase just completed. Identify affected areas from the diff stat.

  2. 2

    Run smoke suite

    Run the fast smoke test suite. Fix any failures before starting new feature work.

    npm run test:smoke

Comments

More Testing loops