Skip to content

feat(napi/parser): parseAsync support raw transfer#11335

Merged
graphite-app[bot] merged 1 commit intomainfrom
05-27-feat_napi_parser_parseasync_support_raw_transfer
May 28, 2025
Merged

feat(napi/parser): parseAsync support raw transfer#11335
graphite-app[bot] merged 1 commit intomainfrom
05-27-feat_napi_parser_parseasync_support_raw_transfer

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented May 27, 2025

Previously, only parseSync supported raw transfer. Extend support to parseAsync too.

This requires:

  1. A queue to limit the number of files being parsed simultaneously, to avoid the possibility of memory exhaustion.

  2. A more complicated mechanism for recycling buffers, since now multiple buffers can be in use at the same time.

Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added the C-enhancement Category - New feature or request label May 27, 2025
@overlookmotel overlookmotel marked this pull request as ready for review May 27, 2025 21:07
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label May 28, 2025
Copy link
Member

Boshen commented May 28, 2025

Merge activity

Previously, only `parseSync` supported raw transfer. Extend support to `parseAsync` too.

This requires:

1. A queue to limit the number of files being parsed simultaneously, to avoid the possibility of memory exhaustion.

2. A more complicated mechanism for recycling buffers, since now multiple buffers can be in use at the same time.
@graphite-app graphite-app bot force-pushed the 05-27-feat_napi_parser_parseasync_support_raw_transfer branch from 972d469 to b8aa4e3 Compare May 28, 2025 02:01
@graphite-app graphite-app bot merged commit b8aa4e3 into main May 28, 2025
15 checks passed
@graphite-app graphite-app bot deleted the 05-27-feat_napi_parser_parseasync_support_raw_transfer branch May 28, 2025 02:08
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-enhancement Category - New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants