Skip to content

docs(agents): correct release flow — auto-tag, not manual#93

Merged
ANcpLua merged 2 commits intomainfrom
docs-release-flow-auto-tag
May 4, 2026
Merged

docs(agents): correct release flow — auto-tag, not manual#93
ANcpLua merged 2 commits intomainfrom
docs-release-flow-auto-tag

Conversation

@ANcpLua
Copy link
Copy Markdown
Owner

@ANcpLua ANcpLua commented May 4, 2026

Summary

  • Replace manual-tag step in the ecosystem Release flow with the actual auto-tag-on-merge behavior:
    • compute_version auto-bumps patch from latest v* tag
    • Must Publish Packages gate checks *.nuspec, src/**/*, tests/**/*
    • gh release create v$VERSION creates the GitHub release and the tag in one step
  • Note that humans only push a tag to override the auto-patch (force minor/major bump)

Test plan

  • Doc-only — no CI gates affected; deploy job will skip (no src/** change)

🤖 Generated with Claude Code

CI's gh release create handles tag creation on merge; humans don't push tags.
Old wording implied a manual tag step that hasn't matched reality since v3.3.1.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 4, 2026 10:42
@ANcpLua ANcpLua enabled auto-merge (squash) May 4, 2026 10:42
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 4, 2026

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • AGENTS.md is excluded by none and included by none

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 65e35cc2-0990-4c8a-96fc-c0a14f3392ec

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the AGENTS.md documentation to reflect the automated release flow, specifically detailing how the publish workflow handles versioning and tagging. Feedback was provided to clarify the instructions for manual version bumps to ensure the workflow correctly honors manually pushed tags.

Comment thread AGENTS.md Outdated
- `deploy` job pushes packages to NuGet via trusted publishing, then `gh release create v$VERSION` creates the GitHub release **and the tag** in one step
3. NuGet indexes in ~4-8 minutes — downstream repos pick up via Renovate

Manual `git tag vX.Y.Z` on `main` is **not** part of the flow — the workflow owns version computation and tag creation. To force a minor/major bump instead of the auto-patch, push a tag manually before the workflow runs (compute_version honors the existing tag on HEAD).
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The instruction to "push a tag manually before the workflow runs" is ambiguous because the workflow triggers immediately upon merge. It is clearer to specify that the tag should be pushed to the commit on main to ensure the version computation logic honors it. Additionally, if the workflow has already started, it may need to be re-run to pick up the manual tag.

Suggested change
Manual `git tag vX.Y.Z` on `main` is **not** part of the flow — the workflow owns version computation and tag creation. To force a minor/major bump instead of the auto-patch, push a tag manually before the workflow runs (compute_version honors the existing tag on HEAD).
Manual git tag vX.Y.Z on main is not part of the standard flow — the workflow owns version computation and tag creation. To force a minor/major bump instead of the auto-patch, push the desired tag to the commit on main (the compute_version step honors an existing tag on HEAD).

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9d8a790d03

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread AGENTS.md Outdated

### Release flow

Tagging is automated, not manual:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Reconcile contradictory release-trigger guidance

This new section says releases are triggered automatically on merges to main, but the earlier “Cross-Repo Awareness” bullet still states that publish triggers on v* tag pushes (AGENTS.md line 203). Keeping both instructions in the same file makes the operational runbook ambiguous and can lead maintainers to follow the wrong release path. Please update the older bullet so the document has one consistent trigger model.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the ANcpLua.Agents release documentation to reflect the repository’s current automated tagging and publishing behavior driven by the publish GitHub Actions workflow.

Changes:

  • Replaces the old “manual tag on main” step with the actual on-merge auto-versioning + auto-tagging flow.
  • Documents compute_version patch auto-bump behavior and the Must Publish Packages path gate.
  • Notes that gh release create creates both the GitHub release and the tag during deploy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md Outdated
- `deploy` job pushes packages to NuGet via trusted publishing, then `gh release create v$VERSION` creates the GitHub release **and the tag** in one step
3. NuGet indexes in ~4-8 minutes — downstream repos pick up via Renovate

Manual `git tag vX.Y.Z` on `main` is **not** part of the flow — the workflow owns version computation and tag creation. To force a minor/major bump instead of the auto-patch, push a tag manually before the workflow runs (compute_version honors the existing tag on HEAD).
Previous wording implied the SDK's auto-tag-on-merge applies ecosystem-wide. It doesn't:
- Sdk: auto-bump-on-merge, workflow creates tag + release
- Roslyn.Utilities, Agents: manual tag push triggers publish + release
- Analyzers: manual tag push triggers publish only (no GH release)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ANcpLua ANcpLua merged commit 4f5ec86 into main May 4, 2026
13 checks passed
@ANcpLua ANcpLua deleted the docs-release-flow-auto-tag branch May 4, 2026 11:06
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