Skip to content

Include torrent ID in MaM download requests - #1

Draft
Plungis wants to merge 1 commit into
mainfrom
agent/tid-download-fix-beta
Draft

Include torrent ID in MaM download requests#1
Plungis wants to merge 1 commit into
mainfrom
agent/tid-download-fix-beta

Conversation

@Plungis

@Plungis Plungis commented Jul 28, 2026

Copy link
Copy Markdown
Owner

What changed

  • Pass the MaM torrent ID through the download call chain.
  • Add the required tid GET argument to get_torrent_file requests.
  • Preserve the existing hash-based download path.

Why

MaM blocked MLM because torrent download requests omitted tid, generating invalid repeated download requests. This makes every request identify the torrent explicitly.

Validation

  • cargo metadata --no-deps --format-version 1 passes.
  • git diff --check passes.
  • All get_torrent_file call sites were checked and updated.
  • Workspace tests are blocked by the upstream-pinned, inaccessible dependency StirlingMouse/lava_torrent at revision 9d8ff930 (GitHub 404), before compilation begins.

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