Fix JSON Schema object scope intersections #18214
check.yml
on: pull_request
Lint
46s
Types
1m 52s
Build
1m 32s
Types on Deno
1m 54s
Bundle
3m 16s
Test on Bun
41s
Documentation Tests
1m 23s
AI Documentation Generation
39s
Circular Dependencies
38s
Matrix: Test
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
|
|