Repository navigation
[PR] fix(ci): intermediate pushes marked [ework:ci-held] no longer trigger PR CI (only the final push triggers a full run) | fix(ci): [ework:ci-held] 标记的中间 push 不再触发 PR CI(最终 push 唯一全量) - #6784
Merged
Conversation
Every pull_request-triggered job in all 20 PR workflows now carries `if: !contains(github.event.head_commit.message, '[ework:ci-held]')`, merged with pre-existing job conditions where present. Why: the ci-engineer lane rebase/fix sessions push incrementally, and each push spawned ~13 full workflow runs. Queued runs on the same ref are NOT cancelled by the per-ref concurrency groups (cancel-in-progress only covers in_progress), so a 20-push session queued ~260 runs that starved real work (release CI waited behind 73 queued, #5795 incident lineage). Owner policy 2026-11-15: intermediate pushes must not trigger CI; the verified final head push (marker-free) is the single CI pass. Semantics: marker in the commit MESSAGE (subject or body) — GitHub only exposes head_commit.message at trigger time. Non-PR events are unaffected (schedule/workflow_dispatch/empty head_commit => guard true). A held run completes with all jobs skipped; branch-protection required checks stay unsatisfied until the final unmarked run goes green, which is the intended signal that "CI has not been asked yet". No config surface added (owner policy: marker convention, not a knob). (ework-agent, policy: 推一堆后确定没问题再触发 — m17242)
Contributor
📦 Built Package ArtifactBranch: Latest build — install this exact versionnpm install -g billion-context@0.0.10048-pr.6784.2259660This exact version is immutable and reproducible. The rolling Recent builds (commit → version)
Download artifact
tar xzf billion-context-pr6784.tgz
npm install -g packageInstall instructions are refreshed on each push. |
Contributor
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.1200-master.faf0af6 # this exact build
npm install -g billion-context@master # always the newest merged build
|
This was referenced Nov 15, 2026
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.
(ai: anthropic/claude-sonnet-4-5)
Fixes #6783
改了什么
全部 20 个 pull_request 触发的 workflow、42 个 job 统一加:
已有
if:的 job 用&&合并进原条件(42/42 校验过)。ci.yml 头部加了 #CI-hold 契约注释(单一文档源)。语义
[ework:ci-held]的 push → 该 run 全部 job skipped,秒完,不烧 runner;为什么不用别的方案
配套
e-work 侧 ci-engineer 提示词(push 纪律:中间 commit 带标记、最终 head 不带 + 唤醒时检查 head 是否停在标记态)是 ranxianglei/ework 的另一个 PR,单独走。
预检
yaml.safe_load通过;if均含 guard(42/42);