Skip to content

Conversation

@Yggdrasill501
Copy link
Contributor

@Yggdrasill501 Yggdrasill501 commented Oct 20, 2025

This pull request update the contributions.md to be better readable and cleaner

Summary by CodeRabbit

  • Documentation
    • Rebranded contributor docs from Jupyter to Deepnote, added a welcome intro, and removed references to external repos (Microsoft/Pylance/debugpy).
    • Expanded prerequisites, setup, and install guidance with Apple Silicon notes; removed package registry authentication / Configure Access to @deepnote/blocks section.
    • Reworked build/run sections and debugging tips; clarified test-running guidance and normalized headings; no public API changes.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 20, 2025

📝 Walkthrough

Walkthrough

CONTRIBUTING.md was rewritten for the Deepnote VS Code extension: repository and branding references updated to deepnote/vscode-deepnote. The document adds a short introduction, explicit prerequisites and setup steps (macOS/Homebrew, nvm/Node, npm, Python, VS Code and recommended extensions), removes GitHub Packages access instructions for @deepnote/blocks, adjusts Apple Silicon notes, clarifies clone/install/build workflows (watch/incremental and full builds), consolidates a "Running the extension" workflow (quick start, Extension Development Host, watch, reload, debug), expands debugging tips, normalizes unit/integration test instructions, and refines local build/packaging steps. No public/exported code signatures changed.

Sequence Diagram(s)

sequenceDiagram
    autonumber
    participant Dev as Developer
    participant Repo as deepnote/vscode-deepnote
    participant Local as Local Env (nvm/Node/Homebrew)
    participant VSCode as VS Code (Ext Host)

    note over Dev,Repo #f0f4ff: Setup & clone
    Dev->>Repo: git clone deepnote/vscode-deepnote
    Dev->>Local: install Node, npm, Python, VS Code & extensions

    note over Dev,VSCode #f6ffed: Run & develop
    Dev->>VSCode: launch Extension Development Host (watch/build)
    VSCode->>Local: load extension from workspace
    VSCode-->>Dev: extension active (reload/debug)

    note over Dev,Local #fff7e6: Test & iterate
    Dev->>Local: run unit/integration tests, watch/rebuild
    Local-->>Dev: test results/logs
Loading
sequenceDiagram
    autonumber
    participant Dev as Developer
    participant VSCode as VS Code
    participant ExtHost as Extension Host
    participant Debugger as Debugging Tools
    participant Env as Local Env

    note over Dev,VSCode #f0f7ff: Development loop
    Dev->>VSCode: start Quick Start / launch config
    VSCode->>ExtHost: spawn Extension Development Host
    ExtHost->>Dev: extension loaded
    Dev->>ExtHost: exercise commands/UI
    Dev->>Debugger: attach / set breakpoints
    Debugger-->>ExtHost: step/inspect
    ExtHost-->>Dev: logs/errors

    alt env/auth issues
        Dev->>Env: set env vars / PAT / npm auth
        Env-->>Dev: updated environment
    end
Loading

Possibly related PRs

Suggested reviewers

  • saltenasl

Pre-merge checks

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title "docs: updating contribution guide to be cleaner" directly aligns with the PR's stated objective to make the contribution guide "better readable and cleaner." The change summary confirms the modifications focus on reorganizing sections, improving workflow clarity, expanding documentation, and enhancing overall structure—all consistent with making the guide cleaner. While "cleaner" is somewhat generic, it meaningfully conveys that the contribution guide was improved for readability and usability, and isn't so vague as to be uninterpretable.

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 73d66ce and 393fc25.

