Mocked e2e DeepSeek V4 probe asserts on index 0 of a shared request capture buffer
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- testing
Hướng nghiên cứu
Bắt đầu tại apps/vscode-e2e/src/suite/providers/deepseek-v4.test.ts: đọc bộ lọc ghi nhận request quanh dòng 290-291, thao tác đặt lại bộ đệm ở cấp suite quanh dòng 170 và assertion ở dòng 360/401 đọc result.requests[0]. So sánh các mẫu ở những tệp kiểm thử cùng nhóm: xai.test.ts, dòng 415 (probeTag bằng nhau), và openrouter.test.ts, dòng 155 (kiểm tra mọi request đã ghi nhận). Công việc hoàn tất khi assertion cho reasoning bị tắt chỉ áp dụng cho các request được gắn thẻ của probe, nên vẫn đạt bất kể những gì khác ghi vào bộ đệm dùng chung; hãy xác minh bằng cách chạy bộ e2e giả lập cho tệp này và kiểm tra bản dump request.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Observed while pushing commit eb764a92e1cd61b9a78a3ee95c69ea189a96b750 to the vps2/f6-e2e-viewstate branch (pull request 1565), where the required context e2e-mock came back completed with failure. The failing test is not in that pull request's diff; this issue is filed against the probe, not against that pull request.
The failure
Failing test: deepseek-v4-pro should complete a tool-using task with reasoning disabled, in apps/vscode-e2e/src/suite/providers/deepseek-v4.test.ts. Job e2e-mock, step Run mocked E2E tests, run 44242134805, job 134592318560, server Date 2026-11-18 05:17:57 UTC. The suite reported 88 passing, 1 failing.
Assertion text at line 401: Reasoning-disabled probe should send thinking=disabled.
The test printed its own request dump. It recorded four entries:
request[0]: model deepseek-v4-pro, thinkingType enabled, reasoningEffort high, no probeTag, last user message beginning You are Zoo, a knowledgeable technical assistant focused on answering questions...
request[1] to request[3]: model deepseek-v4-pro, thinkingType disabled, no reasoning_effort field, probeTag deepseek-v4-e2e:deepseek-v4-pro:reasoning-off, last user messages being the code-mode system prompt, then environment details, then the did-not-use-a-tool reminder.
What the dump supports
The probe's own requests - the three carrying its probeTag - all sent thinking disabled with no reasoning_effort, which is the behaviour the assertion is about. The entry the assertion looked at is not one of them. Line 360 takes result.requests[0]; line 290-291 builds result.requests with the filter request.model === modelId and (!request.probeTag or request.probeTag === probeTag), so untagged requests on the same model that land in the capture window are admitted into the asserted sequence; line 170 clears the suite-level buffer when a probe starts, so anything written before the probe's first turn becomes index 0. request[0] above carries no probeTag, a different system prompt, and reasoning enabled with effort high, so it is a different kind of call than the probe's turn.
That makes the outcome depend on what else wrote into the shared buffer first, which is what makes this flaky rather than broken: the provider behaviour under test recorded correctly in the failing run. Two sibling tests in the same directory already avoid this shape - xai.test.ts line 415 filters on probeTag equality, and openrouter.test.ts line 155 comments that it checks all captured requests rather than requests[0]. The log alone does not identify which component issued the untagged request, and I am not claiming that.
Scope of the observation
e2e-mock is completed with success on five earlier heads of the same chain - 33ca1dd1c7, 2bc72bbe02, 940b9090dc, 3bd957e84c and 1f98df4e3f - and the pull request's 45 changed files include none matching deepseek or reasoning and do not include this test file. The only delta between the green head and the red one is a vitest unit spec, which the mocked e2e job does not execute.
Of the last 100 runs of .github/workflows/e2e.yml, two others ended in failure on the same job and step: run 44210538177 on coderabbit/secure-mock-fixture-interface (head fa38f64b5c) and run 44128485154 on feat/standard-compute-provider (head 68b987c1d2). I read both logs: neither contains this test or this assertion, so they failed on other tests. What that supports is that the job is flaky. What is not established is whether this particular probe has a known failure mode.
Tooling note
A rerun needs a human: POST actions/runs/44242134805/rerun-failed-jobs answered 403 with the automation token used for this lane, while GET actions/jobs/134592318560/logs works normally and GET check-runs/134592318560/logs answers 404. A maintainer rerunning the job from the UI is the cheap path.
No change is proposed here and none was made. The file belongs to the reasoning-effort work, and a filler commit elsewhere would spend a review pass to buy nothing.
- Ngôn ngữ chính
- TypeScript
- Star
- 2k
- Fork
- 301
- Merge trung bình
- 3 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 103
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Zoo-Code-Org/Zoo-Code
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Zoo-Code-Org/Zoo-Code#2773 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Zoo-Code-Org/Zoo-Code#2717 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Zoo-Code-Org/Zoo-Code#2515 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
fix(scripts): stryker-diff.mjs spawns the extensionless .bin shim and cannot run on WindowsCó thể đã có người làm @easonLiangWorldedtech đã nhận 15 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Zoo-Code-Org/Zoo-Code#2514 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
[BUG] search_files hides matching text on long linesCó thể đã có người làm @DananjayaNadun đã nhận 9 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Zoo-Code-Org/Zoo-Code#2496 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của Zoo-Code-Org/Zoo-Code
Issue tương tự
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
EPPIcenter/sampledb3#162 ·
-
Particle-1 modelĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
tashfeenahmed/freellmapi#2169 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
via-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
🎙️ task - feat(mechanic): pave git.pull.close, a close of a superseded pull with its why on recordĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ehmpathy/rhachet-roles-ehmpathy#1576 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
vercel-labs/ui#1563 ·
Maintainer thường phản hồi trong vòng 1 ngày