Skip to content

Release: promote develop to main - #191

Merged
ptr727 merged 4 commits into
mainfrom
develop
Jun 23, 2026
Merged

Release: promote develop to main#191
ptr727 merged 4 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Promotes the current develop head to main for release.

Contents:

Standard release promotion: merge (not squash) so develop's history carries to main.

🤖 Generated with Claude Code

ptr727-codegen Bot and others added 2 commits June 23, 2026 05:32
This PR updates the codegen files.

Co-authored-by: ptr727-codegen[bot] <275599072+ptr727-codegen[bot]@users.noreply.github.com>
Closes #188 and #189.

- #188: explicit four-precondition Merge Gate in AGENTS.md; CLEAN alone is never sufficient; condition 3 covers issue-level Copilot comments.
- #189: prerelease guard strips +buildmetadata before the '-' test so SemVer2 build metadata can't false-reject a public release.
- Comment hygiene: strengthened the AGENTS.md comment rule against verbosity creep and de-prosed over-grown comments across workflows, CodeGen, NuGetLibrary, and _version.py.
Copilot AI review requested due to automatic review settings June 23, 2026 17:04

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.

Pull request overview

Release promotion PR that merges the current develop head into main, carrying over the recent merge-gate hardening, prerelease guard fix, and comment-hygiene reductions, plus the latest codegen output update.

Changes:

  • Add an explicit "Merge Gate" checklist to AGENTS.md and tighten comment brevity guidance.
  • Harden the main public-release prerelease guard by stripping SemVer2 build metadata before checking for a prerelease -.
  • Apply repo-wide comment de-prosing across workflows and source, and refresh the generated CodeGen.cs timestamp.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.

Show a summary per file
File Description
PyPiLibrary/src/ptr727_projecttemplate_library/_version.py Shorten versioning docstring while keeping hatchling/release-pipeline pointers.
NuGetLibrary/Library.cs Remove redundant comments about lazy logger caching.
CodeGen/HttpClientFactory.cs Trim/clarify comments around shared vs per-call HttpClient creation behavior.
CodeGen/CommandLine.cs Shorten runtime-option rationale comment while preserving the determinism intent.
CodeGen/CodeGenBuilder.cs Condense runtime determinism comment above codegen entrypoint.
CodeGen/CodeGen.cs Update generated timestamp constant (codegen output refresh).
CodeGen/AssemblyInfo.cs Clarify comment for ReleaseVersion extraction (core vs prerelease/build metadata).
AGENTS.md Add explicit merge gate checklist; tighten comment hygiene rules.
.github/workflows/test-pull-request.yml De-prose the changes job header comment.
.github/workflows/publish-release.yml De-prose concurrency and dispatch-guard comments; keep behavior unchanged.
.github/workflows/merge-bot-pull-request.yml De-prose header comment explaining auto-merge enable/disable behavior.
.github/workflows/check-upstream-version-task.yml De-prose header and resolver validation comments.
.github/workflows/build-release-task.yml Fix prerelease guard to ignore +buildmetadata when checking for -.
.github/workflows/build-pypilibrary-task.yml De-prose the PEP 440 versioning comment before computing the version.
.github/workflows/build-executable-task.yml De-prose restore-cache and artifact-upload comments.
.github/workflows/build-docker-task.yml De-prose Docker login and cache-scoping comments.
.github/workflows/build-datebadge-task.yml De-prose branch input rationale comment.

A merge to main runs the publisher's no-op job only (PUBLISH_ON_MERGE
off by default); publishing is the weekly schedule or manual dispatch.
States it at the merge step so the two-phase Release Model isn't missed
there, and bars triggering a publish without maintainer instruction.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

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.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.

Comment thread PyPiLibrary/src/ptr727_projecttemplate_library/_version.py
main's BuildNumber can exceed develop's briefly after a promotion, so
note --pre "normally" prefers develop, with the transient exception.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

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.

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated no new comments.

@ptr727
ptr727 merged commit b49fd84 into main Jun 23, 2026
25 checks passed
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.

Harden PR Review Etiquette merge gate: 'mergeStateStatus: CLEAN' keeps getting misread as merge-ready

2 participants