Skip to content

[create-astro] update shell logic#8089

Merged
natemoo-re merged 4 commits into
mainfrom
fix/shell
Aug 15, 2023
Merged

[create-astro] update shell logic#8089
natemoo-re merged 4 commits into
mainfrom
fix/shell

Conversation

@natemoo-re
Copy link
Copy Markdown
Member

Changes

  • The timeout logic added in Reduce create-astro dependencies #8077 caused some issues
  • This PR refactors shell to rely on Node's built-in timeout support
  • If a ChildProcess times out, it will emit the close event but the exitCode will be null.

Testing

Tested manually because it's spawning a shell

Docs

N/A, bug fix only

@github-actions github-actions Bot added the pkg: create-astro Related to the `create-astro` package (scope) label Aug 15, 2023
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Aug 15, 2023

🦋 Changeset detected

Latest commit: a1c05b0

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@natemoo-re natemoo-re changed the title [create-astro] update shell logic [create-astro] update shell logic Aug 15, 2023
Copy link
Copy Markdown
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

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

Don’t know enough to judge the fix, but I’d say NWTWWHB — ship it!

@natemoo-re natemoo-re merged commit 04755e8 into main Aug 15, 2023
@natemoo-re natemoo-re deleted the fix/shell branch August 15, 2023 17:25
@astrobot-houston astrobot-houston mentioned this pull request Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: create-astro Related to the `create-astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants