Skip to content

Conversation

@sniper-noob
Copy link
Contributor

Previously _get_all_s3_data() called _request_presigned_list_url(continuation_token), so the continuation token was incorrectly passed as the miner_hotkey argument and the real continuation_token was never sent, breaking pagination and often returning no data from /get-miner-list. The fix makes _get_all_s3_data accept a miner_hotkey parameter and pass both miner_hotkey and continuation_token explicitly into _request_presigned_list_url. Call sites were updated so _list_jobs_cached and list_files now call _get_all_s3_data(miner_hotkey), ensuring per-miner listing works correctly and S3 pagination behaves as intended.

Previously _get_all_s3_data() called _request_presigned_list_url(continuation_token), so the continuation token was incorrectly passed as the miner_hotkey argument and the real continuation_token was never sent, breaking pagination and often returning no data from /get-miner-list. The fix makes _get_all_s3_data accept a miner_hotkey parameter and pass both miner_hotkey and continuation_token explicitly into _request_presigned_list_url. Call sites were updated so _list_jobs_cached and list_files now call _get_all_s3_data(miner_hotkey), ensuring per-miner listing works correctly and S3 pagination behaves as intended.

Signed-off-by: Real Noob <[email protected]>
@Arrmlet Arrmlet changed the base branch from main to dev November 25, 2025 12:21
@Arrmlet Arrmlet added the enhancement New feature or request label Nov 25, 2025
@Arrmlet Arrmlet self-assigned this Nov 25, 2025
@Arrmlet Arrmlet changed the base branch from dev to miner_dev November 25, 2025 12:31
@Arrmlet Arrmlet changed the base branch from miner_dev to dev November 25, 2025 16:08
@Arrmlet
Copy link
Collaborator

Arrmlet commented Nov 25, 2025

tested working great!

@Arrmlet Arrmlet self-requested a review November 25, 2025 16:09
@Arrmlet Arrmlet merged commit 1423f94 into macrocosm-os:dev Nov 25, 2025
@Arrmlet Arrmlet mentioned this pull request Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants