Skip to content

fix: EventEmiiter warning when running shipthis game wizard ios#198

Merged
madebydavid merged 1 commit into
mainfrom
191-bug-eventemitter-warning-after-running-shipthis-game-wizard-ios
May 2, 2026
Merged

fix: EventEmiiter warning when running shipthis game wizard ios#198
madebydavid merged 1 commit into
mainfrom
191-bug-eventemitter-warning-after-running-shipthis-game-wizard-ios

Conversation

@madebydavid

@madebydavid madebydavid commented May 2, 2026

Copy link
Copy Markdown
Member

This is to resolve #191

What's changed

  • Removed the process.on listeners in baseCommand
  • These were added when we were initially working on following the job logs

Testing

I have tested the following:

  • shipthis game wizard ios
  • shipthis game ship
  • shipthis game ship --platform ios --follow
  • shipthis game wizard android

These listeners were added to solve a problem, but we are not certain which problem. All of these related commands are working correctly. I have been able to run them successfully and run them and press Ctrl+C and they exit correctly.

@madebydavid madebydavid linked an issue May 2, 2026 that may be closed by this pull request
@madebydavid
madebydavid marked this pull request as ready for review May 2, 2026 11:23
@madebydavid
madebydavid requested a review from Copilot May 2, 2026 11:23

Copilot AI 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.

Pull request overview

Fixes the MaxListenersExceededWarning observed after running shipthis game wizard ios (notably in flows that execute many subcommands in-process via this.config.runCommand), by eliminating per-command signal listener registration in the base command lifecycle.

Changes:

  • Removed process.on('SIGINT'| 'SIGTERM') handlers from BaseCommand.init() to prevent accumulated listeners across chained command runs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@madebydavid
madebydavid merged commit 4520200 into main May 2, 2026
4 checks passed
@madebydavid
madebydavid deleted the 191-bug-eventemitter-warning-after-running-shipthis-game-wizard-ios branch May 2, 2026 11:27
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.

bug: EventEmitter warning after running shipthis game wizard ios

2 participants