Pebble32 commented on code in PR #77306:
URL: https://github.com/apache/airflow/pull/77306#discussion_r4695554484


##########
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:
   I mean we can but it's users own code running on their machine bounded by 
60s timeout not how much of an issue that would be if any tbh but I can add it 
if that is prefered 



-- 
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]

Reply via email to