Skip to content

fix: honor per-test isolation for workspace setup#1065

Merged
christso merged 1 commit intomainfrom
fix/per-test-hook-workspace
Apr 12, 2026
Merged

fix: honor per-test isolation for workspace setup#1065
christso merged 1 commit intomainfrom
fix/per-test-hook-workspace

Conversation

@christso
Copy link
Copy Markdown
Collaborator

Summary

  • honor workspace.isolation: per_test for hook-only and template-based workspace setup
  • stop suite-level hooks/templates from forcing a shared workspace when per-test isolation is selected
  • add a regression test covering hook-only per-test workspaces

Testing

  • bun test packages/core/test/evaluation/orchestrator.test.ts
  • manual e2e: ran workitem-status eval through the patched CLI and verified the case workspace path was .../.agentv/workspaces/<run>/workitem-status-workflows/... instead of .../shared/...

Closes #1063.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 05adff2
Status: ✅  Deploy successful!
Preview URL: https://db2442e3.agentv.pages.dev
Branch Preview URL: https://fix-per-test-hook-workspace.agentv.pages.dev

View logs

@christso christso marked this pull request as ready for review April 12, 2026 23:41
@christso christso merged commit 4076868 into main Apr 12, 2026
4 checks passed
@christso christso deleted the fix/per-test-hook-workspace branch April 12, 2026 23:41
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.

per_test isolation is ignored for hook-only workspaces

1 participant