Skip to content

Conversation

@edsiper
Copy link
Member

@edsiper edsiper commented Nov 11, 2025


Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

Summary by CodeRabbit

  • Chores
    • Updated release workflow to designate version 4.2 as the latest release, with version 4.1 marked as not latest.

@coderabbitai
Copy link

coderabbitai bot commented Nov 11, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

The GitHub Actions staging-release workflow is updated to designate version 4.2 as the latest release, replacing version 4.1. Changes are applied consistently across release creation, documentation generation, and version update job sections within the same workflow file.

Changes

Cohort / File(s) Summary
Release workflow version update
.github/workflows/staging-release.yaml
Renamed 4.1 release step to "not latest," added new 4.2 release step as "latest" across release creation, docs generation, and version update workflows with consistent make_latest flag and release metadata handling

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

  • Single file with repetitive, homogeneous changes applied across multiple job sections
  • Straightforward configuration updates (step renaming and duplication)
  • Verify consistency of version flags and metadata across all affected job sections

Possibly related PRs

Suggested labels

docs-required

Suggested reviewers

  • cosmo0920
  • patrick-stephens
  • niedbalski

Poem

🐰 A new four-point-two takes flight,
As four-point-one steps out of sight,
The latest badge hops right along,
Release workflows sing this song,
Version updates hop just right! 🚀

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch staging-release-4.2

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d814153 and cc6cc9e.

📒 Files selected for processing (1)
  • .github/workflows/staging-release.yaml (4 hunks)

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.

@edsiper edsiper merged commit 6bc0143 into master Nov 11, 2025
14 of 15 checks passed
@edsiper edsiper deleted the staging-release-4.2 branch November 11, 2025 21:07
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 853 to 854
tag_name: v${{ inputs.version }}
make_latest: true

Choose a reason for hiding this comment

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

P1 Badge Stop tagging 4.1 releases as latest

The step renamed to "Release 4.1 - not latest" still passes make_latest: true to softprops/action-gh-release. When a 4.1.x patch is published after 4.2 exists, GitHub will flip the latest release pointer back to 4.1.x, hiding the actual current 4.2 release and confusing downstream automation that relies on the latest tag. This flag should be false like the other non‑latest series.

Useful? React with 👍 / 👎.

Comment on lines +983 to 988
- name: Release 4.1 - not latest
if: startsWith(inputs.version, '4.1')
uses: actions/checkout@v5
with:
repository: fluent/fluent-bit-docs
token: ${{ secrets.GH_PA_TOKEN }}

Choose a reason for hiding this comment

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

P1 Badge Update 4.1 docs on the dedicated branch

In the docs PR job the new "Release 4.1 - not latest" block still checks out the default branch (no ref), whereas all other non‑latest series checkout their version branches. After 4.2 becomes latest, running the workflow for a 4.1.x patch will push documentation changes to the master/latest branch instead of the 4.1 branch, overwriting current docs. This step should specify ref: 4.1 similar to the preceding entries.

Useful? React with 👍 / 👎.

uses: actions/checkout@v5
with:
repository: fluent/fluent-bit-docs
token: ${{ secrets.GH_PA_TOKEN }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

@edsiper / @cosmo0920 need to add ref: 4.1 here otherwise it'll checkout master branch

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