Skip to content

chore: update @epic-web/workshop-app #117

chore: update @epic-web/workshop-app

chore: update @epic-web/workshop-app #117

Triggered via push September 24, 2025 19:55
Status Failure
Total duration 6m 36s
Artifacts

validate.yml

on: push
Matrix: πŸ”§ Setup
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 notice
πŸ”§ Setup (macos-latest)
Process completed with exit code 134.
πŸ”§ Setup (windows-latest)
The operation was canceled.
πŸ”§ Setup (windows-latest)
The strategy configuration was canceled because "setup.macos-latest" failed
πŸ§ͺ Test
Process completed with exit code 1.
test/index.test.ts > OAuth integration flow works end-to-end: exercises/05.scopes/03.solution.scope-hints/test/index.test.ts#L128
TypeError: fetch failed ❯ test/index.test.ts:128:38 { stack: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1134:18)\n' + ' at afterConnectMultiple (node:net:1715:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:7788\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:7788', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 7788, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:7788\n' + ' at createConnectionError (node:net:1678:14)\n' + ' at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:7788', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 7788, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', message: '', constructor: 'Function<AggregateError>', name: 'Caused by: Caused by: AggregateError', toString: 'Function<toString>', stacks: [] } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:7788\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:7788', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 7788, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:7788\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:7788', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 7788, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
test/index.test.ts > OAuth integration flow works end-to-end: exercises/05.scopes/02.solution.validate-sufficient-scope/test/index.test.ts#L104
Error: 🚨 Invalid resource metadata: [ { "code": "invalid_type", "expected": "array", "received": "undefined", "path": [ "scopes_supported" ], "message": "Required" } ] ❯ test/index.test.ts:104:9
test/index.test.ts > {test title that describes the important thing we're working on in this exercise step}: exercises/05.scopes/01.solution.check-scopes/test/index.test.ts#L103
Error: 🚨 Invalid resource metadata: [ { "code": "invalid_type", "expected": "array", "received": "undefined", "path": [ "scopes_supported" ], "message": "Required" } ] ❯ test/index.test.ts:103:9
test/index.test.ts > MCP server provides specific error messages for invalid tokens: exercises/03.auth-info/03.solution.active/test/index.test.ts#L55
AssertionError: expected 500 to be 401 // Object.is equality - Expected + Received - 401 + 500 ❯ test/index.test.ts:55:34
test/index.test.ts > MCP server provides specific error messages for invalid tokens: exercises/03.auth-info/02.solution.error/test/index.test.ts#L55
AssertionError: expected 500 to be 401 // Object.is equality - Expected + Received - 401 + 500 ❯ test/index.test.ts:55:34
test/index.test.ts > MCP server introspects tokens before processing requests: exercises/03.auth-info/01.solution.introspect/test/index.test.ts#L54
AssertionError: 🚨 Should get an error response indicating introspection failure: expected 'Error: Network connection lost.\n …' to contain 'ZodError' - Expected + Received - ZodError + Error: Network connection lost. + at async resolveAuthInfo (file:///home/runner/work/mcp-auth/mcp-auth/exercises/03.auth-info/01.solution.introspect/src/auth.ts:23:15) + at async handler (file:///home/runner/work/mcp-auth/mcp-auth/exercises/03.auth-info/01.solution.introspect/src/index.ts:74:22) + at async jsonError (file:///home/runner/work/mcp-auth/mcp-auth/node_modules/wrangler/templates/middleware/middleware-miniflare3-json-error.ts:22:10) + at async drainBody (file:///home/runner/work/mcp-auth/mcp-auth/node_modules/wrangler/templates/middleware/middleware-ensure-req-body-drained.ts:5:10) ❯ test/index.test.ts:54:4
test/index.test.ts > The MCP server correctly proxies to the OAuth server for authorization server metadata: exercises/01.discovery/02.solution.as/test/index.test.ts#L14
AssertionError: 🚨 fetching authorization server metadata should succeed: expected false to be true // Object.is equality - Expected + Received - true + false ❯ test/index.test.ts:14:4
πŸ”§ Setup (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677