test(unfold): space editor polls from the answer, not the request #229
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ryangr0/fix/editor-poll-flake"
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?
Fixes the
checksfailure on development, run 962:api-editor-sign-in.test.ts"the phishing flow fails" got429 slow_downwhere it expected403.The test's
pollhelper recorded its last-poll time before sending the request, but the server records it when the request arrives. When one poll arrived late on the busy runner and the next one arrived on time, the server measured less than its one-second minimum between polls. The helper now records the time after the response comes back, so the server always sees at least 1050 ms between polls.Verified: the test file passes alone and in 8 parallel copies run at the same time.
🤖 Generated with Claude Code