Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
# Owns the rev derivation, the rev-keyed tools cache, the
# install, and the pins gate; conformance-ct::_ct-tools
# recognizes the stamped install and does not repeat it.
uses: polymorph-components/polymorph-test/actions/setup@4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b
uses: polymorph-components/polymorph-test/actions/setup@b4444a25a22106ad4128549bdc9e579552e62210
with:
js-locks: |
conformance/driver-ct/jco/package-lock.json
Expand Down Expand Up @@ -493,7 +493,7 @@ jobs:
save-if: false

- name: Install the component-test tools at the pinned revision
uses: polymorph-components/polymorph-test/actions/setup@4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b
uses: polymorph-components/polymorph-test/actions/setup@b4444a25a22106ad4128549bdc9e579552e62210
with:
js-locks: |
conformance/driver-ct/jco/package-lock.json
Expand Down Expand Up @@ -532,7 +532,7 @@ jobs:
# input polices the `uses:` refs against the pin.
- name: Publish the conformance matrix
if: always() && hashFiles('conformance/driver-ct/results/*.jsonl') != ''
uses: polymorph-components/polymorph-test/actions/aggregate@4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b
uses: polymorph-components/polymorph-test/actions/aggregate@b4444a25a22106ad4128549bdc9e579552e62210
with:
lock: conformance/guest-ct/tests.lock
manifest: conformance/driver-ct/targets.toml
Expand All @@ -551,7 +551,7 @@ jobs:

- name: Publish the signing conformance matrix
if: always() && hashFiles('conformance/driver-ct/results/*.jsonl') != ''
uses: polymorph-components/polymorph-test/actions/aggregate@4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b
uses: polymorph-components/polymorph-test/actions/aggregate@b4444a25a22106ad4128549bdc9e579552e62210
with:
lock: conformance/signing-guest-ct/tests.lock
manifest: conformance/driver-ct/targets-signing.toml
Expand Down
15 changes: 8 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ resolver = "2"
# override — see AGENTS.md "Build & run". Publishing component-test
# to a registry retires this arrangement.
[workspace.dependencies]
component-test-sdk = { git = "https://github.com/polymorph-components/polymorph-test", rev = "4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" }
component-test-runner = { git = "https://github.com/polymorph-components/polymorph-test", rev = "4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" }
component-test-sdk = { git = "https://github.com/polymorph-components/polymorph-test", rev = "b4444a25a22106ad4128549bdc9e579552e62210" }
component-test-runner = { git = "https://github.com/polymorph-components/polymorph-test", rev = "b4444a25a22106ad4128549bdc9e579552e62210" }

