You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Guides the team through full releases and hotfix releases of the Cosmos DB .NET SDK.'
4
+
tools:
5
+
- read
6
+
- search
7
+
- edit
8
+
- terminal
9
+
---
10
+
1
11
# Release Copilot Agent
2
12
## Azure Cosmos DB .NET SDK (azure-cosmos-dotnet-v3)
3
13
@@ -12,6 +22,9 @@
12
22
```
13
23
@ReleaseCopilotAgent start hotfix
14
24
```
25
+
```
26
+
@ReleaseCopilotAgent add missed PRs
27
+
```
15
28
16
29
**In the Copilot CLI (terminal):**
17
30
```
@@ -20,19 +33,23 @@ I want to start a minor release
20
33
```
21
34
I want to start a hotfix release
22
35
```
36
+
```
37
+
I need to add missed PRs to a release
38
+
```
23
39
24
40
> **Note:** The Copilot CLI loads these instructions via `.github/copilot-instructions.md`. All GitHub MCP tools, PowerShell, and file editing tools are built-in — no additional extensions needed.
25
41
26
42
**What the agent will do:**
27
-
1. Ask whether to run in **Minor Mode** or **Hotfix Mode**
43
+
1. Ask whether to run in **Minor Mode**, **Hotfix Mode**, or **Add Missed PRs**
3. Determine current and target versions from `Directory.Build.props`
30
46
4. Generate changelog entries from merged PRs (filtering out `[Internal]`)
31
-
5. Bump version numbers following versioning rules
32
-
6. Build the SDK and generate API contract files via GenAPI
33
-
7. Create a release PR with API diff in the description
34
-
8. Ensure that a full test suite passes, including contract enforcement tests.
35
-
9. Guide through post-merge pipeline queuing and NuGet publish
47
+
5. Prompt for any additional PRs that were missed by automatic discovery
48
+
6. Bump version numbers following versioning rules
49
+
7. Build the SDK and generate API contract files via GenAPI
50
+
8. Create a release PR with API diff in the description
51
+
9. Ensure that a full test suite passes, including contract enforcement tests.
52
+
10. Guide through post-merge pipeline queuing and NuGet publish
36
53
37
54
---
38
55
@@ -74,6 +91,7 @@ When the agent is invoked, ask the user:
74
91
> **Which release mode would you like to run?**
75
92
> 1.**Minor Mode** — Minor release (GA + Preview)
76
93
> 2.**Hotfix Mode** — Patch release on an existing release branch (GA + Preview)
94
+
> 3.**Add Missed PRs** — Add PRs that were missed in a previous release changelog
77
95
78
96
Based on the selection, proceed to the corresponding section below.
79
97
@@ -130,7 +148,25 @@ Or use the GitHub MCP `list_pull_requests` tool to fetch merged PRs.
130
148
-`Removes` → **Removed** section
131
149
-`Refactors` → **Fixed** section (or a separate section if preferred)
132
150
133
-
#### 2.3.3 Format Changelog Entries
151
+
#### 2.3.3 Review & Add Missed PRs
152
+
153
+
After generating the filtered PR list, present it to the user and ask:
154
+
155
+
> **Here are the PRs that will be included in the changelog. Are there any additional PRs that should be included that weren't automatically discovered?**
156
+
> Provide PR numbers separated by commas, or type 'none'.
Add the missed PRs to the appropriate changelog category based on their title verb (`Adds`, `Fixes`, `Removes`, `Refactors`). If the PR title doesn't follow the standard format, ask the user which category it belongs to.
166
+
167
+
Re-display the final combined PR list for confirmation before proceeding.
Categorize each PR by its title verb (`Adds` → Added, `Fixes` → Fixed, `Removes` → Removed, `Refactors` → Fixed). If the title doesn't match the standard format, ask the user which category it belongs to.
700
+
701
+
### 6.4 Update the Changelog
702
+
703
+
#### If the release PR is still open:
704
+
705
+
1. Check out the existing PR branch:
706
+
```powershell
707
+
gh pr checkout <PR_NUMBER>
708
+
```
709
+
2. Edit `changelog.md` to add the missed entries under the appropriate version heading and category
710
+
3. Commit and push:
711
+
```powershell
712
+
git add changelog.md
713
+
git commit -m "Release: Adds missed PRs to X.Y.Z changelog"
- Start with: `@IssueFixAgent investigate issue #XXXX` or see Quick Start in the agent file.
57
57
-**ReleaseCopilotAgent** (`.github/agents/release-copilot-agent.agent.md`) — Guides the team through full releases and hotfix releases of the Cosmos DB .NET SDK. Automates changelog generation, version bumping, API contract file generation (GenAPI), and PR creation.
58
-
- Two modes: **Minor Mode** (full GA + Preview release) and **Hotfix Mode** (cherry-pick patch release on any previous version).
59
-
- In VS Code Copilot Chat: `@ReleaseCopilotAgent start minor` or `@ReleaseCopilotAgent start hotfix`.
60
-
- In the Copilot CLI: describe the task naturally (e.g., "I want to start a minor release" or "start hotfix"). The agent instructions are loaded automatically via this file.
58
+
- Three modes: **Minor Mode** (full GA + Preview release), **Hotfix Mode** (cherry-pick patch release on any previous version), and **Add Missed PRs** (add PRs that were missed in a previous changelog).
59
+
- In VS Code Copilot Chat: `@ReleaseCopilotAgent start minor`, `@ReleaseCopilotAgent start hotfix`, or `@ReleaseCopilotAgent add missed PRs`.
60
+
- In the Copilot CLI: describe the task naturally (e.g., "I want to start a minor release", "start hotfix", or "I need to add missed PRs to a release"). The agent instructions are loaded automatically via this file.
61
+
-**MsdataDirectSyncAgent** (`.github/agents/msdata-direct-sync-agent.agent.md`) — Orchestrates syncing the msdata/direct branch with the latest v3 master and msdata direct codebase.
62
+
- In VS Code Copilot Chat: `@MsdataDirectSyncAgent sync msdata/direct`.
63
+
- In the Copilot CLI: describe the task naturally (e.g., "sync the msdata/direct branch with master").
61
64
62
65
If anything here is unclear or you want the file to include additional examples (specific files, common refactor targets, or typical PR reviewers), tell me what to add and I will iterate.
0 commit comments