-
Notifications
You must be signed in to change notification settings - Fork 64
feat: add threadman worker for Node.js multi-threading support #184
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
Open
Kolezhniuk
wants to merge
12
commits into
feature/sharedArrayBuffers
Choose a base branch
from
feat/esm-migration
base: feature/sharedArrayBuffers
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
e8e590f
feat: add threadman worker for Node.js multi-threading support
Kolezhniuk bfb0a2c
refactor: remove CommonJS worker and thread management files
Kolezhniuk 9a52e6a
fix: correct variable assignment in bn128.js and improve FFT handling…
Kolezhniuk d53c632
fix: replace rm -rf with rimraf in clean script for cross-platform co…
Kolezhniuk e6de4dd
feat: add thread management and worker functionality
Kolezhniuk df294ac
fix: update package-lock.json and reorder build scripts in package.json
Kolezhniuk 0e949b1
feat: migrate to ESM by updating module imports and adding prepare sc…
Kolezhniuk e9e3d4c
feat: enable headless mode for Playwright browser in Vite configuration
Kolezhniuk 1ff750d
chore: update version to 0.3.1-poc in package.json for proof of conce…
Kolezhniuk cc53219
chore: update dependencies and package versions
Kolezhniuk 29e8087
fix(bn128): update decompression handling for WASM code
d5k9 c0ce9f6
refactor: optimize chunk size calculation and improve logging in mult…
d5k9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,34 +1,27 @@ | ||
| name: Continuous Integration | ||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| pull_request: | ||
| on: [push, pull_request] | ||
|
|
||
| jobs: | ||
| test: | ||
| name: Test | ||
| runs-on: ${{ matrix.os }} | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: [ubuntu-latest, macos-latest, windows-latest] | ||
| node-version: [lts/*, lts/-1, lts/-2] | ||
| timeout-minutes: 15 | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout project | ||
| uses: actions/checkout@v2 | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v3 | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: ${{ matrix.node-version }} | ||
| check-latest: true | ||
| cache: 'npm' | ||
| node-version: "lts/*" | ||
| cache: "npm" | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Install Playwright dependencies | ||
| run: npx playwright install --with-deps chromium | ||
|
|
||
| - name: Run tests | ||
| run: npm test | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentional for now. The matrix was trimmed to keep the ESM-migration POC CI fast — the new browser/Playwright project adds significant time, and running it across Windows/macOS multiplies that. The OS/Node matrix should be restored before a real (non-POC) release.