You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): fix CI command hanging due to process.exit calls (#1149)
* fix(cli): remove posthog shutdown to prevent hanging
- Extract createPosthogClient() as a reusable function
- Remove posthog.shutdown() call that was causing process to hang
- PostHog with flushAt:1 sends events immediately, shutdown not needed
* chore(cli): upgrade posthog-node to 5.8.1
- Upgrade from 5.5.1 to 5.8.1 for better stability
- Latest version may have improved handling of process exits
* fix(cli): replace process.exit with exceptions in commands
- Replace process.exit(1) with throw new Error() in i18n command
- Replace process.exit(1) with throw error in run command
- Remove exitGracefully() calls as no longer needed
- This fixes CI command integration where process.exit() was terminating
the parent process instead of returning control
* style: apply prettier formatting
* docs: add changeset for CI command fix
* chore: prettier
0 commit comments