Skip to content

Add MCP discovery tools #39

Add MCP discovery tools

Add MCP discovery tools #39

Triggered via pull request June 9, 2026 07:39
Status Failure
Total duration 1m 0s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
Integration Tests
Process completed with exit code 1.
test/integration.test.ts > SetActive Toggle: test/integration.test.ts#L84
Error: Invalid arguments for tool 'create_chats_rule': requestBody.policy.event_type (invalid_type): Required ❯ callTool test/integration.test.ts:84:11 ❯ test/integration.test.ts:369:18
test/integration.test.ts > GenAI Chats Rule CRUD > should delete the rule: test/integration.test.ts#L84
Error: Invalid arguments for tool 'delete_rule': rule_id (invalid_type): Required ❯ callTool test/integration.test.ts:84:11 ❯ test/integration.test.ts:239:5
test/integration.test.ts > GenAI Chats Rule CRUD > should disable the rule: test/integration.test.ts#L84
Error: Invalid arguments for tool 'set_rule_active': rule_id (invalid_type): Required ❯ callTool test/integration.test.ts:84:11 ❯ test/integration.test.ts:232:5
test/integration.test.ts > GenAI Chats Rule CRUD > should patch chats policy: test/integration.test.ts#L84
Error: Invalid arguments for tool 'patch_chats_policy': requestBody.rule_id (invalid_type): Required, requestBody.policy.event_type (invalid_type): Required ❯ callTool test/integration.test.ts:84:11 ❯ test/integration.test.ts:213:5
test/integration.test.ts > GenAI Chats Rule CRUD > should update rule info: test/integration.test.ts#L84
Error: Invalid arguments for tool 'set_rule_info': rule_id (invalid_type): Required ❯ callTool test/integration.test.ts:84:11 ❯ test/integration.test.ts:201:5
test/integration.test.ts > GenAI Chats Rule CRUD > should read the chats rule back: test/integration.test.ts#L195
AssertionError: expected undefined to be truthy - Expected: true + Received: undefined ❯ test/integration.test.ts:195:18
test/integration.test.ts > GenAI Chats Rule CRUD > should create a chats rule: test/integration.test.ts#L84
Error: Invalid arguments for tool 'create_chats_rule': requestBody.policy.event_type (invalid_type): Required ❯ callTool test/integration.test.ts:84:11 ❯ test/integration.test.ts:170:18
Build
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020, actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit Tests
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. 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/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Integration Tests
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
workforce-ai-mcp-dist
71.1 KB
sha256:5958e10a61ec095a9f5c739701e5ab35e8187b467d2a6f6b8a4eb8f23ac7f581