qwen-code/docs
jinye 9505246886
fix(serve): align integration test + user doc with merged sessionScope override (#4214)
PR #4209 (Wave 2 PR 5) shipped per-request `sessionScope` override and
added a `session_scope_override` capability tag to the registry. Two
follow-ups from wenshao's review landed unaddressed:

1. `integration-tests/cli/qwen-serve-routes.test.ts` still asserted
   the pre-PR 9-element `caps.features` list and was named "all 9
   Stage 1 features". Running the suite against a real daemon would
   fail — the daemon now advertises 10 features, with
   `session_scope_override` between `session_create` and
   `session_list` per the registry order. PR CI didn't catch this
   because integration tests need a real `qwen serve` spawn and run
   only in the release pipeline; the unit-level
   `EXPECTED_STAGE1_FEATURES` constant in `server.test.ts` was
   updated, but its integration sibling was missed.

2. `docs/users/qwen-serve.md` "Stage 1.5+ runtime guarantees" still
   listed per-request `sessionScope` override as item 1 of "Blockers
   for serious downstream use", saying "today the daemon-wide default
   is the only setting." Directly contradicts the merged behavior and
   the protocol doc, so downstream integrators reading the user guide
   get inverse guidance.

Fixes:
- Update the integration test name to "all 10 Stage 1 features" and
  insert `session_scope_override` in the asserted array (matching
  registry order); add a comment noting the unit/integration/registry
  triple must stay in lockstep.
- Remove the obsolete blocker bullet from the user doc and renumber
  the remaining items (2/3 → 1/2 in Blockers, 4-7 → 3-6 in Reliability,
  8-10 → 7-9 in Integration ergonomics).

No production code changes.

🤖 Generated with [Qwen Code](https://github.com/QwenLM/qwen-code)
2026-05-17 01:51:25 +08:00
..
design feat(telemetry): unify span creation paths for hierarchical trace tree (#4126) 2026-05-16 22:29:55 +08:00
developers feat(telemetry): add detailed sensitive span attributes (#4097) 2026-05-17 00:36:48 +08:00
e2e-tests feat(tools): add generic worktree support — EnterWorktree/ExitWorktree + Agent isolation (#4073) 2026-05-14 18:00:30 +08:00
plans feat(vscode-ide-companion): add agent execution tool display (#2590) 2026-04-18 23:39:26 +08:00
users fix(serve): align integration test + user doc with merged sessionScope override (#4214) 2026-05-17 01:51:25 +08:00
_meta.ts feat: refactor docs 2025-12-05 10:51:57 +08:00
index.md fix: lint issues 2025-12-19 15:52:11 +08:00