Repository navigation
fix(google-meet): publish exports atomically - #122306
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 11, 2026 22:09
Contributor
Author
|
Land-ready verification for
ClawSweeper has only published its acknowledgement so far; there are no review findings or rank-up moves to apply, and landing is not blocked on the late review publisher. |
Contributor
Author
|
Merged via squash.
|
This was referenced Aug 11, 2026
vincentkoc
added a commit
that referenced
this pull request
Aug 11, 2026
* origin/main: (1725 commits) fix(agents): preserve reply cleanup when cancellation throws (#122252) fix(ui): render disallowed link schemes as plain text (#122311) fix(test): isolate gateway helper env stubs (#122319) fix(ui): keep chat Markdown block rhythm consistent (#122289) test(cli): trim duplicate Hooks process cases (#122278) fix(ui): retain identity while agent roster loads fix(ui): preserve configured agent labels fix(plugins): keep startup convergence read-only (#122330) fix: preserve WebChat reply context after reloads (#122169) fix(ui): make DONE moves visibly reversible (#122303) fix(ui): keep inline-code punctuation attached (#122291) fix(google-meet): publish exports atomically (#122306) fix(channels): preserve failed agent run reactions (#122009) fix(ui): label patch file operations accurately (#122287) fix(windows): preserve Unicode LAN route aliases (#122263) test(media): synchronize transcode pool completion (#122279) fix(android): keep completed subagent activity visible for sixty seconds (#122089) fix(ui): humanize bare GitHub item links (#122285) refactor(qqbot): install plugin from Tencent package (#107295) chore: scope SQLite session lifecycle CI (#121917) ...
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 12, 2026
This was referenced Aug 15, 2026
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.
What Problem This Solves
Closes #122276.
Google Meet export wrote every completed artifact directly to its final path. Re-exporting to an existing directory or ZIP therefore truncated the previous artifact before the replacement was safely published; a filesystem failure or process interruption could destroy the prior valid export and leave partial bytes at the final path.
Why This Change Was Made
The Google Meet plugin now routes all six directory members and the optional ZIP through the existing
openclaw/plugin-sdk/security-runtimewriteExternalFileWithinRootcontract. That public plugin seam writes to a randomized sibling staging file, validates the staged regular-file identity, syncs it, atomically renames it over the final path, syncs the parent directory, and cleans failed staging files.This keeps the repair at the plugin-owned export boundary without adding a dependency, SDK surface, compatibility path, or second publication implementation.
User Impact
A failed Google Meet export replacement no longer corrupts the previous artifact at that path. Successful exports retain the same CLI and plugin result shape, while both folder members and ZIP archives become visible only after their complete bytes have been staged.
Evidence
EFBIGand the previous 18-bytesummary.mdwas replaced by a corrupt 2,048-byte partial file.EFBIGstill propagates, the previous file remains byte-identical at 18 bytes, and the export directory contains onlysummary.mdwith no staging residue.node scripts/run-vitest.mjs extensions/google-meet/src/cli-export.test.ts extensions/google-meet/src/cli-artifacts.test.ts— 19 passed.node scripts/run-vitest.mjs extensions/google-meet— 25 files, 334 tests passed.pnpm tsgo:extensions && pnpm tsgo:extensions:test— passed.8fc2e1c44373ffab501c4d945fdc382a7c4e4df8.READY FOR /prepare-prwith zero findings, andOPENCLAW_TESTBOX=1 scripts/pr prepare-run 122306completed with hosted gates passed.Production LOC: +16/-4 (net +12). Tests: +88/-0 (net +88).