Skip to content

ci: Add GitHub Action to verify Notebook MCP bundle#12

Merged
chriskinzel merged 1 commit into
mainfrom
feat/bundle-check-action
Apr 8, 2026
Merged

ci: Add GitHub Action to verify Notebook MCP bundle#12
chriskinzel merged 1 commit into
mainfrom
feat/bundle-check-action

Conversation

@snehshah22
Copy link
Copy Markdown
Contributor

This Pull Request adds a GitHub Action workflow dedicated to the notebook_mcp server to ensure that contributors do not forget to build and commit the compiled distribution bundle.

Since we are pursuing a zero-install strategy via npx pointing directly at the repository source, it is absolutely critical that the generated asset notebook_mcp/dist/index.js honors the latest code edits.

What this workflow does:

  1. Triggers exclusively on Pull Requests affecting anything inside the notebook_mcp/ directory.
  2. Clones the branch and runs an active npm run bundle from source.
  3. Compares the freshly generated script against the copy committed by the PR author via git diff --exit-code.
  4. Stays passing if clean, but hard fails the build checks blocking merge if the developer forgot to run build locally!

@snehshah22 snehshah22 requested review from a team as code owners April 8, 2026 18:37
@github-actions github-actions Bot requested a review from chriskinzel April 8, 2026 18:38
@chriskinzel chriskinzel merged commit c352490 into main Apr 8, 2026
9 checks passed
@chriskinzel chriskinzel deleted the feat/bundle-check-action branch April 8, 2026 19:03
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