Skip to content

refactor(workflows): extract shared script helpers#245

Merged
Terry-Mao merged 2 commits into
mainfrom
feat/ai-coding-system-243
Jun 8, 2026
Merged

refactor(workflows): extract shared script helpers#245
Terry-Mao merged 2 commits into
mainfrom
feat/ai-coding-system-243

Conversation

@Terry-Mao

Copy link
Copy Markdown
Owner

Refs #243

Summary

  • 抽出 workflow scripts 的共享 helper:artifact I/O、GitHub API、GitHub event、context snapshot、PR metadata、ledger、issue refs。
  • 迁移 issue/spec/implementation/PR comment/product docs 等 workflow 脚本复用共享 helper,减少重复边界处理。
  • 拆分部分大型入口函数为 parse/run、payload builder、输出写入函数,并补充 helper 合同和回归测试。

Validation

  • PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s .github/aicodingflow-tests
  • PYTHONPYCACHEPREFIX=/tmp/aicodingflow-pycache python3 -m py_compile .github/scripts/*.py
  • git diff --check
  • $review-pr-local -> APPROVE

Base Sync

  • 已 merge 最新 origin/main 到当前分支后重新验证并推送。

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

未发现需要阻止合并的正确性、安全性或工作流契约问题。

@Terry-Mao
Terry-Mao merged commit 308e9f4 into main Jun 8, 2026
3 checks passed
@Terry-Mao
Terry-Mao deleted the feat/ai-coding-system-243 branch June 8, 2026 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant