Commit Graph

7 Commits

Author SHA1 Message Date
valknarness
326186f4a8 fix: optimize CI rate limit strategy for batch efficiency
Changes for CI mode (process.env.CI === 'true'):
- Remove grace period (was 10min) to enable continuous monitoring
- Increase check frequency from 1% to 10% to catch low rate limits early
- Raise proactive threshold from 200 to 500 requests
- Increase resume threshold from 100 to 1000 requests

This prevents wasting time on small batches (e.g. 184 requests = 2min
work + 13min wait) by ensuring we work in larger 1000-5000 request
batches for better time efficiency within the 170-minute timeout.

Local mode unchanged: maintains user-friendly behavior with fewer
interruptions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 20:52:41 +01:00
valknarness
958192899d fix: use adaptive rate limit threshold for CI vs local
Use MIN_REMAINING_TO_CONTINUE = 100 in CI environments to allow
incremental progress within the 170-minute timeout constraint, while
maintaining 4500 locally for better user experience with fewer
interruptions during indexing.

This fixes the timeout issue where waiting for nearly full rate limit
reset (4500/5000) required ~58 minutes per cycle, causing builds to
exceed the 170-minute timeout after just 3 cycles.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 17:56:55 +01:00
valknarness
946513fbbb fix: suspend 2025-10-27 03:53:52 +01:00
valknarness
a136b929b0 fix: suspend 2025-10-27 02:36:46 +01:00
valknarness
c0d3ffd328 fix: CI indexing 2025-10-26 22:04:46 +01:00
valknarness
9eb428dd63 fix: cli no user input 2025-10-26 19:12:49 +01:00
valknarness
700c73bcbf a new start 2025-10-25 15:52:06 +02:00