asan
Free以 AddressSanitizer(ENABLE_TEST_SANITIZE=ON)构建并运行 vlink-test 单元测试,复现 CI 的 ASan 门禁。用户要求"跑 asan"、"内存检测测试"、 排查 ci-test 的 sanitize 失败时使用。
The English summary is being prepared. Showing the original description.
按功能编排 VLink 入口级 mock 集成测试,覆盖普通 doctest 难以触及的 全部 CLI 命令、Proxy、Viewer/Player/Analyzer、WebViz 及 bag 数据集 场景。
用户要求"跑 mock"、"补测试死角"、"测试所有命令行"、"用 bag 数据集测试 viewer/webviz/proxy"或做发布前入口冒烟测试时使用。
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
本 skill 验证真实可执行入口及其协作链,不替代 /test、/asan 或
/bench。按用户指定模块执行;未指定时先根据当前 diff 选择受影响模块,
不得默认把所有 GUI、网络和长时任务一次性全跑。
只读取并执行本次需要的分册:
| 模块 | 分册 | 主要目标 |
|---|---|---|
| CLI | CLI.md | 10 个 cli/* 工具及全部子命令 |
| Proxy | PROXY.md | vlink-proxy、发现、转发与进程生命周期 |
| Viewer | VIEWER.md | vlink-viewer、vlink-player、vlink-analyzer |
| WebViz | WEBVIZ.md | Foxglove、Rerun、bag2mcap、bag2rrd |
| Bag 数据集 | BAG-DATASETS.md | 数据集选择、只读保护、正常/异常场景 |
| 本地构建 | BUILD.md | 物理核心探测、并行上限与构建命令 |
AGENTS.md、.agents/REPO-REFERENCE.md,再读上表中选中的
分册及其指向的 doc/ 小节。build-ai/skill_mock_<function_name>,例如
build-ai/skill_mock_cli、build-ai/skill_mock_proxy、
build-ai/skill_mock_viewer 或 build-ai/skill_mock_webviz;固定
ENABLE_CXX_STD_20=OFF,只开启目标模块
并构建所需 target。构建前必须读取并执行
BUILD.md。执行 Python、CMake、测试或辅助脚本前设置
PYTHONPYCACHEPREFIX={project}/build-ai/skill_mock_<function_name>/__pycache__。
编译前按平台取得真实物理核心数,显式使用
max(真实物理核心数 - 1, 1) 个并行 job;探测失败时固定单核。禁止
逻辑 CPU 计数、裸 --parallel/-j、固定高并行度或同时启动多个
本地构建,也不得复用、删除或重置维护者、IDE、CI 的构建目录。clone、fix、
reindex、tag、录制和导出等写操作只针对临时副本或临时输出。显式调用本 skill 授权选定模块的本地配置、构建、参数解析、预期失败、 单进程只读运行和临时文件写入。实时回放、联网、GUI、长驻进程与可变 数据场景必须在用户明确选中对应功能后执行;不授权上传、发布、修改原始 数据集、绑定公网地址、安装系统依赖或终止非本次启动的进程。
按功能模块分别列出:
只有实际运行并核对结果的场景才可写"通过";仅 --help 成功不能代表
对应业务子命令或 GUI 数据路径已覆盖。
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
以 AddressSanitizer(ENABLE_TEST_SANITIZE=ON)构建并运行 vlink-test 单元测试,复现 CI 的 ASan 门禁。用户要求"跑 asan"、"内存检测测试"、 排查 ci-test 的 sanitize 失败时使用。
The English summary is being prepared. Showing the original description.
构建并运行 vlink-bench 性能基准(showcase/quick/full 预设),生成 HTML/JSON 报告。用户要求"跑 bench"、"性能测试"、对比后端吞吐/延迟、 验证性能回归时使用。
The English summary is being prepared. Showing the original description.
运行 tools/check.sh 对整个仓库执行 cpplint 静态检查(120 列,项目定制 过滤集)。用户要求"跑 check"、"cpplint 检查"、排查 CI lint 门禁失败 时使用。
The English summary is being prepared. Showing the original description.
用 gh CLI 触发/查看 GitHub CI/CD:手动 dispatch 工作流 (release/coverage/docker)、查看运行状态与失败日志、重跑失败 job. 用户要求"触发 CI"、"看流水线"、"重跑失败的 job"时使用;创建 dev 到 master 的 PR 使用 /pr,正式发版使用 /release.
The English summary is being prepared. Showing the original description.
对指定文件或全仓库运行 clang-tidy(WarningsAsErrors='*')。用户要求 "跑 clang-tidy"、"tidy 检查某文件"、排查 CI tidy 门禁失败时使用。
The English summary is being prepared. Showing the original description.
提交前强制执行 VLink 的 format 与 check skill,再分析当前工作树的全部 staged、unstaged 与 untracked 改动,按模块、功能和依赖关系拆分为可独立 评审的 Conventional Commits,生成简洁且覆盖重要行为的英文 commit message 并逐组提交。用户要求“提交当前改动”、“按功能拆 commit”、 “自动写 commit msg”或“整理提交历史”时使用。
The English summary is being prepared. Showing the original description.