Skip to content

e2e: nb side-by-side flake#13843

Merged
midleman merged 3 commits into
mainfrom
mi/nb-side-by-side-flake
May 28, 2026
Merged

e2e: nb side-by-side flake#13843
midleman merged 3 commits into
mainfrom
mi/nb-side-by-side-flake

Conversation

@midleman
Copy link
Copy Markdown
Contributor

@midleman midleman commented May 28, 2026

Summary

Fixes flake in notebook-side-by-side.test.ts. Root cause turned out to be inter-test state: the prior test calls kernel.shutdown() and kernel.restart() on its notebooks, leaving session state that breaks the next test's notebook autostart/selection.

  • Reordered the two tests so the action-buttons test runs first against a clean app
  • Dropped the redundant second kernel.select('Python') and rely on autostart

QA Notes

@:positron-notebooks @:web @:win

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 28, 2026

E2E Tests 🚀
This PR will run tests tagged with: @:critical @:positron-notebooks @:web @:win

readme  valid tags

@midleman midleman changed the title e2e: stop re-selecting kernel for second notebook to fix side-by-side flake e2e: nb side-by-side flake May 28, 2026
@rodrigosf672 rodrigosf672 self-requested a review May 28, 2026 14:40
@rodrigosf672
Copy link
Copy Markdown
Member

rodrigosf672 commented May 28, 2026

@midleman, since side-by-side notebooks are an (important) edge case, I believe we should fell comfortable soft-failing or skipping it temporarily in the future in case this creates too much noise again. I say that because, when I see your note about the temporary workaround, it makes me think that future kernel modifications/improvements (esp. focused on a more polished experience) may end up having this test fail. cc @dhruvisompura

LGTM though! ✅

Copy link
Copy Markdown
Contributor

@jonvanausdeln jonvanausdeln left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@midleman midleman merged commit 7951581 into main May 28, 2026
30 checks passed
@midleman midleman deleted the mi/nb-side-by-side-flake branch May 28, 2026 16:35
@github-actions github-actions Bot locked and limited conversation to collaborators May 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants