Skip to content

[ci] another changelog release fix#1075

Merged
SylvainJuge merged 4 commits into
elastic:mainfrom
SylvainJuge:changelog-bundle-release-pre
Apr 27, 2026
Merged

[ci] another changelog release fix#1075
SylvainJuge merged 4 commits into
elastic:mainfrom
SylvainJuge:changelog-bundle-release-pre

Conversation

@SylvainJuge
Copy link
Copy Markdown
Member

  • make changelog bundle on 'pre' release step
  • fix generated changelog
  • fix changelog remove command with missing version
  • make release process depend on release notes

@github-actions
Copy link
Copy Markdown

🔍 Preview links for changed docs

⏳ Building and deploying preview... View progress

This comment will be updated with preview links when the build is complete.

- name: Generate documentation changelog bundle (post release)
if: inputs.phase == 'post'
- name: Generate documentation changelog bundle (pre release)
if: inputs.phase == 'pre'
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

[for reviewer] changelog bundle generation should happen in the "pre" step so we can review the generated changelog bundle when the first release PR is created.

--output docs/releases/${{ env.RELEASE_VERSION }}.yaml \
--description "${description}"
docs-builder changelog remove edot-java-release
docs-builder changelog remove edot-java-release ${{ env.RELEASE_VERSION }}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

adds missing argument, otherwise the remove command fails.

if: ${{ ! inputs.skip_maven_deploy }}
needs:
- validate-tag
- generate-release-notes
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

not strictly required, but makes the release-notes generation be a mandatory step early in the process, if anything fails (fast), then we don't even start the release binary generation and publication which is easier to deal with in case of issue.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this file has been removed by the bundle remove command applied manually for the 1.11.0 release.

Comment thread docs/releases/1.11.0.yaml
@@ -0,0 +1,27 @@
products:
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

resulting changelog bundle that should have been produced if the task had been run in the pre release step, it has been generated by manually calling the following equivalent shell script:

#!/bin/bash

version=1.11.0

description="$(.ci/changelog-bundle-description.sh)"
docs-builder changelog bundle \
  --input-products 'edot-java * *' \
  --output-products "edot-java ${version} ga" \
  --output docs/releases/${version}.yaml \
  --description "${description}"
docs-builder changelog remove edot-java-release ${version}

@SylvainJuge SylvainJuge requested a review from Copilot April 27, 2026 15:14
@SylvainJuge SylvainJuge marked this pull request as ready for review April 27, 2026 15:14
@SylvainJuge SylvainJuge requested review from a team as code owners April 27, 2026 15:14
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 27, 2026

Warning

Rate limit exceeded

@SylvainJuge has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 59 minutes and 30 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 579996db-65ce-4cf9-a548-84a8d35296a2

📥 Commits

Reviewing files that changed from the base of the PR and between 0b8250a and f871c2a.

📒 Files selected for processing (4)
  • .github/workflows/pre-post-release.yml
  • .github/workflows/release-step-3.yml
  • docs/changelog/upstream-update.yaml
  • docs/releases/1.11.0.yaml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • 🛠️ Update Documentation: Commit on current branch
  • 🛠️ Update Documentation: Create PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Copy link
Copy Markdown

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 release automation to generate and consume documentation changelog bundles earlier in the release process, and cleans up generated changelog artifacts accordingly.

Changes:

  • Move docs changelog bundle generation to the pre-release phase and fix the docs-builder changelog remove invocation to include the version.
  • Ensure the main release workflow waits for release notes generation before running the release job.
  • Update release documentation artifacts by adding the 1.11.0 release bundle and removing the now-bundled upstream-update changelog entry file.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
docs/releases/1.11.0.yaml Adds the generated release bundle for 1.11.0 (needs formatting/consistency fixes noted in comments).
docs/changelog/upstream-update.yaml Removes the bundled changelog entry file from docs/changelog.
.github/workflows/release-step-3.yml Makes the release job depend on generate-release-notes.
.github/workflows/pre-post-release.yml Runs changelog bundling during pre-release and fixes the remove command to include the version.

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

Comment thread docs/releases/1.11.0.yaml
@@ -0,0 +1,27 @@
products:
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

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

The file starts with a UTF-8 BOM character before products: (visible as /). This can break some YAML tooling and also differs from most existing release bundles; please remove the BOM so the first key is plain products:.

Suggested change
products:
products:

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

opened elastic/docs-builder#3191 to improve/clarify this.

Comment thread docs/releases/1.11.0.yaml
lifecycle: ga
repo: elastic-otel-java
owner: elastic
description: >-
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

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

description is using a folded block scalar (>-). All other release bundles use a literal scalar (|-), which preserves markdown newlines exactly; folded scalars can subtly change formatting (e.g., list rendering) when the docs are generated. Please switch this to |- for consistency and predictable output.

Suggested change
description: >-
description: |-

Copilot uses AI. Check for mistakes.
Comment thread docs/releases/1.11.0.yaml
* semantic-conventions-java: [1.40.0](https://github.com/open-telemetry/semantic-conventions-java/releases/tag/v1.40.0)

* opentelemetry-java-contrib: [1.55.0](https://github.com/open-telemetry/opentelemetry-java-contrib/releases/tag/v1.55.0)
release-date: 2026-04-27
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

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

release-date is unquoted here. In YAML this will be parsed as a timestamp/date type, while other release bundles quote the date to keep it a plain string. Please quote it (e.g., 'YYYY-MM-DD') to match existing bundles and avoid type-dependent behavior in downstream tooling.

Suggested change
release-date: 2026-04-27
release-date: '2026-04-27'

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

will be adressed with #1076

Comment thread docs/releases/1.11.0.yaml
@SylvainJuge SylvainJuge merged commit b1a63c2 into elastic:main Apr 27, 2026
37 of 39 checks passed
@SylvainJuge SylvainJuge deleted the changelog-bundle-release-pre branch April 27, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants