Skip to content

chore(backport): absorb upstream reliability and channel fixes (batch1)#14

Merged
bitifirefly merged 27 commits intodevelopfrom
backport/upstream-20260321-batch1
Mar 22, 2026
Merged

chore(backport): absorb upstream reliability and channel fixes (batch1)#14
bitifirefly merged 27 commits intodevelopfrom
backport/upstream-20260321-batch1

Conversation

@bitifirefly
Copy link
Copy Markdown

Summary

This PR backports a focused batch of upstream fixes into our codebase with adaptation and tests.

Included changes

  • Telegram: outbound remote media URL support with SSRF validation
  • Telegram: preserve extension for generic documents
  • Telegram: normalize command sender_id for allowlist checks
  • Agent: handle non-string memory consolidation payloads
  • File tools: resolve relative paths against workspace
  • Context: omit empty assistant content entries
  • Config: preserve MCP env variable key casing
  • Exec safety: avoid false positive on URL format parameters
  • CLI cron run: actually execute agent callback
  • Cron: service-layer timezone validation + CLI error surface
  • Session: scope storage to workspace with legacy migration
  • Providers: expose tts/transcription modules via lazy attrs

Validation

  • Full test suite passed locally: 376 passed, 5 warnings
  • Targeted regressions for each changed subsystem were added and passed.

Notes

  • Changes were landed as small commits to keep review and rollback simple.

Manual backport of upstream cancellation hardening from d83ba36 and aacbb95.\n- handle spurious CancelledError from integrations without terminating loop\n- preserve real task cancellation for clean shutdown\n- add regression tests for spurious vs real cancellation paths
@bitifirefly bitifirefly merged commit 42688b6 into develop Mar 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant