Skip to content

Enable Deepnote snapshots by default#313

Merged
Artmann merged 1 commit intomainfrom
claude/default-snapshots-all-users-cPuRa
Feb 5, 2026
Merged

Enable Deepnote snapshots by default#313
Artmann merged 1 commit intomainfrom
claude/default-snapshots-all-users-cPuRa

Conversation

@Artmann
Copy link
Contributor

@Artmann Artmann commented Feb 5, 2026

Summary

Changes the default value of the deepnote.snapshots.enabled configuration setting from false to true, enabling snapshot functionality for Deepnote notebooks by default.

Changes

  • Updated the default value in package.json configuration schema from false to true
  • Updated default parameter in DeepnoteActivationService.isSnapshotsEnabled() method
  • Updated default parameter in SnapshotService.isSnapshotsEnabled() method
  • Updated unit tests to reflect the new default value in mock configurations

Details

This change makes snapshot functionality opt-out rather than opt-in, meaning outputs will now be saved to separate snapshot files in a 'snapshots' folder by default instead of being stored in the main .deepnote file. Users who prefer the previous behavior can disable this feature by setting deepnote.snapshots.enabled to false in their workspace configuration.

All related code paths and tests have been updated to maintain consistency across the codebase.

https://claude.ai/code/session_012kUL7YuMgYq3CR1xqnrLb5

Summary by CodeRabbit

  • Chores

    • Configuration change: Deepnote snapshot outputs are now enabled by default across all notebooks, changing from disabled by default to provide automatic snapshot functionality without requiring users to manually enable the feature.
  • Tests

    • Updated unit tests to reflect the new default snapshot configuration.

Change the default value of `deepnote.snapshots.enabled` from `false` to
`true` so that all users get the benefits of snapshot mode by default:
- Outputs saved to separate snapshot files
- Main .deepnote file stays cleaner with just source code
- Document stays clean until actual content changes

https://claude.ai/code/session_012kUL7YuMgYq3CR1xqnrLb5
@Artmann Artmann requested a review from a team as a code owner February 5, 2026 14:14
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 5, 2026

📝 Walkthrough

Walkthrough

The pull request updates the default configuration value for deepnote.snapshots.enabled from false to true across the codebase. Changes include: modifying the default in package.json, updating the configuration reader in deepnoteActivationService.ts to use true as the default, changing the snapshot service logic in snapshotService.ts to default to enabled, and adjusting the corresponding unit tests to validate the new default behavior.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main change: enabling Deepnote snapshots by default. All modifications across multiple files serve this objective.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@dinohamzic dinohamzic left a comment

Choose a reason for hiding this comment

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

YES! ❤️

@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0%. Comparing base (07855da) to head (076d635).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@     Coverage Diff     @@
##   main   #313   +/-   ##
===========================
===========================
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Artmann Artmann merged commit 3a32768 into main Feb 5, 2026
13 checks passed
@Artmann Artmann deleted the claude/default-snapshots-all-users-cPuRa branch February 5, 2026 14: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.

3 participants