Skip to content

auto-docs: Update property docs for tag v26.1.2#1655

Open
vbotbuildovich wants to merge 1 commit intomainfrom
update-property-docs-v26.1.2
Open

auto-docs: Update property docs for tag v26.1.2#1655
vbotbuildovich wants to merge 1 commit intomainfrom
update-property-docs-v26.1.2

Conversation

@vbotbuildovich
Copy link
Copy Markdown
Contributor

This PR auto-generates updated Redpanda property documentation for v26.1.2.

@vbotbuildovich vbotbuildovich requested a review from a team as a code owner April 3, 2026 17:46
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 3, 2026

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit 0732506
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/69cffcff67a3420008e33c11
😎 Deploy Preview https://deploy-preview-1655--redpanda-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 3, 2026

📝 Walkthrough

Walkthrough

This PR updates documentation and configuration metadata for Redpanda version 26.1.2. Changes include bumping version attributes in antora.yml from 26.1.1 to 26.1.2, updating JSON property change comparison metadata, and adding a new greedy value to leader balancer optimization strategy enums. Documentation for storage modes, tiered storage, and cloud topics has been restructured by consolidating environment-specific conditionals, simplifying descriptions, and updating cross-reference prefixes to use self-managed-only: format.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested reviewers

  • paulohtb6
  • JakeSCahill
  • Feediver1
🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is minimal and lacks required template sections: no JIRA ticket link, review deadline, page previews, or completion checks are provided. Add JIRA ticket reference, review deadline, page preview links, and select appropriate checkboxes (likely 'New feature' or 'Support Follow-up') from the template.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: updating property documentation for Redpanda version tag v26.1.2, which is confirmed by changes across multiple documentation and configuration files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-property-docs-v26.1.2

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

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🧹 Nitpick comments (2)
modules/reference/attachments/redpanda-properties-v26.1.2.json (1)

7582-7582: Minor wording cleanup needed in description.

Line 7582 reads “delivered to learner”; this should be “delivered to the learner.”

