Skip to content

Remove laravel/pao#115

Merged
datashaman merged 1 commit into
mainfrom
chore/remove-laravel-pao
May 10, 2026
Merged

Remove laravel/pao#115
datashaman merged 1 commit into
mainfrom
chore/remove-laravel-pao

Conversation

@datashaman
Copy link
Copy Markdown
Owner

Summary

Pao auto-rewrites Pest / PHPUnit / Paratest / PHPStan output to a JSON shutdown summary when an "agent" is detected as the runtime. The intent is structured output for AI tooling; in practice it has been hiding failure bodies from us, forcing every test run to be prefixed with `PAO_DISABLE=1` to see why a test failed. The workaround was even durable enough to land in agent memory.

We're already on the latest release (`v1.0.6`, released 2026-04-27), so there's no fix to wait for. Nothing in `app/`, `tests/`, `config/`, etc. uses any Pao symbol — the package is purely autoload-time interception of test runners. Removing the dev require deletes the package and reverts test output to standard Pest formatting.

Test plan

  • `composer test` (495 passing, full Pest output, no env var needed)

🤖 Generated with Claude Code

Pao auto-rewrites Pest/PHPUnit output to a JSON shutdown summary when an
agent runs the suite, which hides failure bodies. We've been routing
around it with PAO_DISABLE=1 every time. We're already on the latest
release (v1.0.6), so there's no fix to wait for. Nothing in app/, tests/,
or config/ uses Pao symbols — it's pure autoload-time interception.

Drop the dev require; the suite still runs green at 495 passed and Pest
output is intelligible again without an env var dance.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@datashaman datashaman merged commit 3cf3da2 into main May 10, 2026
3 checks passed
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