Skip to content

Fix JSON Schema object scope intersections #18214

Fix JSON Schema object scope intersections

Fix JSON Schema object scope intersections #18214

Triggered via pull request August 18, 2026 08:47
Status Failure
Total duration 6m 17s
Artifacts 1

check.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 21 warnings
Test (2/2, Node)
Process completed with exit code 1.
[effect] test/schema/representation/toCodeDocument.test.ts > toCodeDocument > allOf > should resolve references in definitions: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { artifacts: [], codes: [ { Type: 'A', ... code: { + Type: 'never', + runtime: 'Schema.Never.annotate({ "identifier": "A" })' - Type: '{ readonly "b": number, readonly "a": string }', - runtime: 'Schema.Struct({ "b": Schema.Number.check(Schema.isFinite()), "a": Schema.String }).annotate({ "identifier": "A" })' } } ], recursives: {} } - Expected + Received @@ -9,12 +9,12 @@ "references": { "nonRecursives": [ { "$ref": "A", "code": { - "Type": "{ readonly \"b\": number, readonly \"a\": string }", - "runtime": "Schema.Struct({ \"b\": Schema.Number.check(Schema.isFinite()), \"a\": Schema.String }).annotate({ \"identifier\": \"A\" })", + "Type": "never", + "runtime": "Schema.Never.annotate({ \"identifier\": \"A\" })", }, }, ], "recursives": {}, }, ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertMultiDocument test/schema/representation/toCodeDocument.test.ts:64:5 ❯ assertJsonSchema test/schema/representation/toCodeDocument.test.ts:56:5 ❯ test/schema/representation/toCodeDocument.test.ts:1815:7
Test (2/2, Deno)
Process completed with exit code 1.
[effect] test/schema/representation/toCodeDocument.test.ts > toCodeDocument > allOf > should resolve references in definitions: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { artifacts: [], codes: [ { Type: 'A', ... code: { + Type: 'never', + runtime: 'Schema.Never.annotate({ "identifier": "A" })' - Type: '{ readonly "b": number, readonly "a": string }', - runtime: 'Schema.Struct({ "b": Schema.Number.check(Schema.isFinite()), "a": Schema.String }).annotate({ "identifier": "A" })' } } ], recursives: {} } - Expected + Received @@ -9,12 +9,12 @@ "references": { "nonRecursives": [ { "$ref": "A", "code": { - "Type": "{ readonly \"b\": number, readonly \"a\": string }", - "runtime": "Schema.Struct({ \"b\": Schema.Number.check(Schema.isFinite()), \"a\": Schema.String }).annotate({ \"identifier\": \"A\" })", + "Type": "never", + "runtime": "Schema.Never.annotate({ \"identifier\": \"A\" })", }, }, ], "recursives": {}, }, ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertMultiDocument test/schema/representation/toCodeDocument.test.ts:64:5 ❯ assertJsonSchema test/schema/representation/toCodeDocument.test.ts:56:5 ❯ test/schema/representation/toCodeDocument.test.ts:1815:7
Types: packages/platform/node/src/NodeWorker.ts#L56
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Build
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Build: packages/platform/node/src/NodeWorker.ts#L56
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Bundle
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)
Bundle: packages/platform/node/src/NodeWorker.ts#L56
The Effect success channel contains a Promise that is not awaited. Use Effect.promise or Effect.tryPromise to represent async work. effect(promiseInEffectSuccess)

Artifacts

Produced during runtime
Name Size Digest
bundle-stats
676 Bytes
sha256:73d2a7dc55128d813c93ff3c564d9cc70f94d3d257fa6852513a3298e6126247