Skip to content

Ship the Release Caller Snippet and Retire the Not-Yet-Released Claim - #1479

Merged
ptr727 merged 1 commit into
developfrom
feature/unblock-release-chain-adoption
Sep 9, 2026
Merged

ptr727 merged 1 commit into
developfrom
feature/unblock-release-chain-adoption

Conversation

@ptr727

@ptr727 ptr727 commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • ship catalog/snippets/workflows/publish-release.yml, the NuGet-library release caller stub, pinned to 6c88850128629bb449fd73c7fbf82968c6cd1557 # 2.0.587
  • drop the three adopter-facing claims that the release chain cannot be adopted yet
  • point the release-with-smoke smoke-build job at the hub's build-release-task.yml by pin instead of the repo-local copy that spec/divergences.json dispositions retire

Root Cause

Three places told an adopter the release chain was blocked on the renamed
.NET publish interface reaching a hub release. That interface shipped in
822af248 and released as 2.0.376, so the claim had been false for 211
releases against a current 2.0.587. Nothing fails when a point-in-time
sentence like that stops being true, which is why it went unnoticed.

The same staleness reached the guidance: "Adopting the Gates" told a
release-with-smoke repo to keep calling its own build-release-task.yml
by local path, a file the audit dispositions retire, so a repo working
both surfaces could satisfy neither. The pilot, PhotoCleaner, already
carries the hub-pinned shape and no local copy.

Impact

The publish-release.yml catalog snippet exists, so the workflow with the
most per-repo surface now has a copyable snapshot rather than a shape an
adopter has to hand-resolve. The full shape in "Adopting the Release Chain"
is that snippet byte for byte. The smoke stub grants contents: read,
names its secrets rather than inheriting them (inherit is never used on a
cross-repository call), and lists its enable_* inputs, since every one of
them defaults true on the task.

ptr727/aiopurpleair can proceed with its build-release-task.yml
deletion, which this was blocking.

Out of Scope

The @<hub-main-commit-sha> # <release-tag> placeholders in shapes that
have no catalog snippet of their own stay as they are. Replacing them is
the fleet-level call in #1472, deliberately not pre-empted here.

Two pre-existing findings are filed rather than fixed, neither introduced
by this change:

  • docs/reusable-workflows.md "Adopting the Release Chain" says the smoke
    job passes "the paths-filter's enable_* outputs", while the canonical
    single-target stub emits one release output.
  • The shipped snippet interpolates ${{ github.ref_name }} and
    ${{ github.run_id }} into run: shell text, against the env:-passing
    convention the rest of the tree holds.

Verification

  • scripts/prose_lint.py --diff, scripts/repo_gate.py (eol, eol-coverage,
    sha-pin), spec/validate.py, and scripts/docker_lint.py (markdownlint,
    cspell, editorconfig-checker, actionlint, shellcheck, shfmt,
    PSScriptAnalyzer) all clean.
  • Positive control: corrupting one hex digit of the new pin made sha-pin
    fail on all three lines of the new snippet, so the gate demonstrably
    reaches the added file rather than skipping it.
  • The doc's fenced block and the snippet are byte-identical, checked
    mechanically rather than by eye.
  • Four local strict-review passes recorded; the last returned no findings.

Settles #1473. A develop-targeted pull request registers no closing
reference, so the issue closes with the promotion.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CyuonvNAm8nwkpwzkqq4qU

Three adopter-facing places said the release chain could not be adopted
because the renamed .NET publish interface was not in a hub release. It
shipped in 2.0.376, 211 releases ago, and the current release carries the
post-fix interface with the package push in the caller's own job.

Ship catalog/snippets/workflows/publish-release.yml, the NuGet-library
full shape pinned to 2.0.587, and fill that shape's three placeholder pins
so the snippet and the section agree byte for byte.

Point the release-with-smoke smoke-build job at the hub's
build-release-task.yml by pin. It called the repo's own copy by local
path, a file spec/divergences.json dispositions retire, so a repo working
both surfaces could satisfy neither. The pilot, PhotoCleaner, already
carries the hub-pinned shape and no local copy. The job now grants
contents: read, names its secrets rather than inheriting them, since
inherit is never used on a cross-repository call, and lists its enable_*
inputs, since every one of them defaults true on the task.

The pin placeholders in shapes that still have no catalog snippet stay as
they are, since replacing them is #1472's open fleet-level call rather
than this one.

Closes #1473

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI lite review requested due to automatic review settings September 9, 2026 16:46
@coderabbitai

