Skip to content

feat: include playwright when running sandboxed thumbnail generation#8339

Open
peter-gy wants to merge 1 commit intomarimo-team:mainfrom
peter-gy:ptr/export-thumbnail-enhancements
Open

feat: include playwright when running sandboxed thumbnail generation#8339
peter-gy wants to merge 1 commit intomarimo-team:mainfrom
peter-gy:ptr/export-thumbnail-enhancements

Conversation

@peter-gy
Copy link
Contributor

📝 Summary

Ensures that when —-sandbox is passed we install playwright too along with the other deps instead of raising error.

🔍 Description of Changes

run_in_sandbox re-invokes marimo through uv run, and the forwarded command no longer includes --sandbox. To preserve intent across re-entry, we now pass sandbox context to the child process so it can recover whether the original invocation was single or multi.

This keeps thumbnail export consistent with the broader CLI sandbox model introduced in #8076, where behavior is mode-aware:

  • single: one uv-wrapped process
  • multi: per-notebook sandbox handling

@vercel
Copy link

vercel bot commented Feb 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
marimo-docs Ready Ready Preview, Comment Feb 17, 2026 5:12pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant