Skip to content

chore: Remove PM2 from EB startup [WPB-23932]#20630

Merged
thisisamir98 merged 2 commits intodevfrom
WPB-23932
Mar 10, 2026
Merged

chore: Remove PM2 from EB startup [WPB-23932]#20630
thisisamir98 merged 2 commits intodevfrom
WPB-23932

Conversation

@thisisamir98
Copy link
Collaborator

@thisisamir98 thisisamir98 commented Mar 10, 2026

TaskWPB-23932 [Web] Remove PM2 from production startup in Elastic Beanstalk (use Node directly)

Let Elastic Beanstalk manage the web process directly by starting the server with node instead of PM2.

This removes an unnecessary runtime dependency, avoids missing PM2 binary failures during deployment, and prevents conflicts with EB PID tracking and restart handling.

@thisisamir98 thisisamir98 changed the title Remove PM2 from EB startup chore: Remove PM2 from EB startup [WPB-23932] Mar 10, 2026
zskhan
zskhan previously approved these changes Mar 10, 2026
Let Elastic Beanstalk manage the web process directly by starting the
server with node instead of PM2.

This removes an unnecessary runtime dependency, avoids missing PM2
binary failures during deployment, and prevents conflicts with EB PID
tracking and restart handling.
@github-actions
Copy link
Contributor

github-actions bot commented Mar 10, 2026

🔗 Download Full Report Artifact

🧪 Playwright Test Summary

  • Passed: 11
  • Failed: 0
  • Skipped: 3
  • 🔁 Flaky: 0
  • 📊 Total: 14
  • Total Runtime: 99.4s (~ 1 min 39 sec)

Add tslib to apps/server/package.json because the compiled server output
requires it at runtime when importHelpers is enabled.

This fixes Elastic Beanstalk startup failures caused by:
  Error: Cannot find module 'tslib'
@sonarqubecloud
Copy link

@thisisamir98 thisisamir98 requested a review from zskhan March 10, 2026 15:04
@thisisamir98 thisisamir98 enabled auto-merge March 10, 2026 15:13
@thisisamir98 thisisamir98 added this pull request to the merge queue Mar 10, 2026
Merged via the queue into dev with commit 4a07707 Mar 10, 2026
54 checks passed
@thisisamir98 thisisamir98 deleted the WPB-23932 branch March 10, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants