Skip to content

Comments

agent: isolate rate limit reset parsing and add tests#61

Merged
gabelul merged 4 commits intomasterfrom
feat/rate-limit-tests
Feb 3, 2026
Merged

agent: isolate rate limit reset parsing and add tests#61
gabelul merged 4 commits intomasterfrom
feat/rate-limit-tests

Conversation

@gabelul
Copy link
Owner

@gabelul gabelul commented Feb 3, 2026

Adaptation inspired by upstream rate limit false-positive fixes (concept only; implementation is fork-native).\n\nChanges:\n- Extract reset-time parsing to src/autocoder/agent/rate_limit.py\n- Use helper from agent loop\n- Add deterministic unit tests (tests/test_rate_limit_parsing.py)\n- Make autocoder.agent init lazy to avoid SDK/WMI import side-effects during tests\n\nTest:\n- PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 python -m pytest -q -p asyncio tests/test_rate_limit_parsing.py

@gabelul gabelul merged commit 168cbff into master Feb 3, 2026
3 checks passed
@gabelul gabelul deleted the feat/rate-limit-tests branch February 3, 2026 13:58
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