✏️ Suggested wording fix
-            "description": "Initial local retention size target for partitions of topics with Tiered Storage enabled. If no initial local target retention is configured, then  all locally-retained data will be delivered to learner when joining the partition replica set.",
+            "description": "Initial local retention size target for partitions of topics with Tiered Storage enabled. If no initial local target retention is configured, then all locally-retained data will be delivered to the learner when joining the partition replica set.",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@modules/reference/attachments/redpanda-properties-v26.1.2.json` at line 7582,
In the JSON property whose description begins "Initial local retention size
target for partitions of topics with Tiered Storage enabled..." update the
wording to change "delivered to learner" to "delivered to the learner" so the
sentence reads correctly; locate the description string in
modules/reference/attachments/redpanda-properties-v26.1.2.json (the entry at or
near the shown snippet) and replace that phrase while preserving the rest of the
text and punctuation.
modules/reference/partials/properties/cluster-properties.adoc (1)

4987-4993: Prefer auto-title xrefs for these new links.

Please switch these xrefs to empty brackets (xref:...[]) so link text is sourced from page titles consistently.

Suggested edit
-* xref:manage:tiered-storage.adoc[Tiered Storage]
+* xref:manage:tiered-storage.adoc[]

-* xref:develop:manage-topics/cloud-topics.adoc[Manage Cloud Topics]
+* xref:develop:manage-topics/cloud-topics.adoc[]

Based on learnings: AsciiDoc linking: prefer using xref links with empty brackets (e.g., xref:section/target.adoc[]) because the title is pulled from the referenced document automatically.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@modules/reference/partials/properties/cluster-properties.adoc` around lines
4987 - 4993, Replace the explicit link text xref instances so the page title is
used automatically: change xref:manage:tiered-storage.adoc[Tiered Storage] to
xref:manage:tiered-storage.adoc[] and change
xref:develop:manage-topics/cloud-topics.adoc[Manage Cloud Topics] to
xref:develop:manage-topics/cloud-topics.adoc[] (these are the two xref entries
in the Related topics block).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs-data/redpanda-property-changes-v26.1.1-to-v26.1.2.json`:
- Around line 4-5: The "newVersion" field currently set to "v26.1.2" documents a
non-existent Redpanda release; update the "newVersion" value to "v26.1.1" or
mark this as pre-release by adding a clear flag/comment, or remove the file if
it’s not needed; locate the JSON entry with the "newVersion" key (and optionally
the "timestamp" field) in this file and change the version string to "v26.1.1"
or add a "preRelease": true/ "note": "pre-release for v26.1.2" entry to make the
intent explicit before merging.

In `@modules/reference/attachments/redpanda-properties-v26.1.2.json`:
- Around line 8703-8708: The description for the property leader_balancer_mode
is out of sync with the enum: it only explains `calibrated` and `random` (and
mentions legacy mappings) but the enum now includes `greedy`; update the
description string for leader_balancer_mode to document what the `greedy` mode
does and how it differs from `calibrated`/`random` (and clarify any legacy
mapping behavior), e.g., add a short sentence describing `greedy`'s
leader-movement heuristic and whether legacy values map to `calibrated` or to
`greedy`, so the description matches the enum entries.

In `@modules/reference/partials/properties/cluster-properties.adoc`:
- Around line 11502-11505: The documentation lists `greedy` as an accepted mode
but the mode description only explains `calibrated` and `random`; update the
mode description section to add a short definition for the `greedy` enum value
(alongside `calibrated` and `random`) that explains its selection behavior
(e.g., selects highest-scoring candidates deterministically/locally optimized
per step) so readers understand how `greedy` differs from `calibrated` and
`random`.

---

Nitpick comments:
In `@modules/reference/attachments/redpanda-properties-v26.1.2.json`:
- Line 7582: In the JSON property whose description begins "Initial local
retention size target for partitions of topics with Tiered Storage enabled..."
update the wording to change "delivered to learner" to "delivered to the
learner" so the sentence reads correctly; locate the description string in
modules/reference/attachments/redpanda-properties-v26.1.2.json (the entry at or
near the shown snippet) and replace that phrase while preserving the rest of the
text and punctuation.

In `@modules/reference/partials/properties/cluster-properties.adoc`:
- Around line 4987-4993: Replace the explicit link text xref instances so the
page title is used automatically: change xref:manage:tiered-storage.adoc[Tiered
Storage] to xref:manage:tiered-storage.adoc[] and change
xref:develop:manage-topics/cloud-topics.adoc[Manage Cloud Topics] to
xref:develop:manage-topics/cloud-topics.adoc[] (these are the two xref entries
in the Related topics block).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 585ebb07-0a98-46f5-84b7-295192bca595

📥 Commits

Reviewing files that changed from the base of the PR and between c4f9842 and 0732506.

📒 Files selected for processing (5)
  • antora.yml
  • docs-data/redpanda-property-changes-v26.1.1-to-v26.1.2.json
  • modules/reference/attachments/redpanda-properties-v26.1.2.json
  • modules/reference/partials/properties/cluster-properties.adoc
  • modules/reference/partials/properties/topic-properties.adoc

Comment on lines +4 to +5
"newVersion": "v26.1.2",
"timestamp": "2026-04-03T17:46:32.769Z"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify that the v26.1.2 tag exists in the Redpanda repository

gh api repos/redpanda-data/redpanda/git/refs/tags/v26.1.2 --jq '.ref, .object.sha' || echo "Tag v26.1.2 not found"

Repository: redpanda-data/docs

Length of output: 243


🌐 Web query:

Redpanda v26.1.2 release

💡 Result:

No evidence found of a Redpanda v26.1.2 release. The latest version as of 2026-04-03 appears to be v26.1.1, released around March 31, 2026. Official docs list latest-redpanda-tag: v26.1.1, GitHub releases page shows up to v25.3.x with v26.1.1 referenced externally, and blog/press releases announce Redpanda 26.1 (likely v26.1.0/1). No mentions of v26.1.2 in GitHub releases, docs, or release trackers. It may not have been released yet or the query refers to a non-existent version.

Citations:


Redpanda version v26.1.2 does not exist yet.

The file references v26.1.2, but web search confirms the latest released version is v26.1.1 (released ~March 31, 2026). This file cannot be merged as-is because it documents property changes for a non-existent version. Either update the version number to v26.1.1, clarify that this is pre-release documentation for an upcoming v26.1.2 release, or remove the file if it's not needed.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs-data/redpanda-property-changes-v26.1.1-to-v26.1.2.json` around lines 4 -
5, The "newVersion" field currently set to "v26.1.2" documents a non-existent
Redpanda release; update the "newVersion" value to "v26.1.1" or mark this as
pre-release by adding a clear flag/comment, or remove the file if it’s not
needed; locate the JSON entry with the "newVersion" key (and optionally the
"timestamp" field) in this file and change the version string to "v26.1.1" or
add a "preRelease": true/ "note": "pre-release for v26.1.2" entry to make the
intent explicit before merging.

