lolly/.github/AGENTS.md
xfy 2688ed6a9c docs: 更新 AGENTS.md 文档,新增 benchmark/netutil/scripts 目录
- 根目录新增 scripts/ 和 .github/ 目录说明
- internal 新增 benchmark/ 和 netutil/ 目录说明
- middleware 新增 bodylimit/ 和 errorintercept/ 目录说明
- 更新日期为 2026-04-07

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 17:51:31 +08:00

935 B
Raw Permalink Blame History

.github

Purpose

GitHub 配置目录,包含 CI/CD 工作流定义,自动化构建、测试和基准测试回归检测。

Subdirectories

Directory Purpose
workflows/ GitHub Actions 工作流定义

For AI Agents

Working In This Directory

  • CI 工作流在 PR 和推送时自动触发
  • 基准测试回归检测防止性能退化合并
  • 工作流使用 Makefile 命令执行任务

Testing Requirements

  • CI 自动运行测试,无需手动触发
  • 本地可通过 make check 预验证

Common Patterns

  • 工作流触发条件push 到 master、PR 创建/更新
  • 测试步骤fmt → lint → test → benchmark
  • 回归检测:比较基准测试结果差异

Dependencies

Internal

  • ../Makefile - 构建命令定义
  • ../scripts/ - 辅助脚本