fix(serve): sync E2E baseline capabilities with registry (#4284)

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.
This commit is contained in:
jinye 2026-05-18 20:35:58 +08:00 committed by GitHub
parent 33b2e0dccc
commit d14ffd469a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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',
]);
});
});