Skip to content

Support recipe file mounts#350

Merged
chubes4 merged 1 commit into
mainfrom
fix/recipe-file-mounts
May 31, 2026
Merged

Support recipe file mounts#350
chubes4 merged 1 commit into
mainfrom
fix/recipe-file-mounts

Conversation

@chubes4
Copy link
Copy Markdown
Collaborator

@chubes4 chubes4 commented May 31, 2026

Summary

  • Add explicit file / directory typing for workspace recipe mounts.
  • Preserve mount type through recipe validation, dry-run planning, and runtime mounting so file mounts are no longer rejected as non-directories.
  • Cover typed file mounts in the recipe dry-run smoke test.

Verification

  • npm run build
  • npm run recipe-dry-run-smoke
  • git diff --check
  • node packages/cli/dist/index.js run --mount ./artifacts/recipe-dry-run-smoke/fixture-mount.json:/tmp/fixture-mount.json:readonly --command wordpress.run-php --arg "code=echo file_exists('/tmp/fixture-mount.json') ? 'mounted' : 'missing';" --artifacts ./artifacts/file-mount-smoke --json

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Diagnosed the Homeboy/WP Codebox file-mount validation failure, drafted the CLI/schema/runtime plumbing change, and ran local verification. Chris remains responsible for review and merge.

@chubes4 chubes4 merged commit 97990fd into main May 31, 2026
@chubes4 chubes4 deleted the fix/recipe-file-mounts branch May 31, 2026 14:22
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