From a6d13659971fd2202b7b3dd05e8def49db30d278 Mon Sep 17 00:00:00 2001 From: doudouOUC Date: Tue, 19 May 2026 00:20:48 +0800 Subject: [PATCH] fix(serve): sync E2E baseline capabilities with registry (PR20+PR21) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up to #4284. The Wave 4 merges added `workspace_file_bytes`, `workspace_file_write` (PR 20) and `auth_device_flow` (PR 21) to `SERVE_CAPABILITY_REGISTRY` and the unit-level baseline in `packages/cli/src/serve/server.test.ts`, but the E2E baseline at `integration-tests/cli/qwen-serve-routes.test.ts:190` was not updated, breaking `main` E2E across Linux (sandbox:none / docker) and macOS: expected [ 'health', 'capabilities', …(31) ] to deeply equal […(28)] + "workspace_file_bytes", + "workspace_file_write", + "auth_device_flow", Adds the three tags in registry order so the `caps.features` deep-equal matches the advertised list again. 🤖 Generated with [Qwen Code](https://github.com/QwenLM/qwen-code) --- 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 e2d83288724..367a9eac2e7 100644 --- a/integration-tests/cli/qwen-serve-routes.test.ts +++ b/integration-tests/cli/qwen-serve-routes.test.ts @@ -218,6 +218,9 @@ describe('qwen serve — capabilities envelope', () => { 'session_metadata', 'mcp_guardrails', 'workspace_file_read', + 'workspace_file_bytes', + 'workspace_file_write', + 'auth_device_flow', ]); }); });