qwen-code/integration-tests
Shaojin Wen ccf1e5672f
fix(e2e): add daemon_status to serve capabilities baseline; run E2E on PRs (#5211)
* fix(e2e): add daemon_status to serve capabilities baseline; run E2E on PRs

The `qwen serve — capabilities envelope` integration test hard-codes the
expected advertised-feature list. PR #5174 added the `daemon_status`
capability to SERVE_CAPABILITY_REGISTRY (and the server.test.ts unit
baseline) but did not update this integration test, so the list drifted
by one entry and the E2E job began failing on main.

Root cause it slipped through: E2E only triggered on push to main /
merge_group, never on PRs, so this stale assertion was never exercised
before merge. Add a pull_request trigger (targeting main) so capability/
contract regressions surface at PR time, and key concurrency on the PR
number so superseded PR runs cancel.

* fix(e2e): guard fork PRs from secretless runs; dedupe push/PR triggers

Addresses review feedback on #5211:

- Skip the e2e matrix on fork PRs. Forks have no access to repository
  secrets (OPENAI_*, DOCKERHUB_*), so without a guard every fork PR
  produces 3 guaranteed red jobs and wastes CI minutes. A head-repo
  guard runs the jobs for same-repo PRs (and push / merge_group) but
  skips them for forks.

- Key concurrency on the head ref (github.head_ref || github.ref_name)
  so a push to a feat/e2e/** branch and a pull_request from that same
  branch share one group and cancel each other, instead of running the
  full matrix twice for the same change. Keeps the feat/e2e/** push
  trigger (the no-PR e2e iteration escape hatch) intact.

- Stop cancelling in-progress main runs so every main commit produces a
  complete e2e result (matching ci.yml's policy and the very signal that
  surfaced this bug); still cancel superseded PR / feature-branch runs.

---------

Co-authored-by: jinye <djy1989418@126.com>
2026-06-17 03:44:02 +00:00
..
baselines test(perf): add daemon baseline harness (#4175 Wave 1 PR 1) (#4205) 2026-05-17 00:41:26 +08:00
cli fix(e2e): add daemon_status to serve capabilities baseline; run E2E on PRs (#5211) 2026-06-17 03:44:02 +00:00
concurrent-runner feat(web-search): remove built-in web_search tool, replace with MCP-based approach (#3502) 2026-04-24 11:29:02 +08:00
fixtures feat(daemon): merge daemon-mode feature batch into main (#4490) 2026-06-12 00:34:49 +08:00
hook-integration feat(hooks): Add HTTP Hook, Function Hook and Async Hook support (#2827) 2026-04-16 10:10:33 +08:00
interactive feat(core): enable loop/cron tools by default (#4950) 2026-06-10 23:21:53 +08:00
sdk-typescript fix(test): count result messages instead of assistant messages in multi-model E2E test (#4341) 2026-05-20 10:42:51 +08:00
terminal-bench Terminal Bench Integration Test (#521) 2025-09-05 17:02:03 +08:00
terminal-capture feat: add Agent Team experimental feature for parallel sub-agent coordination (#4844) 2026-06-11 07:58:32 +08:00
channel-plugin.test.ts docs(channels): add plugin developer guide and rename mock to plugin-example 2026-03-27 03:19:34 +00:00
globalSetup.ts feat(core): support QWEN_HOME env var to customize config directory (#2953) 2026-05-09 15:51:52 +08:00
test-helper.ts test(integration): harden flaky sleep-interception e2e against skipped tool calls (#4936) 2026-06-11 00:08:26 +08:00
test-mcp-server.ts # 🚀 Sync Gemini CLI v0.2.1 - Major Feature Update (#483) 2025-09-01 14:48:55 +08:00
tsconfig.json refactor(serve): 1 daemon = 1 workspace (#3803 §02) (#4113) 2026-05-15 12:44:36 +08:00
vitest.config.ts feat(daemon): merge daemon-mode feature batch into main (#4490) 2026-06-12 00:34:49 +08:00
vitest.loadtest.config.ts feat(daemon): merge daemon-mode feature batch into main (#4490) 2026-06-12 00:34:49 +08:00
vitest.terminal-bench.config.ts Fix E2E caused by Terminal Bench test (#529) 2025-09-08 10:51:14 +08:00