Skip to content

Repo-prefixed changelog bundle output names - #3984

Open
lcawl wants to merge 1 commit into
mainfrom
bundle-filenames
Open

Repo-prefixed changelog bundle output names#3984
lcawl wants to merge 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

@github-actions

Copy link
Copy Markdown

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.

1 participant