mirror of
https://github.com/civitai/civitai.git
synced 2026-09-20 22:08:18 +08:00
02dd17186f
The article spec (#2485) 429'd on real PRs (caught on PR 2487): article.upsert is rate-limited to a HARD 1/day per user (articleRateLimits), and the ci-smoke fixtures are shared across all concurrent previews — so after the first preview of the day creates the one allowed article as `tester`, every later preview 429s (TOO_MANY_REQUESTS). It passed in #2485 only because that was the day's first create. The rateLimit middleware bypasses moderators entirely (`if (ctx.user.isModerator) return next()`), so run the spec as the `mod` fixture — the only way to author an article reliably from the shared fixtures. No seed/createdAt change helps: even an established account is capped at 1/day. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
4.1 KiB
4.1 KiB