# The mutation run's profile (`just mutants`): dependencies optimized —
# wasmtime and the RustCrypto cores are compiled once, at baseline, and make
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ jco (transpile-based) — and an in-guest wasm component
[`polymorph:webrtc-datachannels`](https://github.com/polymorph-components/polymorph-webrtc-datachannels),
following the same architecture.

## Releases

Everything here is **unstable** (0.x), but [releases](../../releases) are
**caret-honest**: within a minor line they stay backward-compatible, and
anything breaking bumps the minor. Consumption is pinned at a release's
commit — cargo git dependencies, vendored WIT, the release-pinned
deltic/JSR graph — and bumped deliberately.

## Design

The package ([`wit/`](wit/), documented in
Expand Down
4 changes: 2 additions & 2 deletions conformance/driver-ct/deltic/browser-bundle-entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
export * from "@deltic/runtime/embedder";
export { Translator } from "@deltic/runtime/shim";
export * from "@deltic/ct-runner";
export { wasiShims } from "@deltic/wasi-shims";
export type { WasiShims, WasiShimsOptions } from "@deltic/wasi-shims";
export { wasi } from "@deltic/wasi";
export type { WasiImports, WasiOptions } from "@deltic/wasi";
12 changes: 6 additions & 6 deletions conformance/driver-ct/deltic/deno.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"//": "MODULE-IDENTITY CONSTRAINT: deltic's wasi-shims module imports @deltic/runtime/embedder by bare specifier internally. The @deltic/runtime/embedder entry here must map to the IDENTICAL exact-pinned JSR version as ../../../js/deltic/deno.json's entry, or the embedder module loads twice and `instanceof ComponentException` stops holding across the module boundary. The hash names one upstream commit; deno.lock carries integrity, --frozen enforced; the pin gate (just conformance-ct::deltic-pin-check) asserts one @deltic version repo-wide.",
"//": "MODULE-IDENTITY CONSTRAINT: deltic's wasi module imports @deltic/runtime/embedder by bare specifier internally. The @deltic/runtime/embedder entry here must map to the IDENTICAL exact-pinned JSR version as ../../../js/deltic/deno.json's entry, or the embedder module loads twice and `instanceof ComponentException` stops holding across the module boundary. deltic ships as exact-pinned JSR releases (caret-honest upstream: within a minor line releases stay compatible, breaking bumps the minor; between releases, per-commit `<next>-pre.g<hash>` prereleases exist — pin exactly); deno.lock carries integrity, --frozen enforced; the pin gate (just conformance-ct::deltic-pin-check) asserts one @deltic version repo-wide.",
"imports": {
"@deltic/ct-runner": "jsr:@deltic/ct-runner@0.1.0-pre.ga2f84a5",
"@deltic/runtime/embedder": "jsr:@deltic/runtime@0.1.0-pre.ga2f84a5/embedder",
"@deltic/runtime/shim": "jsr:@deltic/runtime@0.1.0-pre.ga2f84a5/shim",
"@deltic/wasi-shims": "jsr:@deltic/wasi-shims@0.1.0-pre.ga2f84a5",
"@deltic/translator": "jsr:@deltic/translator@0.1.0-pre.ga2f84a5",
"@deltic/ct-runner": "jsr:@deltic/ct-runner@0.1.0",
"@deltic/runtime/embedder": "jsr:@deltic/runtime@0.1.0/embedder",
"@deltic/runtime/shim": "jsr:@deltic/runtime@0.1.0/shim",
"@deltic/wasi": "jsr:@deltic/wasi@0.1.0",
"@deltic/translator": "jsr:@deltic/translator@0.1.0",
"@polymorph/component-test-js/deltic-worker-main": "./node_modules/@polymorph/component-test-js/js/runner-deltic/worker-main.mjs"
},
"minimumDependencyAge": { "age": "P1D", "exclude": ["jsr:@deltic/*"] },
Expand Down
47 changes: 20 additions & 27 deletions conformance/driver-ct/deltic/deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions conformance/driver-ct/deltic/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion conformance/driver-ct/deltic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "module",
"description": "Node driver + bundled worker inputs for the deltic-browser conformance rows: both suites runtime-linked inside headless Chromium with this repo's deltic host module, through the upstream page driver and deltic worker-main.",
"dependencies": {
"@polymorph/component-test-js": "github:polymorph-components/polymorph-test#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b",
"@polymorph/component-test-js": "github:polymorph-components/polymorph-test#b4444a25a22106ad4128549bdc9e579552e62210",
"playwright-core": "1.62.1"
}
}
8 changes: 4 additions & 4 deletions conformance/driver-ct/deltic/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// runner.mjs (jco-node) | this runner
// -------------------------------------------+--------------------------------
// transpiled `generated/` tree | translate at run time (Translator)
// `bindImports({ wasi, env: [], sut })` | `wasiShims(...)` + `webcryptoImports()`
// `bindImports({ wasi, env: [], sut })` | `wasi(...)` + `webcryptoImports()`
// `sut["polymorph:test/test-context"]` | supplied by ct-runner itself
// `--missing sha1-checked` (shared suite) | SUITES.shared.missing
// `--suite conformance-signing-guest-ct` | `--suite signing`
Expand Down Expand Up @@ -71,7 +71,7 @@
// green — per the KAT asymmetry above. When debugging any such run,
// `--fresh-cases` restores per-case containment.
//
// MODULE-IDENTITY CONSTRAINT: deltic's wasi-shims module imports
// MODULE-IDENTITY CONSTRAINT: deltic's wasi module imports
// `@deltic/runtime/embedder` by bare specifier internally; this leg's
// `deno.json` AND `js/deltic/deno.json` must map that specifier to the
// IDENTICAL exact-pinned JSR version, or the embedder module loads twice
Expand All @@ -81,7 +81,7 @@
import { Translator } from "@deltic/runtime/shim";
import type { ComponentArtifacts } from "@deltic/runtime/embedder";
import { runSuite } from "@deltic/ct-runner";
import { wasiShims } from "@deltic/wasi-shims";
import { wasi } from "@deltic/wasi";
import { defaultTranslator } from "@deltic/translator";
import { webcryptoImports } from "../../../js/deltic/src/mod.ts";

Expand Down Expand Up @@ -223,7 +223,7 @@ async function runOne(spec: SuiteSpec, cli: Cli): Promise<void> {
// `polymorph:webcrypto/*` interface from the host module under test.
// ct-runner adds `polymorph:test/test-context` itself.
const imports = {
...wasiShims({ cli: { env: {}, passthrough: false } }),
...wasi({ cli: { env: {}, passthrough: false } }),
...webcryptoImports(),
};
const out = cli.out ?? spec.out.pathname;
Expand Down
8 changes: 4 additions & 4 deletions conformance/driver-ct/jco/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion conformance/driver-ct/jco/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@bytecodealliance/jco-transpile": "0.7.0",
"@bytecodealliance/preview2-shim": "0.17.9",
"@polymorph/component-test-js": "github:polymorph-components/polymorph-test#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b",
"@polymorph/component-test-js": "github:polymorph-components/polymorph-test#b4444a25a22106ad4128549bdc9e579552e62210",
"playwright-core": "1.62.1"
}
}
8 changes: 4 additions & 4 deletions examples/jco-demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/jco-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
},
"devDependencies": {
"@bytecodealliance/jco-transpile": "0.7.0",
"@polymorph/component-test-js": "github:polymorph-components/polymorph-test#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b"
"@polymorph/component-test-js": "github:polymorph-components/polymorph-test#b4444a25a22106ad4128549bdc9e579552e62210"
}
}
8 changes: 4 additions & 4 deletions js/componentize/wpt/parity/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading