Skip to content

Major revamp of the Playground #277

Major revamp of the Playground

Major revamp of the Playground #277

Triggered via pull request April 30, 2026 21:41
@tstirrat15tstirrat15
synchronize #138
new-play
Status Failure
Total duration 3m 0s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
src/spicedb-common/validationfileformat.test.ts > parsing validation YAML > returns properly for invalid validation: src/spicedb-common/validationfileformat.test.ts#L94
AssertionError: expected ZodError: [ { "expected": "record",… { …(8) } to deeply equal { Object (message) } - Expected + Received - Object { - "message": "data/validation must be object,null", - } + [ZodError: [ + { + "expected": "record", + "code": "invalid_type", + "path": [ + "validation" + ], + "message": "Invalid input: expected record, received string" + } + ]] ❯ src/spicedb-common/validationfileformat.test.ts:94:7
src/spicedb-common/validationfileformat.test.ts > parsing validation YAML > returns properly for invalid assertions list: src/spicedb-common/validationfileformat.test.ts#L85
AssertionError: expected ZodError: [ { "expected": "object",… { …(8) } to deeply equal { Object (message) } - Expected + Received - Object { - "message": "data/assertions must be object,null", - } + [ZodError: [ + { + "expected": "object", + "code": "invalid_type", + "path": [ + "assertions" + ], + "message": "Invalid input: expected object, received array" + } + ]] ❯ src/spicedb-common/validationfileformat.test.ts:85:7
src/spicedb-common/validationfileformat.test.ts > parsing validation YAML > returns properly for invalid assertions: src/spicedb-common/validationfileformat.test.ts#L76
AssertionError: expected ZodError: [ { "expected": "object",… { …(8) } to deeply equal { Object (message) } - Expected + Received - Object { - "message": "data/assertions must be object,null", - } + [ZodError: [ + { + "expected": "object", + "code": "invalid_type", + "path": [ + "assertions" + ], + "message": "Invalid input: expected object, received string" + } + ]] ❯ src/spicedb-common/validationfileformat.test.ts:76:7
src/spicedb-common/validationfileformat.test.ts > parsing validation YAML > returns properly for null validation: src/spicedb-common/validationfileformat.test.ts#L58
AssertionError: expected ZodError: [ { "expected": "record",… { …(8) } to have property "schema" ❯ src/spicedb-common/validationfileformat.test.ts:58:7
src/spicedb-common/validationfileformat.test.ts > parsing validation YAML > returns properly for null assertions: src/spicedb-common/validationfileformat.test.ts#L40
AssertionError: expected ZodError: [ { "expected": "object",… { …(8) } to have property "schema" ❯ src/spicedb-common/validationfileformat.test.ts:40:7
src/spicedb-common/validationfileformat.test.ts > parsing validation YAML > returns undefined for a file missing relationships: src/spicedb-common/validationfileformat.test.ts#L29
AssertionError: expected ZodError: [ { "expected": "string",… { …(8) } to deeply equal { Object (message) } - Expected + Received - Object { - "message": "data/relationships must be string", - } + [ZodError: [ + { + "expected": "string", + "code": "invalid_type", + "path": [ + "relationships" + ], + "message": "Invalid input: expected string, received null" + } + ]] ❯ src/spicedb-common/validationfileformat.test.ts:29:7
src/spicedb-common/validationfileformat.test.ts > parsing validation YAML > returns undefined for a file missing schema: src/spicedb-common/validationfileformat.test.ts#L19
AssertionError: expected ZodError: [ { "expected": "string",… { …(8) } to deeply equal { Object (message) } - Expected + Received - Object { - "message": "data must have required property 'relationships'", - } + [ZodError: [ + { + "expected": "string", + "code": "invalid_type", + "path": [ + "schema" + ], + "message": "Invalid input: expected string, received null" + }, + { + "expected": "string", + "code": "invalid_type", + "path": [ + "relationships" + ], + "message": "Invalid input: expected string, received undefined" + } + ]] ❯ src/spicedb-common/validationfileformat.test.ts:19:49
src/spicedb-common/validationfileformat.test.ts > parsing validation YAML > returns undefined for an invalid file: src/spicedb-common/validationfileformat.test.ts#L13
AssertionError: expected ZodError: [ { "expected": "object",… { …(8) } to deeply equal { message: 'data must be object' } - Expected + Received - Object { - "message": "data must be object", - } + [ZodError: [ + { + "expected": "object", + "code": "invalid_type", + "path": [], + "message": "Invalid input: expected object, received string" + } + ]] ❯ src/spicedb-common/validationfileformat.test.ts:13:46
src/spicedb-common/validationfileformat.test.ts > parsing validation YAML > returns undefined for an empty file: src/spicedb-common/validationfileformat.test.ts#L7
AssertionError: expected ZodError: [ { "expected": "object",… { …(8) } to deeply equal { message: 'data must be object' } - Expected + Received - Object { - "message": "data must be object", - } + [ZodError: [ + { + "expected": "object", + "code": "invalid_type", + "path": [], + "message": "Invalid input: expected object, received null" + } + ]] ❯ src/spicedb-common/validationfileformat.test.ts:7:37
src/services/checkwatchstorage.test.ts > checkwatchstorage > filters out malformed entries: src/services/checkwatchstorage.test.ts#L44
AssertionError: expected [] to deeply equal [ …(2) ] - Expected + Received - Array [ - Object { - "action": "view", - "object": "document:foo", - "subject": "user:alice", - }, - Object { - "action": "edit", - "context": "default:{}", - "object": "document:baz", - "subject": "user:carol", - }, - ] + Array [] ❯ src/services/checkwatchstorage.test.ts:44:33