Flaky: js-kernel-webview goBack()/goForward() fails with "a navigation is already pending"
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- bun, typescript
- Domain
- testing
Research direction
Start with packages/senpi-codemode/test/js-kernel-webview.test.ts and inspect the history-walk test named in the issue. Check how it observes navigation completion, then run that test repeatedly under load. Done means each back or forward step waits for its navigation-complete event and the test passes reliably.
Written by the indexing model from the issue text.
Description
Summary
packages/senpi-codemode test test/js-kernel-webview.test.ts > Bun.WebView from an eval cell > walks the default-backend view's history with goBack() and goForward() failed in hosted CI with Invalid state: a navigation is already pending.
Evidence
FAIL test/js-kernel-webview.test.ts > Bun.WebView from an eval cell > walks the default-backend view's history with goBack() and goForward()
Error: JavaScript parity cell failed: Invalid state: a navigation is already pending
Tests 1 failed | 16 passed | 2 skipped (19)
- PR #4620 touches no senpi-codemode file.
## Hypothesis (unverified)
The test issues goBack()/goForward() before the previous navigation settles; the parity cell needs to await the navigation-complete signal (not a timer) between history steps.
## Expected / acceptance
The history walk awaits each navigation's completion event before the next call; the test passes repeatedly under load.
- Dominant language
- TypeScript
- Stars
- 500
- Forks
- 155
- Avg merge
- 22h 6m
- Merged PRs (30d)
- 677
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No 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 code-yeongyu/senpi
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
code-yeongyu/senpi#5031 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
code-yeongyu/senpi#5011 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
code-yeongyu/senpi#4962 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
code-yeongyu/senpi#4937 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
code-yeongyu/senpi#4933 · 1 comment ·
Maintainers usually reply within 1 day
All issues in code-yeongyu/senpi
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Slaymish/HealthAgent#7 ·
-
area: engine topic: math type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Get-Concord-AI/concord-mcp#310 ·
Maintainers usually reply within 1 day
-
Correct install_claude: 'marketplace add' over a different source is refused, not replaced in placeOpentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
nightgauge/nightgauge#2804 ·
Maintainers usually reply within 1 day