testing-and-maintenance
Use for Dash test selection, browser fixtures, build/lint commands, and repository maintenance workflows.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- testing-and-maintenance
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Use for Dash test selection, browser fixtures, build/lint commands, and repository maintenance workflows.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/build-lint-and-contribution.md2.5 KB
- 参考文档references/native-test-selection.md2.6 KB
- 参考文档references/testing-workflows.md2.8 KB
- 参考文档references/troubleshooting.md2.2 KB
- 脚本scripts/list_dash_commands.py2.2 KB
- 脚本scripts/suggest_dash_tests.py2.3 KB
03 SKILL.md 正文
Dash Testing and Maintenance
Use this sub-skill when you need to decide which Dash tests to run, how to use Dash's browser fixtures, or which build/lint commands are safe for a specific change.
Start here
- Read references/testing-workflows.md for the test tiers and fixture behavior.
- Read references/build-lint-and-contribution.md for build, lint, and contribution commands.
- Read references/native-test-selection.md for focused native test candidates and selection guidance.
- Read references/troubleshooting.md when a test, browser driver, formatter, or build fails.
- Run scripts/list_dash_commands.py or scripts/suggest_dash_tests.py when you need a fast command/menu summary.
Main routes
Choose a focused test plan
Use this route when the task asks which Dash tests to run after a source change. Prefer the smallest unit/integration/browser set that actually exercises the changed behavior.
Work with browser fixtures
Use this route for dash_duo, dash_br, dash_thread_server,
dash_process_server, dash_multi_process_server, dashr, dashjl, or the
Browser helper methods.
Run builds, lint, or contribution checks
Use this route for npm ci, npm run build, npm run lint, npm run first-build, component package setup, or repository contribution guidance.
Route elsewhere
- App and callback debugging: app callback workflows.
- Backend/async/WebSocket/MCP runtime checks: server backends and async.
- Component generator and renderer internals: component renderer development.
Validation checklist
Before declaring a test plan complete:
- The chosen test file or command is focused enough to expose the failure.
- Browser-backed tests are only chosen when Chrome/ChromeDriver or a suitable browser runtime is available.
- Integration output retains the traceback and assertion context.
- Build commands are separated from test commands so failures are easy to read.
- If a source checkout has generated component wrappers or renderer bundles, confirm whether those artifacts need regeneration before the next test run.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).