📒 Files selected for processing (1)
  • CONTRIBUTING.md (11 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Build & Test
🔇 Additional comments (2)
CONTRIBUTING.md (2)

333-349: Stale repository references exist but launch.json links are already correct.

Lines 344 and 349 need updating (contain github.com/microsoft/vscode-jupyter/wiki links), but the .vscode/launch.json URLs in lines 340, 341, 343, 346 already point to deepnote/vscode-deepnote and don't need changes. The broader file has additional stale references beyond the 333–349 range (lines 185, 333, 370, 386, 398, 399, 403, 411, 417) that also require systematic cleanup to use deepnote/vscode-deepnote.

Likely an incorrect or invalid review comment.


344-344: Link is appropriate—no change needed.

The review comment conflates Deepnote (the platform) with vscode-deepnote (the VS Code extension). The vscode-jupyter wiki link is directly relevant: testing the extension in web mode requires understanding how to run and connect to a Jupyter server, which is what that wiki documents. The link is authoritative for this VS Code ecosystem context.

Likely an incorrect or invalid review comment.


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

@codecov
Copy link

codecov bot commented Oct 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72%. Comparing base (5d7cb11) to head (393fc25).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #97   +/-   ##
=====================================
  Coverage     72%     72%           
=====================================
  Files        545     545           
  Lines      41889   41889           
  Branches    5058    5058           
=====================================
  Hits       30518   30518           
  Misses      9683    9683           
  Partials    1688    1688           
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
CONTRIBUTING.md (1)

120-134: Fix typo: "dependecies" → "dependencies".

Line 120 has a misspelling.

-Install the dependecies:
+Install the dependencies:
📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9e00675 and c814d87.

📒 Files selected for processing (1)
  • CONTRIBUTING.md (3 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.18.1)
CONTRIBUTING.md

23-23: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


24-24: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


41-41: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


42-42: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


67-67: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


169-169: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)


212-212: Fenced code blocks should be surrounded by blank lines

(MD031, blanks-around-fences)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: Build & Test
  • GitHub Check: Lint & Format
  • GitHub Check: Build & Package Extension
  • GitHub Check: copilot-setup-steps
🔇 Additional comments (3)
CONTRIBUTING.md (3)

1-3: Nicely rebranded and welcoming intro.

Clear value proposition for contributors.


105-118: Clarify the incomplete npm install command.

Line 116 ends with npm install zeromq@ but lacks a version specifier. Should this be zeromq@latest, a pinned version, or has the command been truncated?

If this is intentional, consider documenting why no version is specified. If it should have a version, propose a fix.


162-235: Comprehensive new sections for running and debugging the extension.

The "Running the Extension," "Available Debug Configurations," and "Debugging Tips" sections are well-structured, actionable, and a clear improvement over the old guidance. Good use of details/summary pattern for optional info.

@Yggdrasill501 Yggdrasill501 force-pushed the filipzitny/mar-253-contributing-guide-for-deepnotevscode-deepnote branch from c814d87 to 2beb13a Compare October 20, 2025 20:37
coderabbitai[bot]
coderabbitai bot previously approved these changes Oct 20, 2025
@Yggdrasill501 Yggdrasill501 self-assigned this Oct 20, 2025
@jamesbhobbs jamesbhobbs changed the title feat: updateding contribution guide to be cleaner docs: updateding contribution guide to be cleaner Oct 21, 2025
Copy link
Member

@saltenasl saltenasl left a comment

Choose a reason for hiding this comment

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

please also fix the title of the PR

@Yggdrasill501 Yggdrasill501 changed the title docs: updateding contribution guide to be cleaner docs: updating contribution guide to be cleaner Oct 21, 2025
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (5)
CONTRIBUTING.md (5)

9-10: Remove hardcoded Node and npm versions from prerequisites.

The .nvmrc file is the single source of truth for the Node version. Hardcoding versions here creates maintenance burden and inconsistency. Refer developers to .nvmrc instead, as the installation scripts below already do.

Apply this diff:

 ### Prerequisites
 
