Repository navigation
[PR] ci(backport): rich receipt on the PR — picked commits, train links, ship pointer - #4473
Conversation
The one-line audit comment proved too thin to read as a receipt (owner: 'success has no receipt'). Render it in the house style of the Merged-Build-Published receipt (see PR #4472 comment 6378977384): train branch link, pushed head sha, the picked commits as a list, a link to the CI runs on the train head, and the exact ship action (Release one-click, tick train) plus the version the train will publish. The pick step now exports picked + head_sha outputs; the range is captured BEFORE the push (after it origin/$TRAIN == HEAD and the range would be empty — caught in local simulation).
📦 Built Package ArtifactBranch: Latest build — install this exact versionnpm install -g billion-context@0.0.5375-pr.4473.c5e8c63This exact version is immutable and reproducible. The rolling Recent builds (commit → version)
Download artifact
tar xzf billion-context-pr4473.tgz
npm install -g packageInstall instructions are refreshed on each push. |
|
Backport to |
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.784-master.f979acd # this exact build
npm install -g billion-context@master # always the newest merged build
|
… the train (ranxianglei#4474) A conflicted backport leaves only a PR comment; CI green on the train head says nothing about fixes that are ABSENT. Before opening the ship PR, reconcile every backport-labeled merge since the train's base tag (merge-commit ranges + squash-shape subjects) against the cherry-pick -x trailers on the train; any no-show renders as a prominent warning section at the top of the ship PR body. Never fails the run — the owner may ship without the straggler, but must see it first. Verified end-to-end against the live repo: stale train (missing the ranxianglei#4470 pick) -> flags {ranxianglei#4473, ranxianglei#4470}; real train (pick present) -> flags {ranxianglei#4473} only, both directions.
Follow-up to #4472 (patch-train bot), owner-requested in-session 2026-10-24: the success receipt was a single bare line — too thin to read as a 回执. This renders it in the house style of the Merged-Build-Published receipt (example):
Mechanics: the cherry-pick step exports
picked(commit list captured BEFORE the push — after itorigin/$TRAIN == HEADand the range would be empty, caught in local simulation) +head_sha; the audit step builds the markdown body (10-commit cap) and keeps the|| truebest-effort contract.Verification: YAML parses (9 steps); both touched
runblocks passbash -n; the body-generation shell logic rendered end-to-end against the real train ref (picked list + markdown + URL encoding for the branch-with-slash CI filter link).Rendered example above was generated locally with the exact same sed/printf pipeline the workflow runs.
No behavior change to gating, picking, or shipping — comment-only (plus the two step outputs feeding it).$(printf '
')