release-runbook
Skill3.6k starsChanged 4 months agoApache-2.0View on GitHub
Use when drafting, creating, or updating a GitHub release for elastic/elasticsearch-net (any 9.x or 8.19.x patch). Covers branch targeting, backport linking, per-PR sub-bullets, and how to summarize regenerate-client PRs with optional upstream correlation to elastic/elasticsearch-specification and elastic/client-generator-net.
- Commits and pushes
1 other project uses a version of this.
Trending
Quiet since September.about the whole repository
Most recently taken up by
- nibzard/skillstheir own version, first seen Feb 6, 2026
Who's talking about elastic/elasticsearch-net
- dotnet/runtime“[API Proposal]: ReadOnly empty collection singletons”GitHub · Sep 22, 2022 · 16 reactions
- olivere/elastic“Add Point in Time API functionality”GitHub · Nov 13, 2020 · 8 reactions
- elastic/elasticsearch-specification“Multiple processor classes are missing”GitHub · Aug 9, 2023 · 4 reactions
- OrchardCMS/OrchardCore“Elasticsearch feature :sparkles::boom: (Lombiq Technologies: OSOE-83)”GitHub · Jan 22, 2022 · 4 reactions
- dotnet/runtime“HttpClient socket reuse behavior different on linux/osx/win”GitHub · Jun 19, 2017 · 4 reactions
The biggest 5 of 26 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 26
Talked about on GitHub (26 times).
On GitHub · 26
- Sep 22, 2022[API Proposal]: ReadOnly empty collection singletons — dotnet/runtime16 reactions · 19 comments
- Nov 13, 2020Add Point in Time API functionality — olivere/elastic8 reactions · 1 comment
- Aug 9, 2023Multiple processor classes are missing — elastic/elasticsearch-specification4 reactions
- Jan 22, 2022Elasticsearch feature :sparkles::boom: (Lombiq Technologies: OSOE-83) — OrchardCMS/OrchardCore4 reactions · 61 comments
- Jun 19, 2017HttpClient socket reuse behavior different on linux/osx/win — dotnet/runtime4 reactions · 8 comments
21 more on GitHub
- Dec 29, 2016Migrate low level code to Elasticsearch.NET — ElasticLINQ/ElasticLINQ3 reactions · 6 comments
- Dec 4, 2025Add clients to updatecli automation — elastic/docs-builder2 reactions · 3 comments
- Mar 27, 2024[BUG] Recently updated dependency Elastic.Transport 0.4.18 break the use of ElasticsearchSinkOptions — elastic/ecs-dotnet2 reactions · 3 comments
- Jul 4, 2019track_total_hits should be Union of boolean and integer — elastic/elasticsearch2 reactions · 3 comments
- Jan 3, 2019Enforced codestyles through editorconfig and resharper settings. — elastic/apm-agent-dotnet2 reactions · 6 comments
- Feb 25, 2026Add `LOOKUP JOIN` support and various fixes — elastic/esql-dotnet1 reaction · 1 comment
- Apr 28, 2025Change `InnerHits.fields` from `Fields` to `Field[]` — elastic/elasticsearch-specification1 reaction · 2 comments
- Mar 17, 2025Clean up broken links and unused variables in docset.yml files — elastic/docs-content1 reaction · 2 comments
- Mar 6, 2025Add search_inference_id property — elastic/elasticsearch-specification1 reaction · 2 comments
- Jul 2, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.14.4 — ErsatzTV/legacy1 reaction · 1 comment
- Jun 21, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.14.3 — ErsatzTV/legacy1 reaction · 1 comment
- Jun 14, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.14.2 — ErsatzTV/legacy1 reaction · 1 comment
- Jun 12, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.14.1 — ErsatzTV/legacy1 reaction · 1 comment
- Jun 7, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.14.0 — ErsatzTV/legacy1 reaction · 1 comment
- May 30, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.13.15 — ErsatzTV/legacy1 reaction · 1 comment
- May 29, 2024Bump Elastic.Clients.Elasticsearch from 8.13.12 to 8.13.13 — ErsatzTV/legacy1 reaction · 1 comment
- Feb 9, 2024[Feature] Implement support for AOT compilation — elastic/elastic-transport-net1 reaction
- Oct 25, 2019Range queries logs inconsistent with documentation — elastic/elasticsearch1 reaction · 7 comments
- Jun 24, 2019Add support for Elasticsearch.Net — elastic/apm-agent-dotnet1 reaction · 3 comments
- May 31, 2019Feature request: List stored scripts endpoint. — elastic/elasticsearch1 reaction · 4 comments
- Sep 22, 2026Bump Elastic.Clients.Elasticsearch from 8.17.1 to 9.5.2 — ericksonlopezf/dotnet-pagination0 reactions
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- nibzard/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Read the version from the user's request, pick the branch deterministically.
- Very specific: line 82
If a backport, replace the line with the original main PR's title (no [X.Y] prefix), author, and URL.
- Distinctive: line 92
Skip sub-bullets entirely: when the title is already fully self-describing — simple version bumps, trivial renames, dependency updates.
- Distinctive: line 160
If correlation isn't obvious within a few minutes, fall back to client-side analysis.
- Very specific: line 184
If two or more [X.Y] Regenerate client PRs fall in the release window, diff each, categorize each, combine + dedupe, then pick the top ≤5 …
- Distinctive: line 225
Never include AI/Claude attribution anywhere in release notes.
- Distinctive: line 245
Use this as the structural target.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
elasticsearch-net Release Runbook
How to draft a GitHub release for elastic/elasticsearch-net. Always work from the GitHub auto-generated baseline and enhance it — don't write release notes from scratch.
Conventions (must follow)
targetCommitish= the major.minor branch. 9.3.x →9.3, 9.4.x →9.4, 8.19.x →8.19. NEVERmain. Most important rule.- Backports reference the original main PR only. When the GH baseline lists a
[X.Y]backport, replace it with the original main PR (drop the[X.Y]prefix). The backport PR is not linked at all — not the URL, not the number, not the bot author. Rationale: attribute the work to where it was originally done; the backport is an internal mechanism, not user-facing. - Issue references.
Fixes <full-issue-url>for main bullets,(#issue)shorthand for sub-bullets. - Regenerate PR uses the
[X.Y]branch-prefixed PR, never the main one. Summarize with up to 5 grounded non-breaking sub-bullets, plus every breaking change (see rule 9). - Multiple regenerate PRs in one release. Combine into one line item; link both PRs.
- Always create the release as a draft. Use
gh release create ... --draft. Never publish — the user reviews and publishes manually. Default to--drafteven when the user's request doesn't explicitly say "draft" — a request to "create release X.Y.Z" is not authorization to publish. Rationale: publishing has user-visible consequences (notifications, package release pipelines, public visibility) the user wants to control manually after reviewing the generated notes. - Every non-regen PR gets up to 2 sub-bullets describing what changed/fixed/improved. Skip when the title is already fully self-describing.
- Best-effort upstream correlation for the regen PR — try to match diffs to PRs in
elastic/elasticsearch-specification(spec changes) andelastic/client-generator-net(generator changes). Optional grounding; don't fabricate matches. - Breaking changes are never capped. Every breaking change gets its own sub-bullet, prefixed
**Breaking**(or**Breaking (area)**when there are enough to group by Elasticsearch area), and these do not count against the sub-bullet caps in rules 4 and 7. List them after the non-breaking bullets. When a release carries any breaking change, open the notes with a> [!WARNING]callout telling readers to review the list before upgrading. Rationale: a cap that silently drops a breaking change leaves users to discover it as a compile error after upgrading; 8.19.0 set the> [!WARNING]precedent.
Quick reference: version → target branch
| Version line | Target branch |
| 9.4.x | 9.4 |
| 9.3.x | 9.3 |
| 8.19.x | 8.19 |
Read the version from the user's request, pick the branch deterministically. If the version line is unfamiliar, ask before guessing.
Workflow
Six phases: gather → baseline → enhance non-regen → analyze regen → review → draft.
1. Gather PRs and closed issues since the previous tag
Find the previous tag on the same major.minor:
gh release list -R elastic/elasticsearch-net --limit 10PRs merged into the branch since the previous tag's date:
gh pr list -R elastic/elasticsearch-net --state merged --base <branch> \
--search "merged:>=<prev-tag-date>" \
--json number,title,author,baseRefName,body,url,closingIssuesReferencesRecently closed issues — used in step 4 to ground regen sub-bullets:
gh issue list -R elastic/elasticsearch-net --state closed \
--search "closed:>=<prev-tag-date>" \
--json number,title,closedAt,url --limit 502. Generate the GH baseline
gh api repos/elastic/elasticsearch-net/releases/generate-notes \
-F tag_name=X.Y.Z -F target_commitish=X.Y -F previous_tag_name=X.Y.W \
-q .bodyThis produces the canonical skeleton: ## What's Changed, then bullets, optional ## New Contributors, then **Full Changelog**: .../compare/X.Y.W...X.Y.Z. Use it as-is — do not add ### Bug Fixes / ### Features category headers (no prior release uses them).
3. Enhance each non-regenerate line
For every non-regen PR in the baseline:
Detect backports. Signals: title starts with [X.Y], body mentions "backport"/"cherry-pick"/an original PR. Find the original:
gh pr view <num> -R elastic/elasticsearch-net --json body,commits
gh pr list -R elastic/elasticsearch-net --state merged --base main \
--search "<title-keywords-without-[X.Y]-prefix>"If a backport, replace the line with the original main PR's title (no [X.Y] prefix), author, and URL. The backport PR is not mentioned.
Link related issues. From gh pr view <num> --json closingIssuesReferences,body, render as Fixes https://github.com/elastic/elasticsearch-net/issues/<n> inline.
Add ≤2 sub-bullets describing what changed/fixed/improved. Sources in priority order:
- PR body — if it explains the problem/fix in plain language, distill it.
- Closing issue title/body — the user-visible symptom or expected behavior.
- The diff — for small targeted PRs, the changed code paths often imply the bullet (e.g. "now supports X in Y", "no longer throws Z when W").
Skip sub-bullets entirely when the title is already fully self-describing — simple version bumps, trivial renames, dependency updates. Don't pad.
Format:
* <PR title> by @<author> in <PR url>
* <bullet 1>
* <bullet 2>4. Analyze the [X.Y] Regenerate client PR(s)
This is the heart of the runbook. The PR body is always "As titled.", so all signal comes from the diff.
Pick the branch-prefixed PR, e.g. [9.3] Regenerate client. NEVER the main Regenerate client PR.
gh pr view <num> -R elastic/elasticsearch-net --json files,additions,deletions
gh pr diff <num> -R elastic/elasticsearch-netCategorize changes by file-path signal:
| Signal | Category |
New *Request.g.cs + *Response.g.cs triplet under _Generated/Api/<area>/ | New endpoint (likely spec change) |
Deleted *Response.g.cs under _Generated/Api/ | Removed/consolidated response (potentially breaking; spec change) |
New *.g.cs under _Generated/Types/QueryDsl/ or Aggregations/ | New query/aggregation type (spec change) |
New small enum/type file under _Generated/Types/ (e.g. *Flag.g.cs) | New enum value or type (spec change) |
Added DefaultRequestConfiguration { Accept = ... } block | Content-type fix (spec change — often resolves a deserialization bug) |
*.csproj version change (e.g. Elastic.Transport) | Dependency bump |
| Same code-shape change applied uniformly across many existing files (converter pattern, attribute, init block) | Generator change — likely from elastic/client-generator-net |
Small +/- on existing *Request.g.cs (XML doc only) | Skip — not user-facing |
In a modified *.g.cs: changed property type, removed/renamed member, or a member gaining/losing required | Breaking change (uncapped, rule 9) |
A sealed class becoming interface I* alongside new per-variant types and a *Factory | Breaking change: variant family split |
Changed union arm or discriminator string in a modified *.Converters.g.cs | Behavior fix — the old code mis-deserialized that arm |
Breaking changes hide in modified files, not added ones. The path signals above only catch new and deleted files, so diff the modified generated sources too:
git diff <prev-tag> origin/<branch> --name-status -- src/Elastic.Clients.Elasticsearch/_Generated
git diff <prev-tag> origin/<branch> -- '**/_Generated/**/*.g.cs'A regen touching hundreds of files is too large to read directly, and the request-converter metadata and XML doc churn swamp the real signal. Delegate the sweep to a subagent, telling it to ignore .g.xml files, XML doc comments, SpecReferences.xml and request-converter metadata, and to report changed property types, removed members, new required members and renamed members. Verify each reported breaking change against the actual diff hunk before writing it into the notes.
Cross-reference with the closed-issue list from step 1. Match symptoms to categorized changes (e.g. issue "FieldType missing Wildcard" → enum addition; issue "SearchMvtAsync TransportException" → content-type fix). When matched, use the issue title for the bullet text and link (#issue).
Correlate to upstream repos (best effort). Two upstream sources can drive client diffs:
Spec changes (new endpoints, types, enums, fields) → query elastic/elasticsearch-specification:
gh pr list -R elastic/elasticsearch-specification --state merged \
--search "merged:>=<prev-tag-date>" --json number,title,url,body --limit 50Match by path/area (client _Generated/Api/Reindex/Cancel*.g.cs ↔ spec PR touching specification/_global/reindex/CancelReindex*) or by keyword (spec PR title "Add Wildcard to FieldType" ↔ client adds Wildcard enum value).
Generator changes (uniform code-shape changes across many files) → query elastic/client-generator-net:
gh pr list -R elastic/client-generator-net --state merged \
--search "merged:>=<prev-tag-date>" --json number,title,url,body --limit 50When a match is found, use the upstream PR's title/body to write a more accurate bullet — the spec/generator PR usually states the user-facing intent more clearly than the client diff. Linking the upstream PR in the release notes is optional (prior releases haven't); default to enriched bullet text rather than added URLs unless the upstream PR is materially significant (major area, breaking change).
If correlation isn't obvious within a few minutes, fall back to client-side analysis. Don't fabricate matches.
List every breaking change in its own sub-bullet (uncapped, per rule 9). Then pick the top ≤5 non-breaking bullets, prioritized:
- Bullets grounded in BOTH a closed issue AND an upstream PR (highest signal)
- Issue-grounded fixes
- New endpoints (spec-grounded if possible)
- Behavior fixes where a generated converter or discriminator was previously wrong
- New query/aggregation/enum types
- Generator improvements with user-visible effects
- Dependency bumps (only if user-visible behavior changes)
Cap the non-breaking bullets at 5 even if more candidates qualify. Never drop a breaking change to fit a cap.
Format:
* Regenerate client by @<author> in https://github.com/elastic/elasticsearch-net/pull/<num>
* Fixes <symptom> (#<issue>)
* <other category bullet>5. Combining multiple regenerate PRs
If two or more [X.Y] Regenerate client PRs fall in the release window, diff each, categorize each, combine + dedupe, then pick the top ≤5 non-breaking bullets across the union (breaking changes stay uncapped). Link both PRs on one line:
* Regenerate client by @<author> in <PR1-url> and <PR2-url>
* <combined-bullet-1>
* ...6. Keep ## New Contributors verbatim
GitHub auto-generates this section from the contributor graph. Don't invent it, don't remove it. If GH omitted it, there are no new contributors this release — that's correct.
7. Pre-draft checklist
targetCommitish= major.minor branch (NOT main)- Tag matches the version, no
vprefix (e.g.9.3.6, notv9.3.6) - Every backport line references the ORIGINAL main PR only (the
[X.Y]backport PR is NOT linked) - Every PR with a related issue references it (
Fixes <url>or(#X)) - Every non-regen PR has ≤2 sub-bullets (or none if title is fully self-describing), not counting breaking changes
- Regenerate line has ≤5 grounded non-breaking sub-bullets
- Every breaking change is listed, prefixed
**Breaking**, and none was dropped to fit a cap > [!WARNING]callout present when the release carries any breaking change- Regen bullets attempted upstream correlation (spec and/or generator) where signals suggest it
- Multiple regen PRs combined into one line, both linked
## New Contributorskept exactly as GH generated it (or omitted if absent)**Full Changelog**: .../compare/<prev>...<current>line present- No category headers added
gh release createinvocation includes--draft
8. Create the draft
ALWAYS use --draft. Never publish a release. Hand the resulting draft URL to the user; the user reviews and publishes manually.
gh release create X.Y.Z \
--target X.Y \
--title X.Y.Z \
--draft \
--notes-file release-notes.mdNever include AI/Claude attribution anywhere in release notes.
Common mistakes
| Mistake | Why wrong |
Targeting main | Releases must cut from 9.3 (or matching minor) |
Using the Regenerate client PR from main | Use the [X.Y] branch-prefixed one |
Adding ### Bug Fixes category headers | No prior release uses them |
Tagging as v9.3.6 | Tags have no v prefix |
Linking the [X.Y] backport PR (or both) | Reference ONLY the original main PR — the backport is not linked |
| >5 non-breaking regen bullets / unsubstantiated bullets | Cap non-breaking at 5; ground each in a diff signal, closed issue, or upstream PR |
| >2 non-breaking sub-bullets on a non-regen PR | Cap is 2 |
| Dropping a breaking change to respect a cap | Breaking changes are uncapped; a missed one becomes a compile error for users |
| Padding sub-bullets when the title already describes the PR fully | Skip them entirely in that case |
| Fabricating an upstream PR correlation | Only correlate when the match is clear; otherwise client-diff analysis |
Publishing the release directly (omitting --draft) | Always create as draft; the user publishes manually |
Canonical example — 9.3.5 (verbatim)
Use this as the structural target. Note that prior releases (including 9.3.5) do not yet have the new ≤2-bullet sub-bullets on non-regen PRs — that rule applies on top of this structure going forward.
## What's Changed
* Hand-craft IndexSettingsTimeSeriesConverter to handle out-of-range dates by @flobernd in https://github.com/elastic/elasticsearch-net/pull/8873
* Fix DefaultMappingFor not consuming `IdPropertyName` and `DisableIdInference` by @flobernd in https://github.com/elastic/elasticsearch-net/pull/8877
* Regenerate client by @flobernd in https://github.com/elastic/elasticsearch-net/pull/8883
* Fixes `FieldType` enum doesnt have `Wildcard` value" (#8826)
* Fixes `SearchMvtAsync` throws `TransportException` on successful `HTTP 200 _mvt` responses with valid binary tile payload (#8867)
* Align LINQ-to-ES|QL integration with `Elastic.Esql` 0.11.0 by @flobernd in https://github.com/elastic/elasticsearch-net/pull/8886
**Full Changelog**: https://github.com/elastic/elasticsearch-net/compare/9.3.4...9.3.5Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

