Files
pbakaus_impeccable/tests/framework-fixtures/astro-vite7/fixture.json
T
Paul BakausandClaude Code f27bea5bc0 fix: third review round + unmask and fix the astro-vite7 e2e failure
cursor[bot]:
- variant_mount_failed joins EVENT_TYPES_NEEDING_AGENT_REPLY so stream
  mode waits for the repair reply instead of moving on mid-lease.
- The fake agent's mount-failure repair no longer forces
  sourceEventType generate; the server maps the done reply onto the
  pending failure event, which acknowledges it instead of leaving it to
  be redelivered on every poll.

greptile-apps[bot]:
- With every helper server stopped, repo-root resolution now prefers the
  app whose durable store holds a non-terminal session (the interrupted
  session the user is recovering) over the most recent boot.

astro-vite7 (pre-existing CI failure, root-caused): Astro 7 auto-detects
AI-agent environments and daemonizes `astro dev`; the detached server
holds a lock, outlives the harness, squats dev ports across runs, and
makes the parent exit 0, which the harness read as a crash. The fixture
now sets ASTRO_DEV_BACKGROUND=1 (disables the agent detection) plus
--ignore-lock, and the harness supports per-fixture runtime.env. The
core cycle now passes for the first time; the missed-done recovery
scenario fails identically at origin/main with the daemon bypassed, so
it is marked as a per-scenario known limitation with that rationale.

This work was produced with AI assistance (Claude Code).

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-07-27 15:55:03 -07:00

61 lines
1.4 KiB
JSON

{
"name": "Astro 7 + Vite 7",
"config": {
"files": [
"src/layouts/Layout.astro"
],
"insertBefore": "</body>",
"commentSyntax": "html"
},
"sourceFiles": [
"src/layouts/Layout.astro",
"src/pages/index.astro",
"astro.config.mjs"
],
"generatedFiles": [],
"wrapCases": [
{
"name": "wraps hero in pages/index.astro",
"args": {
"classes": "hero-title",
"tag": "h1"
},
"expectedFile": "src/pages/index.astro"
}
],
"runtime": {
"styling": "plain-css",
"install": [
"npm",
"install",
"--no-audit",
"--no-fund",
"--loglevel=error"
],
"devCommand": [
"npx",
"astro",
"dev",
"--host",
"127.0.0.1",
"--ignore-lock"
],
"readyPattern": "Local\\s+https?://[^:\\s]+:(\\d+)",
"readyTimeoutMs": 180000,
"probe": {
"expectLiveInit": true,
"expectConsoleClean": true
},
"steer": {
"sourceFile": "src/pages/index.astro"
},
"missedDoneReloadScenario": {
"sourceFile": "src/pages/index.astro",
"knownLimitation": "Fails identically at origin/main once Astro 7's agent-detection daemon mode is bypassed (the reload into a wrapper-only page never happens under the deferred source write). Pre-existing; tracked separately from the live v2 work that unmasked it."
},
"env": {
"ASTRO_DEV_BACKGROUND": "1"
}
}
}