一键导入
weaver-regression-test
Run the full Weaver provisioner regression test suite against the production service. Covers full_ft, LoRA, debug modes, and edge cases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the full Weaver provisioner regression test suite against the production service. Covers full_ft, LoRA, debug modes, and edge cases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Address GitHub PR review comments. Navigate to the correct worktree, make fixes, push updates.
Review code changes against Weaver SDK project standards before committing. Works in any worktree.
Fix a GitHub issue using git worktree for isolation. Fetches issue, creates worktree, plans and implements fix, then creates PR.
Complete git commit workflow in a worktree. Includes review, staging, and message generation.
Create a GitHub PR from a worktree branch. Use after committing changes.
Run linting and tests for Weaver SDK. Works in any worktree.
| name | weaver-regression-test |
| description | Run the full Weaver provisioner regression test suite against the production service. Covers full_ft, LoRA, debug modes, and edge cases. |
Run end-to-end regression tests for the Weaver provisioner following the test plan in .claude/skills/weaver-regression-test/regression_test_plan.md. Tests cover full fine-tuning, LoRA, debug modes (auto/manual), and edge cases.
conda activate weaver
export WEAVER_API_KEY="<your-key>"
Follow regression_test_plan.md strictly (co-located in this skill directory). Execute every test case as documented.
Use the production service at https://weaver-console.nex-agi.cn — do not build or run locally.
IAM errors can be retried without recording. If an IAM authentication error occurs, simply retry the request.
Use shared knowledge skills for log analysis. For each test, use the skills from china-qijizhifeng/nex-taas-shared-knowledge to:
model_id)china-qijizhifeng/weaver-server source code for root cause analysisRun 3 rounds of testing. Create a GitHub issue in china-qijizhifeng/weaver-server and post each round's results as a comment:
china-qijizhifeng/weaver-server linked to the main test issuePost a final summary report to the issue after all rounds complete.
Use example scripts from the examples/ directory:
examples/pig_latin_fullft.py — Full fine-tuning (F1-F4)examples/pig_latin_lora.py — LoRA training (L1-L4)examples/pig_latin_fullft_debug_auto.py — Debug auto mode (DA1-DA4)examples/pig_latin_fullft_debug_manual.py — Debug manual mode (DM1-DM3)examples/pig_latin_lora_alt.py — LoRA with alternate base model (L4)| Group | Tests | What it validates |
|---|---|---|
| Full FT Basic | F1, F2 | Single full_ft provision, independent pods, auto-termination |
| Full FT Concurrent | F3, F4 | 2-3 concurrent full_ft with full isolation |
| LoRA | L1-L4 | LoRA provision, shared trainer dedup, different base_model independence |
| Debug Auto | DA1-DA4 | Debug auto provision, pod reuse, crash recovery, concurrent dedup |
| Debug Manual | DM1-DM3 | Lazy provision on forward_backward, sleep infinity, manual torchrun |
| Edge Cases | E1-E4 | Pod crash recovery, invalid model errors, mixed mode concurrency |
When a test fails, follow this troubleshooting order:
/tmp/test_*.logmodel_id)provisioning, terminate, skip, debug, stale, lora dedupinternal/services/instance_orchestrator.gocheckExistingLoRATrainer()extractDebugMode(), provisionNewTrainer()HandleTerminate()# Weaver Provisioner Integration Test — Round N
| Test | Result | Notes |
|------|--------|-------|
| F1 | PASS | |
| F2 | PASS | |
| ... | ... | ... |
## Details
[Per-test details for any failures or notable observations]