Skip to content

fix(gateway): include .3gp in MEDIA_DELIVERY_EXTS - #71622

Closed
Slobaka wants to merge 1 commit into
NousResearch:mainfrom
Slobaka:fix/media-delivery-3gp-ext
Closed

fix(gateway): include .3gp in MEDIA_DELIVERY_EXTS#71622
Slobaka wants to merge 1 commit into
NousResearch:mainfrom
Slobaka:fix/media-delivery-3gp-ext

Conversation

@Slobaka

@Slobaka Slobaka commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add .3gp to MEDIA_DELIVERY_EXTS video partition (parity with gateway _VIDEO_EXTS)
  • Without this, MEDIA:/clip.3gp is not extracted and the tag is not stripped from text
  • Regression tests for allowlist parity + extract/cleanup

Fixes #71621

Test plan

  • bash scripts/run_tests.sh tests/gateway/test_platform_base.py tests/gateway/test_extract_local_files.py -- -k '3gp or video_ext or MediaExtension or share_one_extension'

MEDIA_DELIVERY_EXTS is the shared allowlist for extract_media /
extract_local_files / MEDIA: cleanup. It drifted from peer
`_VIDEO_EXTS` sets and omitted .3gp, so MEDIA:/clip.3gp was not
extracted and the tag was not stripped from message text.
@alt-glitch alt-glitch added type/bug Something isn't working comp/gateway Gateway runner, session dispatch, delivery P2 Medium — degraded but workaround exists sweeper:risk-message-delivery Sweeper risk: may drop, duplicate, misroute, or suppress messages labels Jul 25, 2026
@teknium1

Copy link
Copy Markdown
Contributor

Closing — resolved on main via PR #72170, which cherry-picked #71683 by @Linux2010 (the earliest and widest submission: .3gp in MEDIA_DELIVERY_EXTS plus the .webm drift in send_message_tool and the Feishu adapter). Verified .3gp extraction works on current main. Thanks for the contribution!

@teknium1 teknium1 closed this Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery P2 Medium — degraded but workaround exists sweeper:risk-message-delivery Sweeper risk: may drop, duplicate, misroute, or suppress messages type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(gateway): .3gp missing from MEDIA_DELIVERY_EXTS — MEDIA tags not delivered

3 participants