Agent Wranglers

Version control and review Required

Run the checks on every change

Run the full check on a clean machine for every push and pull request, not only on a developer's computer.

How to do it

Use a CI service, such as GitHub Actions or GitLab CI. Start from a clean checkout, install from the lock file and run the same script as the deploy. Keep it fast, so people wait for it instead of skipping it.

Example

# .github/workflows/check.yml
name: check
on: [push, pull_request]
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with: { node-version-file: .nvmrc }
      - run: npm ci
      - run: ./check.sh

How to check

Push a commit that breaks one test. The pull request shows a failed check within minutes.

For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers engineering playbook: https://agentwranglers.se/playbook/engineering/version-control-and-review/continuous-integration.