Tighten too-long heuristic for design-document issues#3620
Conversation
Issues that propose solutions, list numbered approaches, or include suggested API shapes are doing design work that belongs to maintainers.
Test Failure AnalysisSummary: A flaky rate limiting test failed on Python 3.13 — Root Cause: The test sets up Suggested Solution: Fix the test in Use RateLimitingMiddleware(
max_requests_per_second=10.0,
burst_capacity=1, # was 4 — one call exhausts the bucket
)Or, exhaust all burst tokens before the assertion (similar to how This failure is not caused by this PR, which only modifies Detailed AnalysisFailing test: Log excerpt: Token bucket behavior ( self.tokens = capacity # starts FULL at burst_capacity (4)With Comparison: The test at line ~430 ( The Python 3.10 run appears to pass, which may indicate a timing difference in test execution speed (parallel workers, GIL behavior, etc.) causing nondeterministic results. Related Files
|
Enhancement requests that propose multiple solutions, include numbered lists of approaches, or spec out suggested API shapes are doing design work that belongs to maintainers. The
too-longheuristic now explicitly flags these patterns alongside the existing LLM failure modes.