Skip to content

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

Merged
JakeSCahill merged 11 commits intomainfrom
update-property-docs-v26.1.2
Apr 7, 2026
Merged

auto-docs: Update property docs for tag v26.1.2#1655
JakeSCahill merged 11 commits 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 e2103a5
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/69d53d26852fc200087511ec
😎 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

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d69ef5ab-8a01-4d55-b36e-538a4bcc2e27

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 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

vbotbuildovich and others added 4 commits April 7, 2026 10:21
- Add override for leader_balancer_mode documenting the new greedy
  strategy which distributes leadership evenly per topic
- Restore xrefs to Tiered Storage and Cloud Topics pages in storage
  mode property descriptions (default_redpanda_storage_mode,
  redpanda.storage.mode, initial_retention_local_target_*_default)
… xrefs

- Add override for leader_balancer_mode documenting the new greedy strategy
- Embed AsciiDoc conditionals in storage mode property descriptions to preserve
  xrefs for self-managed and plain text for cloud docs
Update description to help users choose between calibrated, random, and
greedy modes with clearer guidance on when to use each option.
@JakeSCahill JakeSCahill force-pushed the update-property-docs-v26.1.2 branch from 1424d58 to ebb2141 Compare April 7, 2026 09:24
- Add release notes section for greedy leader balancer mode
- Add (v26.1.2+) version note to greedy option in config reference
Document the leader_balancer_mode options (calibrated, random, greedy)
in the cluster balancing guide.
- Add section to benchmark.adoc recommending greedy mode for consistent results
- Update random mode description: "fallback" instead of "legacy compatibility"
- Regenerate property docs with updated descriptions
JakeSCahill and others added 4 commits April 7, 2026 13:08
Co-authored-by: Jake Cahill <45230295+JakeSCahill@users.noreply.github.com>
- Remove greedy from leader_balancer_mode description (internal use only)
- Remove greedy section from release notes
- Remove leadership balancing modes table from cluster-balancing.adoc
- Remove greedy TIP from benchmark.adoc
- Add _comment field explaining exclusion

Note: The accepted_values override doesn't affect the metadata table row.
The property automation needs updating to support excluding enum values
from the generated table.
Regenerated with updated tooling that respects accepted_values
override. leader_balancer_mode now shows only calibrated and
random options (greedy excluded per internal-only status).
@JakeSCahill JakeSCahill merged commit 939fa89 into main Apr 7, 2026
7 checks passed
@JakeSCahill JakeSCahill deleted the update-property-docs-v26.1.2 branch April 7, 2026 17:26
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.

2 participants