Repository navigation
fix(feishu): reject unsupported initial document content - #115697
Merged
Merged
Conversation
Contributor
|
Maintainer verification at 2528df01dcb94200b56a96575570ad0ea882effd:
This is an SDK-plus-local-HTTP end-to-end proof; it does not claim access to a real Feishu tenant or credentials. Thanks to @wzx011011 for the report and @forrystudio for confirming the fail-fast resolution. |
steipete
force-pushed
the
codex/s11-feishu-doc-create-contract-48373
branch
2 times, most recently
from
July 29, 2026 07:05
d659524 to
4045fa5
Compare
steipete
force-pushed
the
codex/s11-feishu-doc-create-contract-48373
branch
from
July 29, 2026 07:50
4045fa5 to
d3cbbd8
Compare
Contributor
|
Final maintainer verification on rebased five-file head d3cbbd8:
Proof is an installed-upstream-SDK plus real-local-HTTP end-to-end test, not a claim of real-tenant or live Feishu credentials. Thanks again to @wzx011011 and @forrystudio. |
Contributor
Author
|
Merged via squash.
|
vincentkoc
added a commit
that referenced
this pull request
Jul 29, 2026
…ft-ingestion * origin/main: fix(feishu): reject unsupported initial document content (#115697) feat(media): probe duration and dimensions for playback metadata (#115728) fix(sandbox): scope runtimes by workspace (#115766) fix(ui): guide users through missing or broken AI setup (#115716) fix(sessions): return direct-agent replies to their active session (#115756) fix(zalo): stop provider startup after gateway shutdown (#115763) fix(agents): bound completed background process retention (#115760) fix(plugins): bound hook execution and retire stale registrations (#115695) fix(ui): collapse custodian startup error gap (#115720) fix(gateway): reload edited hook transforms (#107875) refactor: centralize channel streaming config hints (#115739)
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 30, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 30, 2026
…ft-ingestion * origin/main: fix(feishu): reject unsupported initial document content (openclaw#115697) feat(media): probe duration and dimensions for playback metadata (openclaw#115728) fix(sandbox): scope runtimes by workspace (openclaw#115766) fix(ui): guide users through missing or broken AI setup (openclaw#115716) fix(sessions): return direct-agent replies to their active session (openclaw#115756) fix(zalo): stop provider startup after gateway shutdown (openclaw#115763) fix(agents): bound completed background process retention (openclaw#115760) fix(plugins): bound hook execution and retire stale registrations (openclaw#115695) fix(ui): collapse custodian startup error gap (openclaw#115720) fix(gateway): reload edited hook transforms (openclaw#107875) refactor: centralize channel streaming config hints (openclaw#115739)
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.
Closes #48373
What Problem This Solves
Fixes an issue where users or agents creating a Feishu document with an initial Markdown content field would receive a successful response even though Feishu created an empty document and silently discarded all content.
Why This Change Was Made
Feishu officially defines document creation as a title-and-folder-only operation: https://open.feishu.cn/document/server-docs/docs/docs/docx-v1/document/create?lang=zh-CN. The installed @larksuiteoapi/[email protected] exposes the same create payload, containing title and folder_token but no content. Rejecting every create request that includes content before constructing a Feishu client preserves that upstream contract, prevents accidental document creation and permission grants, and avoids introducing a misleading multi-request transaction or new permissions. A successful title-only create followed by an explicit write remains unchanged.
User Impact
Feishu users receive an actionable create-then-write error instead of a silently-created empty document. Both the bundled Feishu document skill and public channel documentation now explicitly describe the supported two-call Markdown workflow.
Evidence
Thanks to @wzx011011 for the original report and unmerged predecessor #48377 and to @forrystudio for independently confirming the shipped reproduction and fail-fast resolution.