Skip to content

Conversation

@aaunario-keeper
Copy link
Contributor

@aaunario-keeper aaunario-keeper commented Jan 15, 2026

Summary

  • Fix too_many_objects_specified error when running compliance-report -r on enterprises with >5000 users
  • Chunk users by 5000 (server limit: MAX_CHOSEN_ENTERPRISE_USERS) and correlate records per user chunk
  • Improve get_prelim_data performance: start chunk_size at 100, ramp up on success, back off by /4 on timeout

Test plan

  • Verified output identical between prior/post runs on test enterprise (10 users, 1771 records)
  • Test on large enterprise (>5000 users) to confirm chunking path works

fixed bug in batching of requests for both records and users
@craiglurey craiglurey merged commit 89ee910 into release Jan 15, 2026
6 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.

3 participants