fix: PPT Live reliability, remote reconnect, and file-read freshness - #1565
Merged
bobleer merged 4 commits intoJul 16, 2026
Merged
Conversation
Fast connect failures previously exhausted a single retry and removed the workspace immediately. Use a deadline-driven reconnect budget so remote workspaces stay until the full timeout elapses.
Read-tool cache reconstruction drops a trailing newline while remote SFTP re-reads preserve it. Normalize that gap so remote Edit/Write no longer false-fail freshness checks on unchanged files.
Tighten the project.json/slides file protocol with retries and targeted repair, auto-fix export DOM issues, prefer native editable PPTX objects with layered SVG/PNG fallbacks, and add OOXML/CI regression coverage.
Declare pdf-lib/jszip at the workspace root and guard flat-select browser listeners so ppt-live source imports no longer depend on host node_modules or a DOM global during CI.
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
project.json/slidesprotocol, retries, targeted repair) and editable-first PPTX export with layered SVG/PNG fallbacks, sanitization, diagnostics, and OOXML/CI coverage.Test plan
pnpm run test:ppt-live(98/98)cargo test -p bitfun-product-domains --features product-fullcargo check --workspacepnpm run type-check:webpnpm run check:github-configpnpm --dir src/web-ui exec vitest run src/features/ssh-remote/remoteWorkspaceReconnect.test.ts src/features/ssh-remote/SSHRemoteProvider.test.tsxcargo test -p bitfun-tool-contracts --test tool_contracts file_read_freshnessandcargo test -p bitfun-agent-runtime --lib file_read_state