Skip to content

MSTeams: add upload session fallback for large files#26668

Closed
zwright8 wants to merge 6 commits intoopenclaw:mainfrom
zwright8:codex/msteams-upload-session-fallback
Closed

MSTeams: add upload session fallback for large files#26668
zwright8 wants to merge 6 commits intoopenclaw:mainfrom
zwright8:codex/msteams-upload-session-fallback

Conversation

@zwright8
Copy link
Copy Markdown

Summary

  • add Graph upload-session support for Microsoft Teams OneDrive/SharePoint uploads when files exceed 4MB
  • keep the existing simple /content upload path for small files
  • handle 202 nextExpectedRanges progression, including retrying the same chunk when Graph requests byte 0
  • add stall detection for repeated no-progress upload-session responses
  • add focused tests for small uploads, chunked uploads, retry behavior, stall failure, and SharePoint large-file uploads

Testing

  • pnpm vitest run extensions/msteams/src/graph-upload.test.ts
  • pnpm exec oxfmt --check extensions/msteams/src/graph-upload.ts extensions/msteams/src/graph-upload.test.ts

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Feb 25, 2026

Too many files changed for review. (269 files found, 100 file limit)

@openclaw-barnacle openclaw-barnacle bot added channel: msteams Channel integration: msteams size: XL labels Feb 25, 2026
@zwright8 zwright8 force-pushed the codex/msteams-upload-session-fallback branch from 04d731b to 13a3433 Compare February 25, 2026 16:19
@openclaw-barnacle openclaw-barnacle bot added size: M gateway Gateway runtime agents Agent runtime and tooling size: L channel: matrix Channel integration: matrix and removed size: XL size: M labels Feb 25, 2026
@openclaw-barnacle
Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle bot added the stale Marked as stale due to inactivity label Mar 3, 2026
@zwright8 zwright8 force-pushed the codex/msteams-upload-session-fallback branch from 5640a27 to f0c0a4c Compare March 3, 2026 07:11
@openclaw-barnacle openclaw-barnacle bot removed the stale Marked as stale due to inactivity label Mar 4, 2026
@BradGroux BradGroux self-assigned this Mar 10, 2026
@BradGroux
Copy link
Copy Markdown
Member

Hi @zwright8 — thanks for the submission. I’m the new Microsoft Teams maintainer for OpenClaw. Please give me a day or two to work through the open Teams backlog. Also, join the Twitter community for daily MS Teams feedback + updates: https://x.com/i/communities/2031170403607974228

1 similar comment
@BradGroux
Copy link
Copy Markdown
Member

Hi @zwright8 — thanks for the submission. I’m the new Microsoft Teams maintainer for OpenClaw. Please give me a day or two to work through the open Teams backlog. Also, join the Twitter community for daily MS Teams feedback + updates: https://x.com/i/communities/2031170403607974228

@BradGroux
Copy link
Copy Markdown
Member

Closing as a duplicate of #32558, which covers the same upload session fallback for large files.

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

Labels

agents Agent runtime and tooling channel: matrix Channel integration: matrix channel: msteams Channel integration: msteams gateway Gateway runtime size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants