Repository navigation
ci(release): isolate qualification job completion headroom - #6881
Conversation
Extract the release-job timeout change from PR #6838 so it can be reviewed independently of research runtime behavior. Signed-off-by: Codex <codex@openai.com> Signed-off-by: song <liusongstep@gmail.com>
loopx-agent
left a comment
There was a problem hiding this comment.
Reviewer: model_agent · gpt-6.1-sol · OpenAI · runtime_reported · reasoning_effort=max
动机
维护发布包的维护者,以及等待可验证安装包的用户。
同一组构建和验证步骤若超过原来的二十分钟,总 job 会结束,后面的检查和上传没有机会运行;本次只把整个 job 的可用时间增加到三十分钟。
已核对唯一执行差异为总超时二十到三十分钟;没有改动任何场景时限、包来源、证明或发布门禁。
本 PR 不证明完整 release 已成功,也不改变模型、benchmark、产品状态或发布权限。
改动思路
复用现有 build job 的单个总时限,足以提供额外完成时间;另建重试或发布流程会引入无必要的来源与权限复杂度。
本 PR 仅提供发布构建 job 的完成余量,不承接研究运行时功能或宣称正式发布成功。
总 job 的执行窗口与单个场景的截止时间是两层控制。这里调整前者,让既有 browser、managed runtime、契约、attestation 和上传序列有额外完成时间;后者的测试断言、执行顺序和失败传播没有改动。直接不改会保留相同整体时限,放宽场景则会改错边界。没有新增队列、发布者或用户操作轮次。
具体改动
已检查目标分支至精确 head 70ab394b57b82186cf1c552b47e3170e3a55646b 的完整 diff:一个 workflow,新增五行、删除一行,其中四行是解释性注释。依据 docs/product/release-readiness.md,不可变 spec_revision=dc45c128d630cd8f043690a9a00251615d7d13b4:Compatibility Gate 的既有验收步骤完整保留;Named Version Contract 的 tag/package 身份、来源及 Trusted Publisher 门禁完整保留。此处验证的是该维护切片,没有把完整 release 资格提前判成通过。
关键代码讲解
jobs.build.timeout-minutes由 20 改为 30。它控制同一 runner job 的总时长;不会把原本失败的 scenario 或校验结果变成成功。jobs.build.steps继续按原来源解析、打包和验证顺序执行。我从不可变 base 读取完整文件,独立替换这一处时限与四行注释,结果与 head 逐字节一致;周边触发条件、权限和后续 job 依赖未变。
本次复用既有 workflow owner,未新增控制面词汇、持久状态、兼容分支或用户入口。#6838 中的其他研究改动不在这个 diff,也不是本切片的合并依赖。
对主干的风险
独立运行 python -m pytest -q tests/test_ci_resource_policy.py,132 项通过。标准 premerge 的四项直接检查、十项目录 canary 与一项公开边界检查全部通过,无失败和人工 hold;双语 RFC 检查也通过,没有 RFC 改动。exact-scope change-quality 收据为 pass。
最强反例是有场景本来就失败,或整个构建仍超过三十分钟。完整文件对照确认没有任何测试、失败检查或发布条件被改掉,所以这些情况仍必须失败;本地检查不能证明后续 hosted build 一定完成。最多增加十分钟 runner 使用余量,这是维护成本,不是性能提升。本次遵守 wait_for_ci=false,没有查询、轮询或等待 CI。
我的整体评价
APPROVE,限 70ab394b57b82186cf1c552b47e3170e3a55646b。 该独立维护任务已完成,机制与问题相称。long_horizon=preserved,Goal、执行权和结算没有改变;user_experience=preserved,安装消费者没有新增配置或确认。保留现有 owner 的单一时限,比新增重试框架更清楚,也能单独撤回。完整正式版的 exact-commit 检查和实际资产读回仍属于发布步骤;这份审批不把时间余量、测试数量或上传机会当作发布成功。
English verdict: APPROVE — 70ab394b57b82186cf1c552b47e3170e3a55646b. Only the enclosing build timeout changes from 20 to 30 minutes; all scenario, source, permission and publication gates remain byte-identical. Independent 132 policy tests and 15 premerge checks passed. Additional headroom does not prove hosted completion, performance or release readiness.
Goal And Delivered Outcome
Extract the release qualification timeout from #6838 into an independently reviewable maintenance PR. Release run 39196404607 reached the existing 20-minute job window while the installed-page browser step was active; the later managed-runtime, contract, attestation and upload steps were skipped.
This changes only the build job's timeout from 20 to 30 minutes, with the original explanatory comment. Scenario deadlines and qualification gates retain their existing definitions.
main, pinned atdc45c128d630cd8f043690a9a00251615d7d13b4.eac81014fd3a8842ddd420d7908657af107c6787).Author Declaration
.github/workflows/release-artifacts.ymlScope And Continuation
Complete within this maintenance scope. The research runtime and outcome features from #6838 / #6784 are being published as a dependency-ordered set of separate PRs. This first slice can be reviewed and reverted independently.
Validation
e8afca42488b42087677b9f43f023830f15fa363.70ab394b57b82186cf1c552b47e3170e3a55646b; its tree exactly matches the locally tested tree.python -m pytest -q tests/test_ci_resource_policy.py— 132 passedgit diff --check; unchanged workflow structure outside the timeout/commentFrontend / Visual Evidence
Type of Change
Boundary Checklist
发布、进入 main 与集成证据(2026-10-20)
70ab394b57b82186cf1c552b47e3170e3a55646b;tree:e8afca42488b42087677b9f43f023830f15fa363。已于 2026-10-19 18:12:37 UTC 由loopx-agent合入main(merge7f52528c9553088409253a8d37f24a37c91ad8da)。fe3b1f7b382e,tree6bbf110b1cb2535975b2389558a86dff73792926。它保留原d1dc8ebfe7ff0ce888c8e7a6b7a5051413f29af2与最新 C37368ca0286d503a93e50b26ab24755a5fb429b2f两侧祖先;真实 Git merge-tree 与 GitHub tree 一致、零冲突,仅增 A3 的两文件 Markdown 诊断修复。45d742088a3f7896a0a008761f68d2437398bcd1。本轮观察的 maine4190c30d7f94886dddd8e06b899664df34120f9已另有变化,进入主干前须另行更新与验证。原d1dc8的 supplied-candidatein_sync收据保留历史绑定;后续正式 owner 收据见总进度,不将旧收据改标为新 main 的资格。d1dc8/cb8:control-plane TypeScript 50.754 秒通过,标准 Chat build 131.930 秒通过,Outcome 恢复 97.616 秒通过,独立正常首屏 41.605 秒通过,Worker readback 126.422 秒通过,research-history 功能场景 116.004 秒通过。该版本的 8 张可读截图与验证摘要 已发布;后继两文件修复不改变这些 UI 输入,截图保留真实拍摄版本。