Skip to content

Repo-prefixed changelog bundle output names - #3984

Merged
Mpdreamz merged 1 commit into
mainfrom
bundle-filenames
Sep 2, 2026
Merged

Repo-prefixed changelog bundle output names#3984
Mpdreamz merged 1 commit into
mainfrom
bundle-filenames

Conversation

@lcawl

@lcawl lcawl commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Problem

Per #3856 (comment) the changes to the bundle filename make it more likely for multiple repos to overwrite each others' bundles.

Fix

Profile-mode bundles now use {repo}-{product}-{version}.yaml when a repo can be resolved.

Naming

  • Precedence: --repo → profile repobundle.repo → git origin (github.com)
  • If none of those work: warning and the old {product}-{version}.yaml name
  • --plan uses the same helper as the real write, so docs-actions can still trust output_path / cdn_url

Tests cover Kibana-style prefixes, --repo / profile overrides, elastic/kibanakibana, git origin, and the no-repo warning path. Existing github-release / git-ref / cloud fixture assertions were updated (for example elasticsearch-elasticsearch-9.2.0.yaml when repo and product are both elasticsearch).

Not done here

Tests

Prior to this fix, when I ran a command like this in the kibana repo:

docs-builder changelog bundle serverless-release 2026-08-31 ./docs/temp/prs.txt

... it created a file docs/releases/cloud-serverless-2026-08-31.yaml (which is a filename that could be overwritten by the same command run in any of the other repos that create serverless bundles (e.g. elasticsearch).

With the fix, it creates docs/releases/kibana-cloud-serverless-2026-08-31.yaml

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No
  1. If you answered "Yes" to the previous question, please specify the tool(s) and model(s) used (e.g., Google Gemini, OpenAI ChatGPT-4, etc.).

Tool(s) and model(s) used: Cursor Grok 4.6

@lcawl
lcawl requested a review from a team as a code owner August 31, 2026 17:28
@lcawl
lcawl requested a review from theletterf August 31, 2026 17:28
@lcawl lcawl added the fix label Aug 31, 2026
@lcawl
lcawl requested a review from Mpdreamz August 31, 2026 17:28
@github-actions

Copy link
Copy Markdown

@Mpdreamz
Mpdreamz merged commit e54d514 into main Sep 2, 2026
32 checks passed
@Mpdreamz
Mpdreamz deleted the bundle-filenames branch September 2, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants