Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 29, 2025

Adds test coverage for the fix that prevents the Init notebook from being opened by default unless it's the only notebook available.

Test Coverage

  • Init notebook avoidance: Verifies Init notebook is not selected when other notebooks exist
  • Init notebook fallback: Ensures Init notebook is selected when it's the only option
  • Alphabetical sorting: Validates notebooks are sorted by name (case-insensitive)
  • Init notebook deprioritization: Confirms Init notebook is sorted last regardless of name

All tests use the deserializeNotebook method to verify the behavior end-to-end through the public API.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: Artmann <91954+Artmann@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix not opening the init notebook by default test: Add tests for default notebook selection logic Oct 29, 2025
Copilot AI requested a review from Artmann October 29, 2025 16:35
Copilot finished work on behalf of Artmann October 29, 2025 16:35
@Artmann Artmann marked this pull request as ready for review October 29, 2025 16:36
@Artmann Artmann requested a review from a team as a code owner October 29, 2025 16:36
@Artmann Artmann merged commit 8ea0e07 into chris/do-not-open-init-by-default Oct 29, 2025
1 check failed
@Artmann Artmann deleted the copilot/sub-pr-133 branch October 29, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants