Skip to content

[codex] 精简 CI 分类与发布脚本#71

Merged
iamsyc merged 3 commits into
mainfrom
codex/ci-trusted-files-seed
May 10, 2026
Merged

[codex] 精简 CI 分类与发布脚本#71
iamsyc merged 3 commits into
mainfrom
codex/ci-trusted-files-seed

Conversation

@iamsyc
Copy link
Copy Markdown
Owner

@iamsyc iamsyc commented May 10, 2026

Summary

  • 数据化 classify 路径分类规则,保留现有 CI output 与 summary 语义
  • 收敛 PR CI trusted script 模型与 release gate 执行路径
  • 提取 release 公共函数,删除未调用的 require_ci_gate.sh

Validation

  • bash -n scripts/lib/release.sh scripts/release/*.sh scripts/ci/static.sh scripts/ci/classify.sh scripts/ci/test_classify.sh
  • shellcheck -x -e SC2016 scripts/ci/static.sh scripts/lib/release.sh scripts/release/*.sh
  • shfmt -d scripts/ci/static.sh scripts/lib/release.sh scripts/release/*.sh scripts/ci/classify.sh scripts/ci/test_classify.sh
  • git diff --check
  • ROOT_DIR=/Users/syc/Project/VoidDisplay TOOL_ROOT=/Users/syc/Project/VoidDisplay scripts/ci/test_classify.sh
  • ROOT_DIR=/Users/syc/Project/VoidDisplay TOOL_ROOT=/Users/syc/Project/VoidDisplay scripts/ci/static.sh
  • ROOT_DIR=/Users/syc/Project/VoidDisplay TOOL_ROOT=/Users/syc/Project/VoidDisplay scripts/ci/xcode.sh --action build --configuration Debug --out-dir .ai-tmp/static-final-xcode-build

Notes

  • Draft PR because workflow behavior must be verified in GitHub Actions.

- 数据化 classify 路径规则并移除 head-script self-test 输出
- 收敛 trusted script 与 release gate 执行路径
- 提取 release 公共函数并删除未调用的 require_ci_gate.sh
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 10, 2026

CI Summary

Run: Open

Check Status Details
Change Scope code code=true
ui=false
script=true
product=false
test=false
ci=true
release=true
dependency=false
tooling=false
docs_only=false
unknown=false
Required Gates derived static=true
dependency=false
unit=false
xcode=false
ui=false
release=true
Dependency Review skipped required=false
high and critical vulnerabilities block
Static Checks success required=true
actionlint, shellcheck, shfmt, SwiftFormat, SwiftLint, action pinning
Unit Tests skipped required=false
Swift tests: n/a
Go packages: n/a
Reason: n/a
Artifact: n/a
Xcode Build skipped required=false
Debug build with zero warning scan
Artifact: xcode-build
UI Smoke skipped required=false
Failure classification is written by ui-smoke-summary.json in each artifact.
Artifacts: ui-smoke-baseline, ui-smoke-permissionDenied, ui-smoke-rebuildFailed
Release Smoke success required=true
arm64=success
intel64=skipped
PR release smoke requires arm64 only.
Artifacts: release-smoke-arm64
Release verify summaries are produced by release.yml before publishing.
Artifacts link Open artifacts
CI Gate success single branch protection check

iamsyc added 2 commits May 10, 2026 17:32
- 为 bootstrap 增加 release-smoke profile

- 只安装 release smoke 需要的 go、jq、rg

- 避免 PR release smoke bootstrap 触发 GitHub API 限流
- 默认 profile 保持 mise install 全量安装

- release-smoke profile 仅在有目标列表时传入工具

- 避免 set -u 下空数组展开中断静态检查
@iamsyc iamsyc marked this pull request as ready for review May 10, 2026 09:44
@iamsyc iamsyc merged commit 3657303 into main May 10, 2026
10 checks passed
@iamsyc iamsyc deleted the codex/ci-trusted-files-seed branch May 10, 2026 09:45
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