ci: add manual LAT CI hub workflows - #467
Draft
xiezyang wants to merge 1 commit into
Draft
Conversation
xiezyang
marked this pull request as draft
September 7, 2026 07:44
Add an opt-in upstream Actions entry that resolves an open lat-opensource/lat pull request from the GitHub API and dispatches its exact source repository, repository ID, branch, head SHA, and base SHA to the LAT CI service. Accept upstream branches and external forks for manually approved upstream CI requests. Keep the workflow manual so untrusted pull request code is not executed automatically on the self-hosted test machine. Add a callback workflow that creates the final LAT CI Check Run on the tested upstream commit after the CI service reports completion. Signed-off-by: Zhaoyang Xie <xie_zyang@163.com>
xiezyang
force-pushed
the
codex/upstream-manual-lat-ci-hub
branch
from
September 7, 2026 07:57
3c49dea to
c7df30e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更说明
新增两个手动触发的 GitHub Actions workflow,用于上游仓库的 LAT CI。
Request LAT CI (manual):上游维护者可选择任意开放 PR,手动发起测试。Publish LAT CI check:测试完成后,在被测提交上创建最终的LAT CI检查状态。验证
使用 PyYAML 成功解析两个新增 workflow 文件。
确认请求 workflow 会转发 GitHub API 返回的实际 PR 头仓库和仓库 ID,不再要求 PR 必须来自固定 fork。
已运行 CI 调度相关测试:
python3 -m unittest tests.test_github_workflow_request tests.test_github_dispatch_check tests.test_github_ci_workflow结果:16 项测试通过。
已读取真实上游开放 PR LATX, opt: Add RIP-relative and complex address caches #466 的元数据。该 PR 来自外部 fork
y347812075/lat,验证了新的来源转发格式可以处理非固定 fork 的 PR。未执行完整端到端 CI:workflow 需先合入上游仓库,并配置调用测试服务所需的 Actions Secret。
检查项
CONTRIBUTING.md。git commit -s)。