jason810496 commented on code in PR #77306:
URL: https://github.com/apache/airflow/pull/77306#discussion_r4703373767
##########
ts-sdk/src/cli/pack.ts:
##########
@@ -115,24 +129,42 @@ function readSdkVersion(): string {
}
function readBundleManifest(bundlePath: string): BundleManifest {
+ // On macOS Node writes a piped stderr asynchronously, so output past the 64
KiB pipe buffer is
+ // lost when the bundle exits, and Node prints the whole minified line
before the error.
+ // Writes to a file are synchronous.
+ const stderrDir = mkdtempSync(path.join(tmpdir(), "airflow-ts-pack-"));
+ const stderrPath = path.join(stderrDir, "stderr");
Review Comment:
Fair point, it's fine to leave as is. Users could terminal the CLI if needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]