Skip to content

feat(tests): Comprehensive test suite optimization and integration te… #3

feat(tests): Comprehensive test suite optimization and integration te…

feat(tests): Comprehensive test suite optimization and integration te… #3

Triggered via push January 4, 2026 20:20
Status Failure
Total duration 45s
Artifacts
Matrix: test
integration
integration
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
src/__tests__/integration/database-integration.test.ts > Database Integration Tests > SQLite Adapter > should handle frame updates: src/core/database/database-adapter.ts#L205
ReferenceError: crypto is not defined ❯ SQLiteAdapter.generateId src/core/database/database-adapter.ts:205:5 ❯ SQLiteAdapter.createFrame src/core/database/sqlite-adapter.ts:212:44 ❯ src/__tests__/integration/database-integration.test.ts:112:37
src/__tests__/integration/database-integration.test.ts > Database Integration Tests > SQLite Adapter > should search frames by text: src/core/database/database-adapter.ts#L205
ReferenceError: crypto is not defined ❯ SQLiteAdapter.generateId src/core/database/database-adapter.ts:205:5 ❯ SQLiteAdapter.createFrame src/core/database/sqlite-adapter.ts:212:44 ❯ src/__tests__/integration/database-integration.test.ts:78:21
src/__tests__/integration/database-integration.test.ts > Database Integration Tests > SQLite Adapter > should create and retrieve frames: src/core/database/database-adapter.ts#L205
ReferenceError: crypto is not defined ❯ SQLiteAdapter.generateId src/core/database/database-adapter.ts:205:5 ❯ SQLiteAdapter.createFrame src/core/database/sqlite-adapter.ts:212:44 ❯ src/__tests__/integration/database-integration.test.ts:57:37
src/__tests__/integration/cli-integration.test.ts > CLI Integration > Workflow Command > should show workflow status: src/__tests__/integration/cli-integration.test.ts#L133
Error: Command failed: node /home/runner/work/stackmemory/stackmemory/dist/cli/index.js init file:///home/runner/work/stackmemory/stackmemory/node_modules/string-width/index.js:16 const zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v; ^ SyntaxError: Invalid regular expression flags at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18) at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14) Node.js v18.20.8 ❯ src/__tests__/integration/cli-integration.test.ts:133:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 1, signal: null, output: [ null, '<Buffer(0) ...>', '<Buffer(452) ...>' ], pid: 2808, stdout: '<Buffer(0) ...>', stderr: '<Buffer(452) ...>' }
src/__tests__/integration/cli-integration.test.ts > CLI Integration > Workflow Command > should list available workflows: src/__tests__/integration/cli-integration.test.ts#L121
Error: Command failed: node /home/runner/work/stackmemory/stackmemory/dist/cli/index.js init file:///home/runner/work/stackmemory/stackmemory/node_modules/string-width/index.js:16 const zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v; ^ SyntaxError: Invalid regular expression flags at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18) at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14) Node.js v18.20.8 ❯ src/__tests__/integration/cli-integration.test.ts:121:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 1, signal: null, output: [ null, '<Buffer(0) ...>', '<Buffer(452) ...>' ], pid: 2796, stdout: '<Buffer(0) ...>', stderr: '<Buffer(452) ...>' }
src/__tests__/integration/cli-integration.test.ts > CLI Integration > Clear Command > should show clear status: src/__tests__/integration/cli-integration.test.ts#L94
Error: Command failed: node /home/runner/work/stackmemory/stackmemory/dist/cli/index.js init file:///home/runner/work/stackmemory/stackmemory/node_modules/string-width/index.js:16 const zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v; ^ SyntaxError: Invalid regular expression flags at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18) at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14) Node.js v18.20.8 ❯ src/__tests__/integration/cli-integration.test.ts:94:7 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 1, signal: null, output: [ null, '<Buffer(0) ...>', '<Buffer(452) ...>' ], pid: 2784, stdout: '<Buffer(0) ...>', stderr: '<Buffer(452) ...>' }
src/__tests__/integration/cli-integration.test.ts > CLI Integration > Status Command > should handle status when not initialized: src/__tests__/integration/cli-integration.test.ts#L86
AssertionError: expected 'Command failed: node /home/runner/wor…' to contain 'not initialized' - Expected + Received - not initialized + Command failed: node /home/runner/work/stackmemory/stackmemory/dist/cli/index.js status + file:///home/runner/work/stackmemory/stackmemory/node_modules/string-width/index.js:16 + const zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v; + ^ + + SyntaxError: Invalid regular expression flags + at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18) + at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14) + + Node.js v18.20.8 + ❯ src/__tests__/integration/cli-integration.test.ts:86:47
src/__tests__/integration/cli-integration.test.ts > CLI Integration > Basic Commands > should initialize project: src/__tests__/integration/cli-integration.test.ts#L51
Error: Command failed: node /home/runner/work/stackmemory/stackmemory/dist/cli/index.js init file:///home/runner/work/stackmemory/stackmemory/node_modules/string-width/index.js:16 const zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v; ^ SyntaxError: Invalid regular expression flags at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18) at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14) Node.js v18.20.8 ❯ src/__tests__/integration/cli-integration.test.ts:51:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 1, signal: null, output: [ null, '', 'file:///home/runner/work/stackmemory/stackmemory/node_modules/string-width/index.js:16\nconst zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v;\n ^\n\nSyntaxError: Invalid regular expression flags\n at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18)\n at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14)\n\nNode.js v18.20.8\n' ], pid: 2727, stdout: '', stderr: 'file:///home/runner/work/stackmemory/stackmemory/node_modules/string-width/index.js:16\nconst zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v;\n ^\n\nSyntaxError: Invalid regular expression flags\n at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18)\n at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14)\n\nNode.js v18.20.8\n' }
src/__tests__/integration/cli-integration.test.ts > CLI Integration > Basic Commands > should show version: src/__tests__/integration/cli-integration.test.ts#L43
Error: Command failed: node /home/runner/work/stackmemory/stackmemory/dist/cli/index.js --version file:///home/runner/work/stackmemory/stackmemory/node_modules/string-width/index.js:16 const zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v; ^ SyntaxError: Invalid regular expression flags at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18) at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14) Node.js v18.20.8 ❯ src/__tests__/integration/cli-integration.test.ts:43:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 1, signal: null, output: [ null, '', 'file:///home/runner/work/stackmemory/stackmemory/node_modules/string-width/index.js:16\nconst zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v;\n ^\n\nSyntaxError: Invalid regular expression flags\n at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18)\n at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14)\n\nNode.js v18.20.8\n' ], pid: 2704, stdout: '', stderr: 'file:///home/runner/work/stackmemory/stackmemory/node_modules/string-width/index.js:16\nconst zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v;\n ^\n\nSyntaxError: Invalid regular expression flags\n at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18)\n at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14)\n\nNode.js v18.20.8\n' }
src/__tests__/integration/cli-integration.test.ts > CLI Integration > Basic Commands > should show help: src/__tests__/integration/cli-integration.test.ts#L34
Error: Command failed: node /home/runner/work/stackmemory/stackmemory/dist/cli/index.js --help file:///home/runner/work/stackmemory/stackmemory/node_modules/string-width/index.js:16 const zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v; ^ SyntaxError: Invalid regular expression flags at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18) at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14) Node.js v18.20.8 ❯ src/__tests__/integration/cli-integration.test.ts:34:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { status: 1, signal: null, output: [ null, '', 'file:///home/runner/work/stackmemory/stackmemory/node_modules/string-width/index.js:16\nconst zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v;\n ^\n\nSyntaxError: Invalid regular expression flags\n at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18)\n at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14)\n\nNode.js v18.20.8\n' ], pid: 2680, stdout: '', stderr: 'file:///home/runner/work/stackmemory/stackmemory/node_modules/string-width/index.js:16\nconst zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Mark}|\p{Surrogate})+$/v;\n ^\n\nSyntaxError: Invalid regular expression flags\n at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18)\n at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14)\n\nNode.js v18.20.8\n' }
test (20.x)
The strategy configuration was canceled because "test._18_x" failed
test (20.x)
The operation was canceled.
test (18.x)
No files were found with the provided path: coverage/ test-results/. No artifacts will be uploaded.
test (20.x)
No files were found with the provided path: coverage/ test-results/. No artifacts will be uploaded.