Skip to content

fix: respect converter host environment in restricted sandboxes - #67

Merged
zhaoxiongfei merged 3 commits into
mainfrom
codex/converter-sandbox-runtime
Nov 12, 2026
Merged

zhaoxiongfei merged 3 commits into
mainfrom
codex/converter-sandbox-runtime

Conversation

@zhaoxiongfei

@zhaoxiongfei zhaoxiongfei commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Deckuse forced a fresh temporary .NET bundle extraction cache even when direct deck2html invocations could reuse the host runtime cache. On restricted hosts, bundle commit operations could fail before conversion or browser startup.

This change inherits the host extraction environment, shares converter execution between render and monitor, forwards license arguments, and preserves native exit/signal and extraction-stage diagnostics. Browser preflight cleanup failures are reported as retained-path warnings without masking successful write checks or primary write failures.

Validation: build, TypeScript, changed-source ESLint, formatting and whitespace checks passed; 469 full-suite tests plus the additional license-guard regression passed locally; the installed package smoke passed. A real macOS arm64 multi-file deck2html npm package was packed and installed, tested with denied extraction writes, and used for PPTX/DOCX screenshots through Playwright. Both sample screenshots were pixel-identical to the existing converter. Details are recorded in docs/verification-converter-sandbox.md.

Package acceptance checks now assert successful preflight with retained cleanup warnings. The commercial-code scanner allows only the exact dependency license argument mapping; a regression test verifies all other license markers remain rejected.

The companion deck2html runtime packaging change is in deckflow/deck2html-source commit 08db3f0. Its other platform executions and the original WorkBuddy policy remain unverified. This PR retains the current published dependency range; raising the minimum and refreshing the lockfile follows the new deck2html release. No npm publishing is included.

@zhaoxiongfei
zhaoxiongfei merged commit e549b96 into main Nov 12, 2026
2 checks passed
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