omi icon indicating copy to clipboard operation
omi copied to clipboard

[Bounty proposal] fix(dropbox-app): list_folder truncates at page 1 without following cursor

Open Aj2280 opened this issue 2 months ago • 2 comments

Description

In plugins/omi-dropbox-app/dropbox_client.py, list_folder() only issues a single POST /files/list_folder call and ignores has_more and cursor.

When an Omi user asks the chat tool to list files in a folder with more entries than the per-page limit (or default 20), subsequent pages are never fetched, silently omitting files.

Proposed Fix

  1. Update list_folder() to follow cursor with POST /files/list_folder/continue whenever has_more is True until limit is met.
  2. Unify item parsing into _parse_folder_entries().
  3. Add unit test suite in plugins/omi-dropbox-app/test_dropbox_client.py asserting single-page, multi-page continuation, limit enforcement, and error resilience.
  4. Register dropbox-app-client-tests in .github/checks-manifest.yaml.

Proposed Bounty Reward: $50.00 USD Bounty Payout Destination (PayPal): [email protected]

Aj2280 avatar Sep 14 '26 08:09 Aj2280

Fixed in PR #13811 with complete unit test suite verifying cursor continuation, limit capping, and error resiliency.

Payout Destination (PayPal): [email protected]

Aj2280 avatar Sep 14 '26 08:09 Aj2280

Thanks for putting this together. We aren't doing bounties at the moment, so we're closing the bounty proposal issues for now — thanks for the fix! 🙏

undivisible avatar Oct 22 '26 11:10 undivisible