Skip to content

feat: add schema-only branch option #440

feat: add schema-only branch option

feat: add schema-only branch option #440

Triggered via pull request February 5, 2025 11:41
Status Failure
Total duration 52s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
src/commands/branches.test.ts > branches > create schema-only branch: src/test_utils/fixtures.ts#L103
Error: Snapshot `branches > create schema-only branch 1` mismatched ❯ ChildProcess.<anonymous> src/test_utils/fixtures.ts:103:28 ❯ ChildProcess.emit node:events:518:28
src/commands/branches.test.ts > branches > create schema-only branch fails without compute: src/test_utils/fixtures.ts#L33
Error: ENOENT: no such file or directory, scandir '/home/runner/work/neonctl/neonctl/mocks/POST_schema_only_no_compute' ❯ readdirSync node:fs:1508:26 ❯ bindProcessors node_modules/emocks/dist/index.js:27:9 ❯ bindAll node_modules/emocks/dist/index.js:81:9 ❯ Proxy.emocks node_modules/emocks/dist/index.js:88:5 ❯ src/test_utils/fixtures.ts:33:9 ❯ src/test_utils/fixtures.ts:62:28 ❯ src/commands/branches.test.ts:172:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'scandir', path: '/home/runner/work/neonctl/neonctl/mocks/POST_schema_only_no_compute' }
src/commands/branches.test.ts > branches > create schema-only branch fails without compute: src/test_utils/fixtures.ts#L51
TypeError: Cannot read properties of undefined (reading 'close') ❯ src/test_utils/fixtures.ts:51:14 ❯ runMockServer src/test_utils/fixtures.ts:50:11
src/commands/branches.test.ts > branches > create schema-only branch fails with read-only compute: src/test_utils/fixtures.ts#L33
Error: ENOENT: no such file or directory, scandir '/home/runner/work/neonctl/neonctl/mocks/POST_schema_only_readonly' ❯ readdirSync node:fs:1508:26 ❯ bindProcessors node_modules/emocks/dist/index.js:27:9 ❯ bindAll node_modules/emocks/dist/index.js:81:9 ❯ Proxy.emocks node_modules/emocks/dist/index.js:88:5 ❯ src/test_utils/fixtures.ts:33:9 ❯ src/test_utils/fixtures.ts:62:28 ❯ src/commands/branches.test.ts:194:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'scandir', path: '/home/runner/work/neonctl/neonctl/mocks/POST_schema_only_readonly' }
src/commands/branches.test.ts > branches > create schema-only branch fails with read-only compute: src/test_utils/fixtures.ts#L51
TypeError: Cannot read properties of undefined (reading 'close') ❯ src/test_utils/fixtures.ts:51:14 ❯ runMockServer src/test_utils/fixtures.ts:50:11
build
Process completed with exit code 1.