coderabbitai Bot commented Sep 9, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 4e711ee1-fa8d-42d2-b046-684cd09228ae


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are documentation-and-snippet updates that consistently reflect the current released workflow interfaces and pins without introducing behavioral code risk.

Pull request overview

Ships the release-chain caller snippet and updates adopter documentation to remove stale "not yet released" guidance, aligning the documented and cataloged workflow shapes with the current released build-release task interface.

Changes:

  • Add catalog/snippets/workflows/publish-release.yml, a pinned, copyable release-caller workflow for NuGet-library repos.
  • Update docs/reusable-workflows.md to remove adopter-facing claims that the release chain cannot be adopted yet, and to reference the new snippet.
  • Update catalog/snippets/workflows/README.md to reflect that publish-release.yml now has a shipped snippet and document its role/guarantees.
File summaries
File Description
docs/reusable-workflows.md Removes stale release-blocking claims and updates the documented caller shapes to reflect the shipped snippet and current pins.
catalog/snippets/workflows/README.md Updates snippet eligibility guidance and adds publish-release.yml to the snippet index table.
catalog/snippets/workflows/publish-release.yml Introduces the pinned release caller snippet (including the caller-owned NuGet publish job) for adopters to copy byte-for-byte.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ptr727
ptr727 merged commit 8ce695b into develop Sep 9, 2026
9 checks passed
@ptr727
ptr727 deleted the feature/unblock-release-chain-adoption branch September 9, 2026 16:54
ptr727 added a commit that referenced this pull request Sep 10, 2026
…g, and the Release-Trigger Retirement (#1489)

Promotes thirteen merged pull requests from `develop` to `main`.

## What this promotes

- **#1486** State the `host-tools.json` carry rule and stop the
empty-overlay
warning. `spec/files.json` now requires the declaration unconditionally,
and
  `host_gate.py` no longer warns on an empty one.
- **#1484** Fan the validator's pytest leg out over a `python-versions`
input,
so a caller with more than one interpreter no longer silently loses its
other
legs to a pinned 3.13, with an entry guard that refuses a value
`fromJson`
  would otherwise admit.
- **#1476** Retire the publish-on-merge release trigger, which
`spec/files.json`
applied to an interface contract whose task has no publish-on-merge
path.
- **#1479** Ship the release caller snippet and retire the
not-yet-released
  claim.
- **#1474** Exclude `node_modules` from markdownlint and Docker lint
discovery
  at any depth.
- **#1468** Move the carried-surface cluster off decision, recording the
  measurements and what stays unmeasured on the issues that hold them.
- **#1498** Correct the release-caller snippet's publish-on-merge claim,
raised by CodeRabbit against this promotion and fixed on its own branch,
  since a promotion PR's head is `develop`.
- **#1494** Settle the markdown lint exclusion seam as a nested config.
- **#1492** Check declared deployment environments and fix the
carried-payload
  rule.
- **#1501** Move the session handoff to a chain of labeled issues. Two
of its
units are verbatim fidelity, `AGENTS.md` "Session Scope" and
`GOVERNANCE.md`
"Communicating with the User", so every fleet repo picks them up on its
next
  resync.
- **#1505** Refuse a bare handoff link rather than reading it as no
successor,
  answering a finding raised against this promotion.
- **#1504** Reject a deployment environment name or branch carrying
surrounding
  whitespace, answering two more.
- **#1506** Encode an environment name before it becomes a path segment,
delete
a branch that cannot fire, and dedupe a registry name by case, answering
two
  more and declining one on a reproduction.

## Closing references

A `develop`-targeted pull request registers no closing reference, so the
issues
those pull requests settled close with this promotion.

#1470 is the one that needs a word. Two of its seven acceptance items
are not
met as literally written, and the maintainer's decision to close it here
anyway,
with the basis for both, is recorded on the issue itself.

Closes #1483
Closes #1473
Closes #1487
Closes #1482
Closes #1475
Closes #1470

## Left open deliberately

- **#1499**, **#1500** follow-ups #1501 filed rather than fixed.
- **#1503** the validator-looser-than-its-consumer class, filed from
findings on
this promotion and deliberately not closed by it. Five instances
recorded, and
  the fix is a design decision rather than a check.
- **#1497** the Docker delta list never says to remove the `push:`
block.
- **#1472** the fleet-level pin call, deliberately not pre-empted by
#1479.
- **#1321**, **#1464** carry #1468's decision record and remain in their
own
  scope.

## Verification

`origin/main..origin/develop` merges clean, no end-of-line conflict.
Each
promoted pull request ran the fleet gate set on its own branch before
merging;
this promotion adds no content of its own.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01817rckKywjfoaEV5WF9TKs
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.

2 participants