Fix/typescript typing issues #6
ci-build-tests.yml
on: pull_request
📦 Monorepo Installation Test
9s
🎨 Frontend Build Isolation
8s
⚡ Backend Build Isolation
8s
Matrix: 🔧 Development Modes Test
🧪 Complete Test Suite (30 Tests)
18s
🚀 Full-Stack Unified Build
17s
🔄 Hot Reload Independence Test
20s
📊 Performance Benchmarks
13s
✅ Build Test Summary
2s
Annotations
15 errors and 14 warnings
|
tests/unit/core/framework.test.ts > FluxStackFramework > constructor > should create framework with default config:
tests/unit/core/framework.test.ts#L21
AssertionError: expected undefined to be defined
❯ tests/unit/core/framework.test.ts:21:35
|
|
core/framework/__tests__/server.test.ts > FluxStackFramework > Plugin Management > should throw error when registering duplicate plugin:
core/framework/__tests__/server.test.ts#L135
AssertionError: expected [Function] to throw an error
❯ core/framework/__tests__/server.test.ts:135:47
|
|
core/config/__tests__/validator.test.ts:
core/config/__tests__/validator.test.ts#L5
Error: Module "bun:test" has been externalized for browser compatibility. Cannot access "bun:test.describe" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
❯ Object.get bun:test:4:13
❯ core/config/__tests__/validator.test.ts:5:38
|
|
core/config/__tests__/schema.test.ts:
core/config/__tests__/schema.test.ts#L5
Error: Module "bun:test" has been externalized for browser compatibility. Cannot access "bun:test.describe" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
❯ Object.get bun:test:4:13
❯ core/config/__tests__/schema.test.ts:5:38
|
|
core/config/__tests__/loader.test.ts:
core/config/__tests__/loader.test.ts#L5
Error: Module "bun:test" has been externalized for browser compatibility. Cannot access "bun:test.describe" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
❯ Object.get bun:test:4:13
❯ core/config/__tests__/loader.test.ts:5:61
|
|
core/config/__tests__/integration.test.ts:
core/config/__tests__/integration.test.ts#L5
Error: Module "bun:test" has been externalized for browser compatibility. Cannot access "bun:test.describe" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
❯ Object.get bun:test:4:13
❯ core/config/__tests__/integration.test.ts:5:61
|
|
core/config/__tests__/env.test.ts:
core/config/__tests__/env.test.ts#L5
Error: Module "bun:test" has been externalized for browser compatibility. Cannot access "bun:test.describe" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
❯ Object.get bun:test:4:13
❯ core/config/__tests__/env.test.ts:5:61
|
|
core/__tests__/integration.test.ts > Core Framework Integration > Utilities Integration > should have working helper functions:
core/__tests__/integration.test.ts#L199
Error: Cannot find module '../utils/helpers'
Require stack:
- /home/runner/work/FluxStack/FluxStack/core/__tests__/integration.test.ts
❯ core/__tests__/integration.test.ts:199:52
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/FluxStack/FluxStack/core/__tests__/integration.test.ts' ] }
|
|
core/__tests__/integration.test.ts > Core Framework Integration > Type System Integration > should have comprehensive type exports:
core/__tests__/integration.test.ts#L166
AssertionError: expected { [Symbol(Symbol.toStringTag)]: 'Mod…' } to have property "FluxStackConfig"
❯ core/__tests__/integration.test.ts:166:21
|
|
Unhandled error:
core/plugins/registry.ts#L34
FluxStackError: Plugin 'duplicate-plugin' is already registered
❯ PluginRegistry.register core/plugins/registry.ts:34:13
❯ FluxStackFramework.use core/framework/server.ts:128:27
❯ core/framework/__tests__/server.test.ts:135:30
❯ Proxy.assertThrows node_modules/chai/chai.js:2787:5
❯ Proxy.methodWrapper node_modules/chai/chai.js:1706:25
❯ Proxy.<anonymous> node_modules/@vitest/expect/dist/index.js:1088:12
❯ Proxy.overwritingMethodWrapper node_modules/chai/chai.js:1755:33
❯ Proxy.<anonymous> node_modules/@vitest/expect/dist/index.js:1420:16
❯ Proxy.<anonymous> node_modules/@vitest/expect/dist/index.js:1029:14
❯ Proxy.methodWrapper node_modules/chai/chai.js:1706:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'PLUGIN_ALREADY_REGISTERED', statusCode: 400, context: undefined, timestamp: '2025-09-13T18:58:16.407Z' }
This error originated in "core/framework/__tests__/server.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
|
|
🚀 Full-Stack Unified Build
Process completed with exit code 1.
|
|
🔄 Hot Reload Independence Test
Process completed with exit code 1.
|
|
🔧 Development Modes Test (backend)
Process completed with exit code 1.
|
|
🐳 Docker Build Test
Process completed with exit code 1.
|
|
✅ Build Test Summary
Process completed with exit code 1.
|
|
📦 Monorepo Installation Test
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0uL7FaAAAAABUEnUhjME8SqfExLDH2mmRQkwyQUEyMDMwMTA3MDIzAEVkZ2U=
|
|
📦 Monorepo Installation Test
Failed to restore: Cache service responded with 400
|
|
🎨 Frontend Build Isolation
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0wb7FaAAAAAByaQdYN6w4Toz7LKs/GB67QkwyQUEyMDMwMTA4MDMxAEVkZ2U=
|
|
🎨 Frontend Build Isolation
Failed to restore: Cache service responded with 400
|
|
⚡ Backend Build Isolation
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0w77FaAAAAAC+KszxS0VZTLyN8a6ME7g9QkwyQUEyMDMwMTA3MDA3AEVkZ2U=
|
|
⚡ Backend Build Isolation
Failed to restore: Cache service responded with 400
|
|
📊 Performance Benchmarks
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0yL7FaAAAAAA+nneUpjsUSajP8yJJiGZRUEhYMzFFREdFMDUwNwBFZGdl
|
|
📊 Performance Benchmarks
Failed to restore: Cache service responded with 400
|
|
🧪 Complete Test Suite (30 Tests)
Failed to restore: Cache service responded with 400
|
|
🚀 Full-Stack Unified Build
Failed to restore: Cache service responded with 400
|
|
🔄 Hot Reload Independence Test
Failed to restore: Cache service responded with 400
|
|
🔧 Development Modes Test (backend)
Failed to restore: Cache service responded with 400
|
|
🔧 Development Modes Test (frontend)
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>00r7FaAAAAAAtrlcziX2oTKcfAVyQabEDQkwyQUEyMDMwMTA5MDMxAEVkZ2U=
|
|
🔧 Development Modes Test (frontend)
Failed to restore: Cache service responded with 400
|