Feishu: fix locale-wrapper post parser test#29576
Merged
vincentkoc merged 1 commit intoopenclaw:mainfrom Feb 28, 2026
Merged
Conversation
Contributor
Greptile SummaryFixed test expectations in
Confidence Score: 5/5
Last reviewed commit: 47eda14 |
stolyarchuk
pushed a commit
to llmxio/openclaw
that referenced
this pull request
Feb 28, 2026
r4jiv007
pushed a commit
to r4jiv007/openclaw
that referenced
this pull request
Feb 28, 2026
mylukin
pushed a commit
to mylukin/openclaw
that referenced
this pull request
Feb 28, 2026
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
(cherry picked from commit 26a60fc)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
(cherry picked from commit 26a60fc)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
(cherry picked from commit 26a60fc)
ohmyskyhigh
pushed a commit
to ohmyskyhigh/openclaw
that referenced
this pull request
Feb 28, 2026
vincentkoc
added a commit
to Sid-Qin/openclaw
that referenced
this pull request
Feb 28, 2026
vincentkoc
added a commit
to rylena/rylen-openclaw
that referenced
this pull request
Feb 28, 2026
newtontech
pushed a commit
to newtontech/openclaw-fork
that referenced
this pull request
Feb 28, 2026
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Mar 1, 2026
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Mar 1, 2026
zooqueen
added a commit
to hanzoai/bot
that referenced
this pull request
Mar 1, 2026
Cherry-pick of upstream f810932.
ansh
pushed a commit
to vibecode/openclaw
that referenced
this pull request
Mar 2, 2026
steipete
pushed a commit
to Sid-Qin/openclaw
that referenced
this pull request
Mar 2, 2026
This was referenced Mar 2, 2026
safzanpirani
pushed a commit
to safzanpirani/clawdbot
that referenced
this pull request
Mar 2, 2026
steipete
pushed a commit
to Sid-Qin/openclaw
that referenced
this pull request
Mar 2, 2026
robertchang-ga
pushed a commit
to robertchang-ga/openclaw
that referenced
this pull request
Mar 2, 2026
execute008
pushed a commit
to execute008/openclaw
that referenced
this pull request
Mar 2, 2026
dorgonman
pushed a commit
to kanohorizonia/openclaw
that referenced
this pull request
Mar 3, 2026
sachinkundu
pushed a commit
to sachinkundu/openclaw
that referenced
this pull request
Mar 6, 2026
zooqueen
added a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
Cherry-pick of upstream f810932.
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
Mateljan1
pushed a commit
to Mateljan1/openclaw
that referenced
this pull request
Mar 7, 2026
alexey-pelykh
pushed a commit
to remoteclaw/remoteclaw
that referenced
this pull request
Mar 16, 2026
(cherry picked from commit f810932)
alexey-pelykh
pushed a commit
to remoteclaw/remoteclaw
that referenced
this pull request
Mar 16, 2026
(cherry picked from commit f810932)
alexey-pelykh
added a commit
to remoteclaw/remoteclaw
that referenced
this pull request
Mar 16, 2026
…test fix (#1481) * feat(feishu): extract embedded video/media from post (rich text) messages (openclaw#21786) * feat(feishu): extract embedded video/media from post (rich text) messages Previously, parsePostContent() only extracted embedded images (img tags) from rich text posts, ignoring embedded video/audio (media tags). Users sending post messages with embedded videos would not have the media downloaded or forwarded to the agent. Changes: - Extend parsePostContent() to also collect media tags with file_key - Return new mediaKeys array alongside existing imageKeys - Update resolveFeishuMediaList() to download embedded media files from post messages using the messageResource API - Add appropriate logging for embedded media discovery and download * Feishu: keep embedded post media payloads type-safe * Feishu: format post parser after media tag extraction --------- Co-authored-by: laopuhuluwa <[email protected]> Co-authored-by: Tak Hoffman <[email protected]> (cherry picked from commit 53a2e72) * Feishu: fix locale-wrapper post parser test (openclaw#29576) (cherry picked from commit f810932) --------- Co-authored-by: laopuhuluwa <[email protected]> Co-authored-by: laopuhuluwa <[email protected]> Co-authored-by: Tak Hoffman <[email protected]> Co-authored-by: Vincent Koc <[email protected]>
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
extensions/feishu/src/post.test.tsexpected objects withoutmediaKeysin locale-wrapper test cases.parsePostContentnow always returnsmediaKeys, causing CI test failure.mediaKeys: []to both locale-wrapper expectations.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
None.
Security Impact (required)
No)No)No)No)No)Yes, explain risk + mitigation:Repro + Verification
Environment
Steps
pnpm vitest extensions/feishu/src/post.test.tsbefore fix.mediaKeysfield.Expected
mediaKeys.Actual
extensions/feishu/src/post.test.tspass.Evidence
Human Verification (required)
post.test.tsfile run.post.zh_cnand top-levelzh_cn).Compatibility / Migration
Yes)No)No)Failure Recovery (if this breaks)
extensions/feishu/src/post.test.ts.Risks and Mitigations