Latest Results
Background dev server for AI coding agents (#16610)
* Add experimental background dev server management
* Skip lock file in test/production environments
* Move lock file logic from JS API to CLI layer
* Ensure .astro directory exists before opening log file
* Fix infinite spawn recursion when agent env vars are inherited
* Use logger instead of raw JSON output, add command hints
* Fix background flag in lock file, remove BUG-REPORT.md
* Replace --experimental-* flags with subcommands, upgrade am-i-vibing to 0.3.0
- Replace --experimental-background/stop/status/logs flags with positional
subcommands: astro dev background, astro dev stop, astro dev status,
astro dev logs
- Update error/info messages to reference new subcommand form
- Upgrade am-i-vibing from ^0.1.1 to ^0.3.0 for faster env-var-based
agent detection and broader tool coverage
* Add --follow (-f) flag to astro dev logs
Streams new log output as it's written, similar to tail -f.
Automatically exits when the server process dies.
* SIGKILL fallback after SIGTERM timeout in force-kill and stop
If a dev server process doesn't exit within 5s of SIGTERM, escalate
to SIGKILL to guarantee it's dead before proceeding.
* Report AI agent info in CLI session telemetry
Calls detectAgenticEnvironment() from am-i-vibing in eventCliSession()
so all CLI commands (dev, build, preview, sync, add) report agent id,
name, and type when run by an AI coding agent.
* Update changeset to major with expanded description
* Bust turbo cache for CI build
* Auto-enable JSON logger when AI agent is detected
* Update .changeset/experimental-background-dev.md
* Improve lockfile error handling and clarify isProcessAlive
* Deduplicate resolveRootURL into lockfile module
* Use SKIP_FORMAT logger label instead of null
* Handle SIGTERM in logs --follow cleanup
* Use process.exit() consistently for error exits
* Use Vite resolvedUrls for lock file URL instead of hardcoded localhost
* Error on unknown dev subcommand instead of falling through
* Change `astro dev background` subcommand to `astro dev --background` flag
* Update .changeset/experimental-background-dev.md
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
* Remove resolveRootURL, reuse resolveRoot from config
---------
Co-authored-by: Armand Philippot <git@armand.philippot.eu> Latest Branches
N/A
×6.6
0%
© 2026 CodSpeed Technology