Skip to content

Add documentation for AI agent environment variables in test runner#21159

Merged
Jarred-Sumner merged 1 commit intooven-sh:mainfrom
robobun:claude/add-ai-agent-test-docs
Jul 18, 2025
Merged

Add documentation for AI agent environment variables in test runner#21159
Jarred-Sumner merged 1 commit intooven-sh:mainfrom
robobun:claude/add-ai-agent-test-docs

Conversation

@robobun
Copy link
Copy Markdown
Collaborator

@robobun robobun commented Jul 18, 2025

Summary

  • Adds comprehensive documentation for the AI agent integration feature in Bun's test runner
  • Documents environment variables: CLAUDECODE=1, REPL_ID=1, and IS_CODE_AGENT=1
  • Explains the quieter output behavior when these flags are set

This feature was implemented in PR #21135 but was missing from the official documentation.

Test plan

  • Verify documentation renders correctly in markdown
  • Ensure all environment variables are accurately documented
  • Confirm examples are clear and actionable

🤖 Generated with Claude Code

Documents the AI agent integration feature that enables quieter test output
for AI coding assistants. This feature was added in PR oven-sh#21135 and supports
environment variables like CLAUDECODE=1, REPL_ID=1, and IS_CODE_AGENT=1
to minimize test output verbosity while preserving failure information.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@Jarred-Sumner Jarred-Sumner merged commit 1927b06 into oven-sh:main Jul 18, 2025
3 of 6 checks passed
@robobun robobun added the claude label Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants