一键导入
e2e-regression-async-generators
End-to-end regression tests for async generator copy logic
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
End-to-end regression tests for async generator copy logic
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Apply when implementing features, fixing bugs, debugging errors, investigating failures, tracing root causes, reviewing tech debt, tracing issues, planning fixes, or completing any task. Enforces parallel sub-agent implementation, independent adversarial review, and a 95% confidence gate before stopping.
RAGAPPv3 testing policy and conventions. Load before writing or modifying any test, fixing a test/CI failure, or adding coverage. Covers backend pytest + unittest (SimpleConnectionPool dependency-override harness, FK cascades, the Python 3.11-vs-local event-loop trap) and frontend Vitest + React Testing Library + jsdom (MemoryRouter, Radix Select, react-virtual mock patterns). This repo's frontend uses Vitest, NOT bun:test.
Keep dependency and lockfile changes aligned with CI expectations.
Verify all required QA gate artifacts and completion criteria before marking a task or phase complete.
Keep mocks, async setup, and test assertions clean and aligned with the code under test.
Lightweight PR-time audit for whether changes are compatible with the actual RAGAPPv3 GitHub Actions workflow, dependency lockfiles, scripts, and cross-platform local validation.
| name | e2e-regression-async-generators |
| description | End-to-end regression tests for async generator copy logic |
| triggers | ["async generator","copy logic","done chunk","RAGEngine.query","regression test","integration bug","unit test gap"] |
| generated_from_knowledge | ["2274327e-4f6f-4a2f-b3eb-f1c915b14af2"] |
| source_knowledge_ids | ["2274327e-4f6f-4a2f-b3eb-f1c915b14af2","584bad6d-c7ee-4486-8ad4-3c4ef319e5ff"] |
| generated_at | "2026-07-06T17:07:25.088Z" |
| confidence | 0.7 |
| status | active |
| version | 2 |
| skill_origin | generated |
When a code change touches copy logic inside an async generator path, prefer end-to-end tests that consume the full generator and assert specific values, not unit tests of private methods that hand-simulate the copy.
engine.query(...)).Canonical pattern: backend/tests/test_prompt_ab_variants.py::TestDoneMsgABKeysE2E
When delegating a task affected by this skill, include:
SKILLS: file:.opencode/skills/generated/e2e-regression-async-generators/SKILL.md