Skip to content

fix: tighten actor.json version regex to match platform admission #5426

fix: tighten actor.json version regex to match platform admission

fix: tighten actor.json version regex to match platform admission #5426

Triggered via pull request June 21, 2026 23:36
Status Failure
Total duration 55s
Artifacts

test_and_release.yaml

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

Annotations

28 errors and 6 warnings
Test (22)
Process completed with exit code 1.
test/actor_schema.test.ts > actor.json > invalid schemas > should not allow both dataset and datasets: test/actor_schema.test.ts#L287
AssertionError: expected [ { instancePath: '/version', …(4) } ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "message": "must NOT be valid", } + Received: [ { "instancePath": "/version", "keyword": "pattern", "message": "must match pattern \"^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$\"", "params": { "pattern": "^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$", }, "schemaPath": "#/properties/version/pattern", }, ] ❯ test/actor_schema.test.ts:287:38
test/actor_schema.test.ts > actor.json > invalid schemas > should require default dataset: test/actor_schema.test.ts#L255
AssertionError: expected [ { instancePath: '/version', …(4) } ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "message": "must have required property 'default'", } + Received: [ { "instancePath": "/version", "keyword": "pattern", "message": "must match pattern \"^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$\"", "params": { "pattern": "^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$", }, "schemaPath": "#/properties/version/pattern", }, ] ❯ test/actor_schema.test.ts:255:38
test/actor_schema.test.ts > actor.json > invalid schemas > should support multiple datasets: test/actor_schema.test.ts#L235
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/actor_schema.test.ts:235:29
test/actor_schema.test.ts > actor.json > invalid schemas > should not validate with invalid memory values: test/actor_schema.test.ts#L202
AssertionError: expected [ { instancePath: '/version', …(4) } ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "keyword": "minimum", "params": ObjectContaining { "comparison": ">=", "limit": 128, }, } + Received: [ { "instancePath": "/version", "keyword": "pattern", "message": "must match pattern \"^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$\"", "params": { "pattern": "^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$", }, "schemaPath": "#/properties/version/pattern", }, ] ❯ test/actor_schema.test.ts:202:38
test/actor_schema.test.ts > actor.json > invalid schemas > should not validate with invalid version format: test/actor_schema.test.ts#L181
AssertionError: expected [ { instancePath: '/version', …(4) } ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "keyword": "pattern", "params": ObjectContaining { "pattern": "^([0-9]+)\\.([0-9]+)(\\.[0-9]+){0,1}$", }, } + Received: [ { "instancePath": "/version", "keyword": "pattern", "message": "must match pattern \"^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$\"", "params": { "pattern": "^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$", }, "schemaPath": "#/properties/version/pattern", }, ] ❯ test/actor_schema.test.ts:181:38
test/actor_schema.test.ts > actor.json > valid schemas > should validate with string references: test/actor_schema.test.ts#L128
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/actor_schema.test.ts:128:29
test/actor_schema.test.ts > actor.json > valid schemas > should validate a complete valid schema: test/actor_schema.test.ts#L108
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/actor_schema.test.ts:108:29
test/actor_schema.test.ts > actor.json > valid schemas > should validate a minimal valid schema: test/actor_schema.test.ts#L17
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/actor_schema.test.ts:17:29
Test (24)
Process completed with exit code 1.
test/actor_schema.test.ts > actor.json > invalid schemas > should not allow both dataset and datasets: test/actor_schema.test.ts#L287
AssertionError: expected [ { instancePath: '/version', …(4) } ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "message": "must NOT be valid", } + Received: [ { "instancePath": "/version", "keyword": "pattern", "message": "must match pattern \"^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$\"", "params": { "pattern": "^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$", }, "schemaPath": "#/properties/version/pattern", }, ] ❯ test/actor_schema.test.ts:287:38
test/actor_schema.test.ts > actor.json > invalid schemas > should require default dataset: test/actor_schema.test.ts#L255
AssertionError: expected [ { instancePath: '/version', …(4) } ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "message": "must have required property 'default'", } + Received: [ { "instancePath": "/version", "keyword": "pattern", "message": "must match pattern \"^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$\"", "params": { "pattern": "^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$", }, "schemaPath": "#/properties/version/pattern", }, ] ❯ test/actor_schema.test.ts:255:38
test/actor_schema.test.ts > actor.json > invalid schemas > should support multiple datasets: test/actor_schema.test.ts#L235
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/actor_schema.test.ts:235:29
test/actor_schema.test.ts > actor.json > invalid schemas > should not validate with invalid memory values: test/actor_schema.test.ts#L202
AssertionError: expected [ { instancePath: '/version', …(4) } ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "keyword": "minimum", "params": ObjectContaining { "comparison": ">=", "limit": 128, }, } + Received: [ { "instancePath": "/version", "keyword": "pattern", "message": "must match pattern \"^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$\"", "params": { "pattern": "^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$", }, "schemaPath": "#/properties/version/pattern", }, ] ❯ test/actor_schema.test.ts:202:38
test/actor_schema.test.ts > actor.json > invalid schemas > should not validate with invalid version format: test/actor_schema.test.ts#L181
AssertionError: expected [ { instancePath: '/version', …(4) } ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "keyword": "pattern", "params": ObjectContaining { "pattern": "^([0-9]+)\\.([0-9]+)(\\.[0-9]+){0,1}$", }, } + Received: [ { "instancePath": "/version", "keyword": "pattern", "message": "must match pattern \"^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$\"", "params": { "pattern": "^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$", }, "schemaPath": "#/properties/version/pattern", }, ] ❯ test/actor_schema.test.ts:181:38
test/actor_schema.test.ts > actor.json > valid schemas > should validate with string references: test/actor_schema.test.ts#L128
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/actor_schema.test.ts:128:29
test/actor_schema.test.ts > actor.json > valid schemas > should validate a complete valid schema: test/actor_schema.test.ts#L108
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/actor_schema.test.ts:108:29
test/actor_schema.test.ts > actor.json > valid schemas > should validate a minimal valid schema: test/actor_schema.test.ts#L17
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/actor_schema.test.ts:17:29
Test (20)
Process completed with exit code 1.
test/actor_schema.test.ts > actor.json > invalid schemas > should not allow both dataset and datasets: test/actor_schema.test.ts#L287
AssertionError: expected [ { instancePath: '/version', …(4) } ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "message": "must NOT be valid", } + Received: [ { "instancePath": "/version", "keyword": "pattern", "message": "must match pattern \"^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$\"", "params": { "pattern": "^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$", }, "schemaPath": "#/properties/version/pattern", }, ] ❯ test/actor_schema.test.ts:287:38
test/actor_schema.test.ts > actor.json > invalid schemas > should require default dataset: test/actor_schema.test.ts#L255
AssertionError: expected [ { instancePath: '/version', …(4) } ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "message": "must have required property 'default'", } + Received: [ { "instancePath": "/version", "keyword": "pattern", "message": "must match pattern \"^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$\"", "params": { "pattern": "^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$", }, "schemaPath": "#/properties/version/pattern", }, ] ❯ test/actor_schema.test.ts:255:38
test/actor_schema.test.ts > actor.json > invalid schemas > should support multiple datasets: test/actor_schema.test.ts#L235
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/actor_schema.test.ts:235:29
test/actor_schema.test.ts > actor.json > invalid schemas > should not validate with invalid memory values: test/actor_schema.test.ts#L202
AssertionError: expected [ { instancePath: '/version', …(4) } ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "keyword": "minimum", "params": ObjectContaining { "comparison": ">=", "limit": 128, }, } + Received: [ { "instancePath": "/version", "keyword": "pattern", "message": "must match pattern \"^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$\"", "params": { "pattern": "^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$", }, "schemaPath": "#/properties/version/pattern", }, ] ❯ test/actor_schema.test.ts:202:38
test/actor_schema.test.ts > actor.json > invalid schemas > should not validate with invalid version format: test/actor_schema.test.ts#L181
AssertionError: expected [ { instancePath: '/version', …(4) } ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "keyword": "pattern", "params": ObjectContaining { "pattern": "^([0-9]+)\\.([0-9]+)(\\.[0-9]+){0,1}$", }, } + Received: [ { "instancePath": "/version", "keyword": "pattern", "message": "must match pattern \"^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$\"", "params": { "pattern": "^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])$", }, "schemaPath": "#/properties/version/pattern", }, ] ❯ test/actor_schema.test.ts:181:38
test/actor_schema.test.ts > actor.json > valid schemas > should validate with string references: test/actor_schema.test.ts#L128
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/actor_schema.test.ts:128:29
test/actor_schema.test.ts > actor.json > valid schemas > should validate a complete valid schema: test/actor_schema.test.ts#L108
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/actor_schema.test.ts:108:29
test/actor_schema.test.ts > actor.json > valid schemas > should validate a minimal valid schema: test/actor_schema.test.ts#L17
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/actor_schema.test.ts:17:29
Build
Process completed with exit code 1.
Format check
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (22)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (24)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (20)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/