Skip to content

Schema: avoid projecting checks and annotations through artificial JSON encodings, closes #7192 #18308

Schema: avoid projecting checks and annotations through artificial JSON encodings, closes #7192

Schema: avoid projecting checks and annotations through artificial JSON encodings, closes #7192 #18308

Triggered via pull request August 19, 2026 04:41
Status Failure
Total duration 4m 50s
Artifacts 1

check.yml

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

Annotations

14 errors and 21 warnings
Test (1/2, Node)
Process completed with exit code 1.
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Literal > bigint: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected { definitions: {}, dialect: 'draft-2020-12', schema: { + description: 'a', enum: [ '1' ], type: 'string' } - Expected + Received @@ -1,9 +1,10 @@ { "definitions": {}, "dialect": "draft-2020-12", "schema": { + "description": "a", "enum": [ "1", ], "type": "string", }, ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3 ❯ test/schema/toJsonSchemaDocument.test.ts:1776:7
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > ObjectKeyword: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { definitions: {}, dialect: 'draft-2020-12', schema: { anyOf: [ ... ], + description: 'a' } } - Expected + Received @@ -8,7 +8,8 @@ }, { "type": "object", }, ], + "description": "a", }, } ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3 ❯ test/schema/toJsonSchemaDocument.test.ts:1682:5
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Number > Number: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { definitions: {}, dialect: 'draft-2020-12', schema: { anyOf: [ ... ], + description: 'a' } } - Expected + Received @@ -13,7 +13,8 @@ "NaN", ], "type": "string", }, ], + "description": "a", }, } ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3 ❯ test/schema/toJsonSchemaDocument.test.ts:1415:7
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Undefined: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected { definitions: {}, dialect: 'draft-2020-12', schema: { + description: 'a', type: 'null' } } - Expected + Received { "definitions": {}, "dialect": "draft-2020-12", "schema": { + "description": "a", "type": "null", }, } ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3 ❯ test/schema/toJsonSchemaDocument.test.ts:822:5
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Void: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected { definitions: {}, dialect: 'draft-2020-12', schema: { + description: 'a', type: 'null' } } - Expected + Received { "definitions": {}, "dialect": "draft-2020-12", "schema": { + "description": "a", "type": "null", }, } ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3 ❯ test/schema/toJsonSchemaDocument.test.ts:802:5
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Unknown: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected { definitions: {}, dialect: 'draft-2020-12', + schema: { + description: 'a' + } - schema: {} } - Expected + Received { "definitions": {}, "dialect": "draft-2020-12", - "schema": {}, + "schema": { + "description": "a", + }, } ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3 ❯ test/schema/toJsonSchemaDocument.test.ts:784:5
Test (1/2, Deno)
Process completed with exit code 1.
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Literal > bigint: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected { definitions: {}, dialect: 'draft-2020-12', schema: { + description: 'a', enum: [ '1' ], type: 'string' } - Expected + Received @@ -1,9 +1,10 @@ { "definitions": {}, "dialect": "draft-2020-12", "schema": { + "description": "a", "enum": [ "1", ], "type": "string", }, ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3 ❯ test/schema/toJsonSchemaDocument.test.ts:1776:7
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > ObjectKeyword: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { definitions: {}, dialect: 'draft-2020-12', schema: { anyOf: [ ... ], + description: 'a' } } - Expected + Received @@ -8,7 +8,8 @@ }, { "type": "object", }, ], + "description": "a", }, } ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3 ❯ test/schema/toJsonSchemaDocument.test.ts:1682:5
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Number > Number: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected ... Skipped lines { definitions: {}, dialect: 'draft-2020-12', schema: { anyOf: [ ... ], + description: 'a' } } - Expected + Received @@ -13,7 +13,8 @@ "NaN", ], "type": "string", }, ], + "description": "a", }, } ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3 ❯ test/schema/toJsonSchemaDocument.test.ts:1415:7
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Undefined: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected { definitions: {}, dialect: 'draft-2020-12', schema: { + description: 'a', type: 'null' } } - Expected + Received { "definitions": {}, "dialect": "draft-2020-12", "schema": { + "description": "a", "type": "null", }, } ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3 ❯ test/schema/toJsonSchemaDocument.test.ts:822:5
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Void: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected { definitions: {}, dialect: 'draft-2020-12', schema: { + description: 'a', type: 'null' } } - Expected + Received { "definitions": {}, "dialect": "draft-2020-12", "schema": { + "description": "a", "type": "null", }, } ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3 ❯ test/schema/toJsonSchemaDocument.test.ts:802:5
[effect] test/schema/toJsonSchemaDocument.test.ts > toJsonSchemaDocument > Unknown: packages/effect/test/utils/assert.ts#L19
AssertionError: Expected values to be strictly deep-equal: + actual - expected { definitions: {}, dialect: 'draft-2020-12', + schema: { + description: 'a' + } - schema: {} } - Expected + Received { "definitions": {}, "dialect": "draft-2020-12", - "schema": {}, + "schema": { + "description": "a", + }, } ❯ deepStrictEqual test/utils/assert.ts:19:12 ❯ assertJsonSchemaDocument test/schema/toJsonSchemaDocument.test.ts:33:3 ❯ test/schema/toJsonSchemaDocument.test.ts:784:5
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
723 Bytes
sha256:2279ac65f0a4b5ef8502726841182c8e5a89799c69d286dfd3e23624bc5073b6