Comment on lines 8703 to 8708
"description": "Mode of the leader balancer optimization strategy. `calibrated` uses a heuristic that balances leaders based on replica counts per shard. `random` randomly moves leaders to reduce load on heavily-loaded shards. Legacy values `greedy_balanced_shards` and `random_hill_climbing` are treated as `calibrated`.",
"enum": [
"calibrated",
"random"
"random",
"greedy"
],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

leader_balancer_mode description is now out of sync with accepted values.

Line 8703 documents only calibrated/random, but Line 8705-Line 8707 now allow greedy. Please document greedy behavior to avoid misleading users.

🛠️ Suggested doc fix
-            "description": "Mode of the leader balancer optimization strategy. `calibrated` uses a heuristic that balances leaders based on replica counts per shard. `random` randomly moves leaders to reduce load on heavily-loaded shards. Legacy values `greedy_balanced_shards` and `random_hill_climbing` are treated as `calibrated`.",
+            "description": "Mode of the leader balancer optimization strategy. `calibrated` uses a heuristic that balances leaders based on replica counts per shard. `random` randomly moves leaders to reduce load on heavily-loaded shards. `greedy` prioritizes immediate local improvements when selecting transfers. Legacy values `greedy_balanced_shards` and `random_hill_climbing` are treated as `calibrated`.",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"description": "Mode of the leader balancer optimization strategy. `calibrated` uses a heuristic that balances leaders based on replica counts per shard. `random` randomly moves leaders to reduce load on heavily-loaded shards. Legacy values `greedy_balanced_shards` and `random_hill_climbing` are treated as `calibrated`.",
"enum": [
"calibrated",
"random"
"random",
"greedy"
],
"description": "Mode of the leader balancer optimization strategy. `calibrated` uses a heuristic that balances leaders based on replica counts per shard. `random` randomly moves leaders to reduce load on heavily-loaded shards. `greedy` prioritizes immediate local improvements when selecting transfers. Legacy values `greedy_balanced_shards` and `random_hill_climbing` are treated as `calibrated`.",
"enum": [
"calibrated",
"random",
"greedy"
],
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@modules/reference/attachments/redpanda-properties-v26.1.2.json` around lines
8703 - 8708, The description for the property leader_balancer_mode is out of
sync with the enum: it only explains `calibrated` and `random` (and mentions
legacy mappings) but the enum now includes `greedy`; update the description
string for leader_balancer_mode to document what the `greedy` mode does and how
it differs from `calibrated`/`random` (and clarify any legacy mapping behavior),
e.g., add a short sentence describing `greedy`'s leader-movement heuristic and
whether legacy values map to `calibrated` or to `greedy`, so the description
matches the enum entries.

Comment on lines +11502 to +11505
`calibrated`, `random`, `greedy`
endif::[]
ifdef::env-cloud[]
`calibrated`, `random`
`calibrated`, `random`, `greedy`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Document greedy behavior alongside the new enum value.

greedy is now listed as accepted, but the mode description above still explains only calibrated and random. Add a short definition to avoid ambiguity.

Suggested edit
-Mode of the leader balancer optimization strategy. `calibrated` uses a heuristic that balances leaders based on replica counts per shard. `random` randomly moves leaders to reduce load on heavily-loaded shards. Legacy values `greedy_balanced_shards` and `random_hill_climbing` are treated as `calibrated`.
+Mode of the leader balancer optimization strategy. `calibrated` uses a heuristic that balances leaders based on replica counts per shard. `random` randomly moves leaders to reduce load on heavily-loaded shards. `greedy` prioritizes immediate local improvements over global balancing. Legacy values `greedy_balanced_shards` and `random_hill_climbing` are treated as `calibrated`.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@modules/reference/partials/properties/cluster-properties.adoc` around lines
11502 - 11505, The documentation lists `greedy` as an accepted mode but the mode
description only explains `calibrated` and `random`; update the mode description
section to add a short definition for the `greedy` enum value (alongside
`calibrated` and `random`) that explains its selection behavior (e.g., selects
highest-scoring candidates deterministically/locally optimized per step) so
readers understand how `greedy` differs from `calibrated` and `random`.

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.

1 participant