feat(gateway): accept rar and 7z document uploads - #28792
Closed
Qwinty wants to merge 1 commit into
Closed
Conversation
Contributor
Author
|
CI note: all non- This looks like existing CI behavior on current Local focused verification for this PR passed: /usr/local/lib/hermes-agent/venv/bin/python -m pytest \
tests/gateway/test_document_cache.py::TestSupportedDocumentTypes::test_expected_extensions_present \
tests/gateway/test_telegram_documents.py::TestDocumentDownloadBlock::test_archive_document_cached \
-q
# 11 passed
/usr/local/lib/hermes-agent/venv/bin/python -m pytest \
tests/gateway/test_document_cache.py \
tests/gateway/test_telegram_documents.py \
-q
# 67 passed |
Qwinty
force-pushed
the
feat/telegram-rar-archive-uploads
branch
from
May 21, 2026 21:50
e84f778 to
307ac5a
Compare
Qwinty
force-pushed
the
feat/telegram-rar-archive-uploads
branch
from
May 26, 2026 08:47
307ac5a to
be6e259
Compare
Contributor
Author
|
Rebased on current Local verification:
CI has been retriggered on |
Contributor
Author
|
Closing this optional/non-critical upstream feature PR to keep the open queue focused on production bugfixes. The branch can be reopened or recreated later if we decide to pursue this feature upstream. |
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
.rarand.7zas supported gateway document attachmentsCloses #28791.
Notes
This intentionally does not add archive extraction behavior or bundle extractor binaries. It only lets the gateway cache the uploaded archive and pass the local path to the agent, matching existing
.zipbehavior from #4846.Test Plan
/usr/local/lib/hermes-agent/venv/bin/python -m pytest tests/gateway/test_document_cache.py::TestSupportedDocumentTypes::test_expected_extensions_present tests/gateway/test_telegram_documents.py::TestDocumentDownloadBlock::test_archive_document_cached -qfailed for missing.rar/.7z/usr/local/lib/hermes-agent/venv/bin/python -m pytest tests/gateway/test_document_cache.py::TestSupportedDocumentTypes::test_expected_extensions_present tests/gateway/test_telegram_documents.py::TestDocumentDownloadBlock::test_archive_document_cached -q/usr/local/lib/hermes-agent/venv/bin/python -m pytest tests/gateway/test_document_cache.py tests/gateway/test_telegram_documents.py -qgit diff --check