test(unfold): space editor polls from the last answer, not the last send #228
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ryangr0/fix/editor-poll-interval"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
checksjob ondevelopmentfailed in run 962.api-editor-sign-in.test.ts:52expected a 403 and got a 429 (slow_down). That blocks the first release after #223, #224 and #226.The server allows one poll per second, measured when each request arrives. The test spaced its polls 1.05 s apart, measured when it sent them. On a loaded runner the earlier request arrived late, and the gap the server saw dropped below one second.
The test now records the time after the answer arrives. The next poll can then never reach the server within 1.05 s of the previous one. Only the test changes; the server's limit stays as it is.
Verified: the test file passes three times in a row locally, and
npm run checkpasses.🤖 Generated with Claude Code
Pull request closed