Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(spawn) add Uint8Array support for stdout #2866

Merged
merged 5 commits into from
May 14, 2023
Merged

Conversation

cirospaciari
Copy link
Collaborator

Fix: #1500

@cirospaciari cirospaciari changed the title add array_buffer support for stdout fix(spawn) add array buffer support for stdout May 12, 2023
@cirospaciari cirospaciari changed the title fix(spawn) add array buffer support for stdout fix(spawn) add Uint8Array support for stdout May 12, 2023
gcTick();
});

it("Uint8Array works as stdout when is smaller than output", () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

what happens when the output is (1) larger or (2) exactly sized? those cases need tests

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

here smaller, larger, or exactly sized 64d536f

@github-actions
Copy link
Contributor

github-actions bot commented May 12, 2023

@cirospaciari 24 files with test failures on linux-x64-baseline:

  • test/bundler/build.test.ts
  • test/bundler/bundler_browser.test.ts
  • test/bundler/bundler_edgecase.test.ts
  • test/bundler/bundler_jsx.test.ts
  • test/bundler/bundler_naming.test.ts
  • test/bundler/bundler_plugin.test.ts
  • test/bundler/bundler_string.test.ts
  • test/bundler/esbuild/dce.test.ts
  • test/bundler/esbuild/default.test.ts
  • test/bundler/esbuild/importstar.test.ts
  • test/bundler/esbuild/loader.test.ts
  • test/bundler/esbuild/splitting.test.ts
  • test/bundler/esbuild/ts.test.ts
  • test/bundler/esbuild/tsconfig.test.ts
  • test/cli/run/preload-test.test.js
  • test/js/bun/http/serve.test.ts
  • test/js/bun/plugin/plugins.test.ts
  • test/js/bun/resolve/png/test-png-import.test.js
  • test/js/bun/test/preload-test.test.js
  • test/js/bun/test/snapshot-tests/snapshots/more-snapshots/different-directory.test.ts
  • test/js/bun/test/snapshot-tests/snapshots/more.test.ts
  • test/js/node/child_process/child_process-node.test.js
  • test/js/node/readline/readline.node.test.ts
  • test/transpiler/transpiler.test.js

View test output

#6f8a523d47ce64838b1878dfb77a7b98d7037f75

@github-actions
Copy link
Contributor

github-actions bot commented May 12, 2023

@cirospaciari 24 files with test failures on linux-x64:

  • test/bundler/build.test.ts
  • test/bundler/bundler_browser.test.ts
  • test/bundler/bundler_edgecase.test.ts
  • test/bundler/bundler_jsx.test.ts
  • test/bundler/bundler_naming.test.ts
  • test/bundler/bundler_plugin.test.ts
  • test/bundler/bundler_string.test.ts
  • test/bundler/esbuild/dce.test.ts
  • test/bundler/esbuild/default.test.ts
  • test/bundler/esbuild/importstar.test.ts
  • test/bundler/esbuild/loader.test.ts
  • test/bundler/esbuild/splitting.test.ts
  • test/bundler/esbuild/ts.test.ts
  • test/bundler/esbuild/tsconfig.test.ts
  • test/cli/run/preload-test.test.js
  • test/js/bun/http/serve.test.ts
  • test/js/bun/plugin/plugins.test.ts
  • test/js/bun/resolve/png/test-png-import.test.js
  • test/js/bun/test/preload-test.test.js
  • test/js/bun/test/snapshot-tests/snapshots/more-snapshots/different-directory.test.ts
  • test/js/bun/test/snapshot-tests/snapshots/more.test.ts
  • test/js/node/child_process/child_process-node.test.js
  • test/js/node/readline/readline.node.test.ts
  • test/transpiler/transpiler.test.js

View test output

#6f8a523d47ce64838b1878dfb77a7b98d7037f75

@github-actions
Copy link
Contributor

github-actions bot commented May 12, 2023

@cirospaciari 25 files with test failures on bun-darwin-x64-baseline:

  • test/bundler/build.test.ts
  • test/bundler/bundler_browser.test.ts
  • test/bundler/bundler_edgecase.test.ts
  • test/bundler/bundler_jsx.test.ts
  • test/bundler/bundler_naming.test.ts
  • test/bundler/bundler_plugin.test.ts
  • test/bundler/bundler_string.test.ts
  • test/bundler/esbuild/dce.test.ts
  • test/bundler/esbuild/default.test.ts
  • test/bundler/esbuild/importstar.test.ts
  • test/bundler/esbuild/loader.test.ts
  • test/bundler/esbuild/splitting.test.ts
  • test/bundler/esbuild/ts.test.ts
  • test/bundler/esbuild/tsconfig.test.ts
  • test/cli/run/preload-test.test.js
  • test/js/bun/http/serve.test.ts
  • test/js/bun/plugin/plugins.test.ts
  • test/js/bun/resolve/png/test-png-import.test.js
  • test/js/bun/sqlite/sqlite.test.js
  • test/js/bun/test/preload-test.test.js
  • test/js/bun/test/snapshot-tests/snapshots/more-snapshots/different-directory.test.ts
  • test/js/bun/test/snapshot-tests/snapshots/more.test.ts
  • test/js/bun/util/sleepSync.test.ts
  • test/js/node/readline/readline.node.test.ts
  • test/transpiler/transpiler.test.js

View test output

#6f8a523d47ce64838b1878dfb77a7b98d7037f75

@Jarred-Sumner Jarred-Sumner merged commit e096a03 into main May 14, 2023
@Jarred-Sumner Jarred-Sumner deleted the ciro/patch-1500 branch May 14, 2023 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

segfault with Bun.spawnSync with stdout: ArrayBufferView
2 participants