Add WebAssembly acceleration via AssemblyScript#263
Conversation
Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
adblock-compiler | d0f887b | Feb 05 2026, 04:10 AM |
Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com>
Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com>
jaypatrick
left a comment
There was a problem hiding this comment.
Please ensure all CI and workflow tasks work properly
…ng issues Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com>
All CI and workflow tasks have been fixed and verified: ✅ Linting - Fixed unused variable errors (assembly/wildcard.ts, src/wasm/loader.test.ts) The CI workflow now:
Commit: 2474dc4 |
jaypatrick
left a comment
There was a problem hiding this comment.
Fix all CI and workflow errors
…rd logic Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com>
Fixed all CI and workflow errors: Issues Found and Fixed:
Test Corrections:
CI Status - ALL PASSING: Commit: 819318f |
jaypatrick
left a comment
There was a problem hiding this comment.
Fix this cloudflare error 2 Detected the following tools from environment: npm@10.9.2, nodejs@22.16.0
21:37:35.043 Restoring from dependencies cache
21:37:35.047 Restoring from build output cache
21:37:36.520 Success: Dependencies restored from build cache.
21:37:36.522 Installing project dependencies: npm clean-install --progress=false
21:37:38.629 npm error code EUSAGE
21:37:38.629 npm error
21:37:38.629 npm error npm ci can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with npm install before continuing.
21:37:38.629 npm error
21:37:38.629 npm error Missing: @types/node@22.19.8 from lock file
21:37:38.629 npm error Missing: undici-types@6.21.0 from lock file
21:37:38.629 npm error
21:37:38.629 npm error Clean install a project
21:37:38.629 npm error
21:37:38.629 npm error Usage:
21:37:38.629 npm error npm ci
21:37:38.629 npm error
21:37:38.629 npm error Options:
21:37:38.630 npm error [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
21:37:38.630 npm error [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
21:37:38.630 npm error [--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
|
@copilot fix this build error |
Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com>
Fixed Cloudflare deployment error: Issue:
Solution: Ran Verification: Commit: 35652e0 |
This error was already fixed in commit 35652e0. The package-lock.json has been synced with package.json and includes both If you're still seeing this error, it may be due to:
Verified: Commit: 35652e0 (already applied) |
jaypatrick
left a comment
There was a problem hiding this comment.
Looks good. Stand by for further integration testing before commit and deployment.
|
@copilot fix the error |
The latest CI run (21697272669) shows all checks passing with conclusion "success". Could you please specify which error you're referring to? Current status:
If you're seeing a specific error message or failure, please share the details so I can address it. |
|
@copilot Bump version to 0.12.0 |
Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com>
Add WebAssembly Support via AssemblyScript
This PR adds WebAssembly support to adblock-compiler using AssemblyScript for performance-critical operations.
✅ Implementation Complete - Version 0.12.0
🎯 Features Delivered
✅ WASM Infrastructure
✅ WASM Functions Implemented
plainMatch- Case-insensitive substring searchwildcardMatch- Wildcard pattern matching with *isRegexPattern- Regex pattern detectionhasWildcard- Wildcard detectionhashString- DJB2 hash for deduplicationstringEquals- Case-sensitive comparisonstringEqualsIgnoreCase- Case-insensitive comparison✅ WasmWildcard Class
usingWasmproperty for debugging✅ CI Integration - ALL TESTS PASSING
🐛 Bugs Fixed
Cloudflare Deployment:
npm cierror by syncing package-lock.json with package.json@types/node@22.19.8andundici-types@6.21.0to lock fileWasmWildcard Logic Issues:
Test Corrections:
*.example.comdoes NOT matchexample.com(requires at least one character before the dot)*test*example*does NOT matchexample test(parts must appear in order)📦 Build Commands
💡 Usage Example
🚀 Performance Targets
✨ Key Features
📁 Version Bump (This Commit)
Updated version to 0.12.0 in:
package.jsonpackage-lock.jsondeno.jsonsrc/version.tsAll tests passing: 964 passed | 0 failed | 50 ignored
Ready for deployment: v0.12.0 ✅
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.