Skip to content

fix(nodejs): add python env exclusion for nodejs manifest generation#789

Merged
joshyam-k merged 3 commits into
mainfrom
nodejs-venv-fix
Jun 22, 2026
Merged

fix(nodejs): add python env exclusion for nodejs manifest generation#789
joshyam-k merged 3 commits into
mainfrom
nodejs-venv-fix

Conversation

@joshyam-k

@joshyam-k joshyam-k commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Exculde python env files in nodejs manifest generation.

Intent

resolves #783

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change

Approach

make_nodejs_manifest only excluded manifest.json and node_modules. It needs to also exclude python env files. Every other content generator strips these via list_environment_dirs(...) so we just have to do that here as well

Automated Tests

test_manifest_excludes_python_virtual_environment creates a venv-shaped .venv and asserts none of its files appear in the manifest. Confirmed it fails without the fix and passes with it.

Directions for Reviewers

Checklist

  • I have updated CHANGELOG.md to cover notable changes.
  • I have updated all related GitHub issues to reflect their current state.
  • I have run the rsconnect-python-tests-at-night workflow in Connect against this feature branch.

@joshyam-k joshyam-k requested a review from dotNomad June 22, 2026 17:48
@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-06-22 18:23 UTC

@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
7206 5882 82% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
rsconnect/bundle.py 85% 🟢
TOTAL 85% 🟢

updated for commit: 19aa607 by action🐍

@joshyam-k joshyam-k requested a review from a team June 22, 2026 17:51

@dotNomad dotNomad left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Very clean and very easy approval ✅

@joshyam-k joshyam-k merged commit 3cdda9f into main Jun 22, 2026
23 checks passed
@joshyam-k joshyam-k deleted the nodejs-venv-fix branch June 22, 2026 18:23
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.

Exclude python virtual environemnts from manifest for Nodejs apps

2 participants