-1. [Node.js](https://nodejs.org/) 22.15.1
-2. [npm](https://www.npmjs.com/) 10.9.2
+1. [Node.js](https://nodejs.org/) (version specified in [.nvmrc](.nvmrc))
+2. [npm](https://www.npmjs.com/) (comes with Node.js)

129-129: Fix typo: "dependecies" → "dependencies".

-Install the dependecies:
+Install the dependencies:

255-286: Update stale references from vscode-jupyter to vscode-deepnote.

This section duplicates/conflicts with the updated "Running the Extension" section above (lines 171–247) and references the old Jupyter repo. Remove or consolidate.

-To test changes, open the `vscode-jupyter` folder in VSCode, and select the workspace titled `vscode-jupyter`.
-Then, open the debug panel by clicking the `Run and Debug` icon on the sidebar, select the `Extension`
-option from the top menu, and click start. A new window will launch with the title
-`[Extension Development Host]`.
+This section is covered in detail above under "Running the Extension."

401-401: Update wiki link to Deepnote repo.

Line 401 links to the old microsoft/vscode-jupyter wiki. Either remove the reference or update to point to Deepnote's documentation if it exists.

-At a high level we have a bunch of folders. Each high level is described in this wiki [page](https://github.com/microsoft/vscode-jupyter/wiki/Source-Code-Organization)
+At a high level we have a bunch of folders. Each high level is described in the repository structure.

388-388: Update CONTRIBUTING.md line 388 to remove the outdated vscode-jupyter link.

The current link points to microsoft/vscode-jupyter, which is incorrect for the Deepnote repository. The file exists at src/platform/common/utils/localize.ts in this repo. Use the relative path as suggested, or update the link to point to the correct Deepnote repository.

Also note: Several other vscode-jupyter references appear in CONTRIBUTING.md (lines 255, 333, 341, 401, 407, 414-418) that may warrant review as well.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2beb13a and d3eb9d0.

📒 Files selected for processing (1)
  • CONTRIBUTING.md (3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Lint & Format
  • GitHub Check: Build & Package Extension

@saltenasl
Copy link
Member

some valid rabbit comments here @Yggdrasill501

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
CONTRIBUTING.md (2)

125-125: Fix typo: "dependecies" → "dependencies".


249-254: Update stale reference from vscode-jupyter to vscode-deepnote.

This section references "vscode-jupyter" folder and workspace, but the file was rebranded to Deepnote and line 78 clones vscode-deepnote. Update instructions to match.

Suggested fix:

-To test changes, open the `vscode-jupyter` folder in VSCode, and select the workspace titled `vscode-jupyter`.
+To test changes, open the `vscode-deepnote` folder in VSCode, and select the workspace titled `vscode-deepnote`.
📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d3eb9d0 and 3022ec5.

📒 Files selected for processing (1)
  • CONTRIBUTING.md (3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Build & Test
  • GitHub Check: Lint & Format
  • GitHub Check: Build & Package Extension
🔇 Additional comments (2)
CONTRIBUTING.md (2)

167-243: Well-structured developer workflow.

The new "Running the Extension" section is clearly organized with practical step-by-step guidance and helpful debugging tips. References align with the Deepnote product (e.g., .deepnote file extension). Good addition.


384-384: Update remaining Microsoft vscode-jupyter references for Deepnote context.

Multiple sections retain hardcoded links to github.com/microsoft/vscode-jupyter (lines 384, 397, 410–419). Since the file was rebranded for the Deepnote fork (vscode-deepnote), these references should be updated or replaced with Deepnote-specific documentation. Check whether:

  • Equivalent wiki pages exist in the Deepnote repo
  • Test paths (e.g., src/test/datascience) exist in the Deepnote fork
  • Legacy Microsoft references should remain for historical context or be removed

Also applies to: 397-397, 410-419

coderabbitai[bot]
coderabbitai bot previously approved these changes Oct 25, 2025
coderabbitai[bot]
coderabbitai bot previously approved these changes Oct 30, 2025
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
CONTRIBUTING.md (2)

80-80: Fix typo: "dependecies" → "dependencies".

-Install the dependecies:
+Install the dependencies:

204-209: Remove redundant section; covered by "Running the extension".

Lines 204–209 are now superseded by the comprehensive "Running the extension" section (122–198) above. Delete this older, less detailed guidance to avoid confusion.

-### Run dev build and validate your changes
-
-To test changes, open the `vscode-jupyter` folder in VSCode, and select the workspace titled `vscode-jupyter`.
-Then, open the debug panel by clicking the `Run and Debug` icon on the sidebar, select the `Extension`
-option from the top menu, and click start. A new window will launch with the title
-`[Extension Development Host]`.
-
📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 095120a and abc7d89.

📒 Files selected for processing (1)
  • CONTRIBUTING.md (12 hunks)

coderabbitai[bot]
coderabbitai bot previously approved these changes Oct 31, 2025
@jamesbhobbs jamesbhobbs merged commit b44951c into main Oct 31, 2025
13 checks passed
@jamesbhobbs jamesbhobbs deleted the filipzitny/mar-253-contributing-guide-for-deepnotevscode-deepnote branch October 31, 2025 12:45
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.

6 participants