Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't set processes when Procfile is present #319

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

joshwlewis
Copy link
Member

Customers are often surprised and sometimes annoyed when this buildpack adds processes not in the Procfile. This prevents adding processes when a Procfile is present.

In the future, I'd like to change this conditional to be dependent on heroku/procfile contributing, rather than the specific Procfile file.

Related: #85

GUS

@joshwlewis joshwlewis requested a review from a team as a code owner December 12, 2024 17:16
@joshwlewis joshwlewis force-pushed the jwl/prefer-procfile-processes branch from 25610f5 to 586dc16 Compare December 12, 2024 17:25
colincasey added a commit to heroku/buildpacks-nodejs that referenced this pull request Dec 12, 2024
This change treats the presence of a `Procfile` as the "source of truth" for how processes should be registered and will skip the default process registration that was previously performed for `npm`, `yarn`, and `pnpm`.

Fixes #908

Related to heroku/buildpacks-go#319
@joshwlewis joshwlewis enabled auto-merge (squash) December 12, 2024 21:33
@joshwlewis joshwlewis merged commit cdc8b4a into main Dec 12, 2024
7 checks passed
@joshwlewis joshwlewis deleted the jwl/prefer-procfile-processes branch December 12, 2024 21:33
colincasey added a commit to heroku/buildpacks-nodejs that referenced this pull request Dec 13, 2024
* Skip default process registration when Procfile is present

This change treats the presence of a `Procfile` as the "source of truth" for how processes should be registered and will skip the default process registration that was previously performed for `npm`, `yarn`, and `pnpm`.

Fixes #908

Related to heroku/buildpacks-go#319

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
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