Skip to content

feat(app-preview): run local notebooks for run(), saving each run's results as a snapshot file - #631

Merged
tkislan merged 5 commits into
mainfrom
tomaskislan/app-preview-run-snapshots
Nov 24, 2026
Merged

tkislan merged 5 commits into
mainfrom
tomaskislan/app-preview-run-snapshots

Merge branch 'main' into tomaskislan/app-preview-run-snapshots

53fcdce
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 24, 2026 in 3s

39% (+0%) compared to 2c8a83e

Details

Codecov Report

❌ Patch coverage is 90.90909% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 39%. Comparing base (2c8a83e) to head (53fcdce).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...ebooks/deepnote/deepnoteInitNotebookRunner.node.ts 65% 4 Missing and 3 partials ⚠️
...otebooks/deepnote/appPreview/appPreviewApi.node.ts 93% 1 Missing and 4 partials ⚠️
...books/deepnote/appPreview/appPreviewRunner.node.ts 95% 1 Missing and 3 partials ⚠️
src/notebooks/deepnote/snapshots/snapshotFiles.ts 76% 2 Missing and 1 partial ⚠️
...epnote/appPreview/appPreviewCommandHandler.node.ts 75% 0 Missing and 1 partial ⚠️
src/notebooks/serviceRegistry.node.ts 0% 1 Missing ⚠️
src/platform/common/utils/localize.ts 83% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main    #631    +/-   ##
======================================
  Coverage     39%     39%            
======================================
  Files        832     835     +3     
  Lines      41939   42138   +199     
  Branches    9205    9254    +49     
======================================
+ Hits       16414   16606   +192     
  Misses     23432   23432            
- Partials    2093    2100     +7     
Files with missing lines Coverage Δ
...oks/deepnote/appPreview/appPreviewRunFiles.node.ts 100% <100%> (ø)
...ooks/deepnote/appPreview/appPreviewSession.node.ts 85% <100%> (+<1%) ⬆️
src/notebooks/deepnote/appPreview/types.ts 100% <100%> (ø)
src/notebooks/deepnote/deepnoteTestHelpers.ts 80% <100%> (+2%) ⬆️
...rc/notebooks/deepnote/snapshots/snapshotService.ts 74% <100%> (-1%) ⬇️
...epnote/appPreview/appPreviewCommandHandler.node.ts 96% <75%> (-2%) ⬇️
src/notebooks/serviceRegistry.node.ts 0% <0%> (ø)
src/platform/common/utils/localize.ts 93% <83%> (-1%) ⬇️
src/notebooks/deepnote/snapshots/snapshotFiles.ts 84% <76%> (-8%) ⬇️
...books/deepnote/appPreview/appPreviewRunner.node.ts 95% <95%> (ø)
... and 2 more

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.