Skip to content

Add experimental Chicory blue-quickjs WASM runtime#1

Merged
piotr-blue merged 17 commits into
mainfrom
cursor/chicory-blue-quickjs-runtime-1606
May 14, 2026
Merged

Add experimental Chicory blue-quickjs WASM runtime#1
piotr-blue merged 17 commits into
mainfrom
cursor/chicory-blue-quickjs-runtime-1606

Conversation

@kgruszka
Copy link
Copy Markdown
Contributor

@kgruszka kgruszka commented May 12, 2026

Summary

  • Adds optional Java 11+ quickjs-chicory module using Chicory to execute the canonical blue-quickjs wasm32 release artifact.
  • Keeps the root/core Java 8 runtime unchanged and adds processor options for runtime injection.
  • Implements artifact integrity checks, Host.v1 manifest/resource pinning, deterministic DV codec, source/result helpers, Host.v1 dispatcher, Chicory runtime, parity/workflow/smoke/stress tests, and validation docs.
  • Splits CI validation into a Java 8 core job and a Java 17 full/Chicory job; documents the experimental module in the README.

Validation

  • ./gradlew clean test -Dblue.quickjs.root=/tmp/blue-quickjs -PblueQuickJsRoot=/tmp/blue-quickjs (BUILD SUCCESSFUL in 1m 40s on latest full clean run)
  • ./gradlew :clean :test -Dblue.quickjs.root=/tmp/blue-quickjs
  • ./gradlew :quickjs-chicory:test -PblueQuickJsRoot=/tmp/blue-quickjs -Dblue.quickjs.root=/tmp/blue-quickjs
  • ./gradlew :quickjs-chicory:test --tests '*ChicoryVsNodeParityTest' -Dblue.quickjs.root=/tmp/blue-quickjs
  • ./gradlew :quickjs-chicory:test --tests '*ChicoryForbiddenSurfaceTest' --tests '*ChicoryOutOfGasTest' -Dblue.quickjs.root=/tmp/blue-quickjs
  • ./gradlew :quickjs-chicory:test --tests '*ChicoryCounterSnapshotRoundTripStressTest' -Dblue.quickjs.root=/tmp/blue-quickjs
  • ./gradlew :quickjs-chicory:test --tests '*LambdaPackagingSmokeTest' -PblueQuickJsRoot=/tmp/blue-quickjs
  • PATH=/usr/bin:/bin ./gradlew :quickjs-chicory:test --tests '*ChicoryBlueQuickJsRuntimeSmokeTest' -PblueQuickJsRoot=/tmp/blue-quickjs
  • ./gradlew :quickjs-chicory:clean :quickjs-chicory:jar -PblueQuickJsRoot=/tmp/blue-quickjs
  • ./gradlew :quickjs-chicory:dependencies --configuration runtimeClasspath
  • Workflow YAML parse check for .github/workflows/build.yml and .github/workflows/release.yml

Notes

  • Docker is unavailable in this VM, so Lambda Java 17/21 container smoke tests are documented as environment-limited.
  • The local blue-quickjs checkout is /tmp/blue-quickjs because /blue-quickjs is not writable in this container.
Open in Web Open in Cursor 

piotr-blue and others added 17 commits May 12, 2026 21:44
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
Co-authored-by: Kamil Gruszka <kgruszka@users.noreply.github.com>
@piotr-blue piotr-blue marked this pull request as ready for review May 14, 2026 00:43
@piotr-blue piotr-blue merged commit cab3727 into main May 14, 2026
1 of 2 checks passed
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.

2 participants