Skip to content

Conversation

@davbree
Copy link
Contributor

@davbree davbree commented Oct 27, 2024

πŸŽ‰ Thanks for submitting a pull request! πŸŽ‰

Summary

ref WRFL-1864


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code πŸ§‘β€πŸ’». This ensures
    we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or
    something that`s on fire πŸ”₯ (e.g. incident related), you can skip this step.
  • Read the contribution guidelines πŸ“–. This ensures
    your code follows our style guide and passes our tests.
  • Update or add tests (if any source code was changed or added) πŸ§ͺ
  • Update or add documentation (if features were changed or added) πŸ“
  • Make sure the status checks below are successful βœ…

A picture of a cute animal (not mandatory, but encouraged)

@github-actions
Copy link
Contributor

This pull request adds or modifies JavaScript (.js, .cjs, .mjs) files.
Consider converting them to TypeScript.

@davbree davbree changed the title Keep logging pipe for trusted plugins feat: keep logging pipe for trusted plugins Oct 29, 2024
return { newError }
} finally {
await unpipePluginOutput(childProcess, logs, listeners, standardStreams)
if (!isTrustedPlugin(pluginPackageJson?.name) || listeners) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't this code well enough to be sure why presence of listeners means we should call the unpipe method, but I trust you πŸ˜„

@davbree davbree merged commit a631d8c into main Oct 29, 2024
39 checks passed
@davbree davbree deleted the plugin-logging branch October 29, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment