Flaky e2e: turns.engine F-097 setup never gets write access (canWrite stays false for 60 s)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- testing
Research direction
Start with the engine() setup in e2e/turns.engine.spec.ts (lines 52-62), which requests write access and waits up to 60 s for client.state.connection.canWrite, then compare it with the F-097 test at line 124. Check the development gateway log for that instance and the client's scope state at the timeout, and look at the scope code changed in #318. Done when the cause is known and either the race is fixed with a test or the setup waits on the correct signal and reports which step timed out.
Written by the indexing model from the issue text.
Description
Seen once on PR #400, which changes only apps/mobile/** and docs/**, so that PR can't have caused it.
- Run: 45126938924, job
e2e (3). - Test:
e2e/turns.engine.spec.ts:124, "F-097: Stop pressed before the gateway has taken the send stops the turn on the gateway". - What failed: the test's
engine()setup, before any Stop step. It requests write access, then waits up to 60 s forclient.state.connection.canWrite(lines 52–62). It never becametrue, though the connection itself reachedconnected. - The rest of the job: 59 of 60 tests passed.
To find out
- Whether the write-access request was sent and never answered, was answered and not applied, or was never sent. The development gateway's log for that instance and the client's scope state at the timeout would tell.
- Whether it's load on the hosted runner (the request's approval arriving after 60 s), or a race in the scope upgrade after connecting. The scope code changed recently in #318.
- Whether other engine specs share the same setup and could fail the same way.
Done when
- The cause is known, and either the race is fixed with a test, or the setup waits on the right signal and reports which step timed out.
Related flaky-test issues: #327 (the accounts e2e's operator connection drops under load) and #384 (5-second timeouts under load).
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 0
- Avg merge
- 9h 19m
- Merged PRs (30d)
- 138
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sidebandstudio/clawtrate
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
sidebandstudio/clawtrate#439 ·
Maintainers usually reply within 1 day
-
platform: ios
Difficulty 5/5 Over a week Newbie friendliness 15/100
sidebandstudio/clawtrate#444 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
sidebandstudio/clawtrate#443 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
sidebandstudio/clawtrate#442 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
sidebandstudio/clawtrate#438 ·
Maintainers usually reply within 1 day
All issues in sidebandstudio/clawtrate
Similar issues
-
bug
Difficulty 2/5 Half a day Newbie friendliness 62/100
garethgeorge/backrest#1451 ·
Maintainers usually reply within 1 day
-
fix(core): \.pluck() returns values in key insertion order instead of requested argument orderPossibly taken @ManyaS-Git claimed this 1 day ago. Openstatus:in-linear
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
n8n-io/n8n#45027 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 13 days
-
bug
Difficulty 2/5 Half a day Newbie friendliness 68/100
navikt/skjemabygging-formio#2399 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lidofinance/validator-ejector#233 ·
Maintainers usually reply within 1 day