From d14ffd469a9592db51a9889762763f9f6116a51e Mon Sep 17 00:00:00 2001 From: jinye Date: Mon, 18 May 2026 20:35:58 +0800 Subject: [PATCH] fix(serve): sync E2E baseline capabilities with registry (#4284) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PRs #4249 (workspace memory + agents CRUD) and #4269 (workspace file read routes) added `workspace_memory`, `workspace_agents`, and `workspace_file_read` to `SERVE_CAPABILITY_REGISTRY` and updated the unit-level `EXPECTED_STAGE1_FEATURES` in `packages/cli/src/serve/server.test.ts`, but missed the matching integration-test expectation. The E2E `qwen serve — capabilities envelope > advertises all baseline capabilities` assertion has been failing on `main` since those PRs landed. Append the three tags in the same positions as `SERVE_CAPABILITY_REGISTRY` and the unit-level constant (`workspace_memory` + `workspace_agents` after `workspace_providers`, `workspace_file_read` after `mcp_guardrails`). No production code changes — same shape as #4268. --- integration-tests/cli/qwen-serve-routes.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/integration-tests/cli/qwen-serve-routes.test.ts b/integration-tests/cli/qwen-serve-routes.test.ts index f8a1c02c0..e2d832887 100644 --- a/integration-tests/cli/qwen-serve-routes.test.ts +++ b/integration-tests/cli/qwen-serve-routes.test.ts @@ -208,6 +208,8 @@ describe('qwen serve — capabilities envelope', () => { 'workspace_mcp', 'workspace_skills', 'workspace_providers', + 'workspace_memory', + 'workspace_agents', 'workspace_env', 'workspace_preflight', 'session_context', @@ -215,6 +217,7 @@ describe('qwen serve — capabilities envelope', () => { 'session_close', 'session_metadata', 'mcp_guardrails', + 'workspace_file_read', ]); }); });