Skip to content

Stream staged mount materialization#1681

Merged
chubes4 merged 1 commit into
mainfrom
fix/stream-mount-materialization
Jul 2, 2026
Merged

Stream staged mount materialization#1681
chubes4 merged 1 commit into
mainfrom
fix/stream-mount-materialization

Conversation

@chubes4

@chubes4 chubes4 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Stream staged host-to-VFS mount materialization one mount at a time instead of collecting every file payload in memory.
  • Batch PHP fallback writes into bounded file payloads while preserving directory materialization and skipped directory policy.
  • Add coverage that large fallback materialization splits into multiple batches.

Verification

  • npx tsx tests/mount-materialization.test.ts
  • npx tsx tests/staged-input-materialization.test.ts
  • npm run test:recipe-runtime-setup-staged-materialization
  • npm run build -- --pretty false

AI assistance

  • AI assistance: Yes
  • Tool(s): openai/gpt-5.5 via OpenCode
  • Used for: Investigated the mount materialization OOM path, implemented the streaming/batching fix, added regression coverage, and ran verification commands.

@chubes4 chubes4 merged commit 96ce655 into main Jul 2, 2026
@chubes4 chubes4 deleted the fix/stream-mount-materialization branch July 2, 2026 01:04
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