Skip to content

Conversation

@paulohtb6
Copy link
Collaborator

Description

Resolves https://redpandadata.atlassian.net/browse/
Review deadline:

Page previews

Checks

  • New feature
  • Content gap
  • Support Follow-up
  • Small fix (typos, links, copyedits, etc)

@paulohtb6 paulohtb6 requested a review from a team as a code owner November 19, 2025 20:47
@netlify
Copy link

netlify bot commented Nov 19, 2025

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit 3ebfd42
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/691f02f355371900086f99f6
😎 Deploy Preview https://deploy-preview-1480--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
Contributor

coderabbitai bot commented Nov 19, 2025

📝 Walkthrough

Walkthrough

A cross-reference link in the high-availability deployment documentation was updated. The link for the Kubernetes conditional in the HA deployment options section was changed from a relative path reference (./production/production-deployment.adoc) to a fully qualified module reference (deploy:redpanda/manual/production/production-deployment.adoc). This change affects a single AsciiDoc partial file.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Single file with one link reference update
  • No logic or functional changes
  • Documentation-only modification

Suggested reviewers

  • c4milo
  • kbatuigas

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description contains only the template placeholders with no actual content filled in, including missing Jira ticket resolution, review deadline, page previews, and unchecked check categories. Fill in the Jira ticket number, add page preview links, specify review deadline if applicable, and check the relevant category (likely 'Small fix') to properly document the change.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'fix ha link' directly summarizes the main change: updating a broken high-availability deployment link reference.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-ha-link

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
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: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 85b906f and dbc8815.

📒 Files selected for processing (1)
  • modules/deploy/partials/high-availability.adoc (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: micheleRP
Repo: redpanda-data/docs PR: 1349
File: modules/manage/pages/cluster-maintenance/manage-throughput.adoc:0-0
Timestamp: 2025-09-03T16:34:58.323Z
Learning: For Redpanda documentation, use absolute URLs (https://docs.redpanda.com/api/...) rather than relative URLs (/api/...) when linking to API documentation. Relative API links break in Netlify previews because Bump only serves from docs.redpanda.com, causing the relative URLs to be appended to the preview URL where Bump doesn't serve content.
Learnt from: Feediver1
Repo: redpanda-data/docs PR: 1153
File: modules/reference/pages/properties/topic-properties.adoc:45-50
Timestamp: 2025-07-16T19:33:20.420Z
Learning: In the Redpanda documentation, topic property cross-references like <<max.compaction.lag.ms>> and <<min.compaction.lag.ms>> require corresponding property definition sections with anchors like [[maxcompactionlagms]] and [[mincompactionlagms]] to prevent broken links.
Learnt from: micheleRP
Repo: redpanda-data/docs PR: 1334
File: modules/manage/partials/rbac-dp.adoc:93-98
Timestamp: 2025-08-25T21:00:26.626Z
Learning: In cloud documentation (env-cloud), Security is at the top level navigation, so ACL references should use `security:authorization/rbac/acl.adoc`. In self-managed documentation, Security is nested under Manage, so ACL references use `manage:security/authorization/acl.adoc`. The different xref paths in conditional blocks reflect these different navigation structures.
Learnt from: JakeSCahill
Repo: redpanda-data/docs PR: 1304
File: modules/troubleshoot/partials/errors-and-solutions.adoc:44-44
Timestamp: 2025-08-13T16:39:20.038Z
Learning: In AsciiDoc documentation with Antora, explicit anchors like [[anchor-name]] take precedence over automatically generated anchors from headings. When troubleshooting cross-references, check for both explicit anchors and auto-generated ones from heading text (lowercase with spaces replaced by hyphens).
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Redirect rules - redpanda-docs-preview
  • GitHub Check: Header rules - redpanda-docs-preview
  • GitHub Check: Pages changed - redpanda-docs-preview

|===

ifndef::env-kubernetes[See also: xref:./production/production-deployment.adoc[Deploy for Production]]
ifndef::env-kubernetes[See also: xref:deploy:redpanda/manual/production/production-deployment.adoc[Deploy for Production]]
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

Verify the cross-reference path resolves correctly.

The change from a relative path to a fully qualified module reference is good for consistency with the pattern established in lines 3–11. However, the path format deploy:redpanda/manual/production/production-deployment.adoc should be verified to ensure it matches the actual file location and resolves correctly in the Antora documentation build.

Additionally, Line 256 contains a similar reference using a relative path (./production/production-deployment-automation.adoc) that may need the same update for consistency.


🏁 Script executed:

#!/bin/bash
# Description: Verify the cross-reference target exists and check for other inconsistent relative paths in this file.

# Find the production deployment page to verify the path is correct
fd -e adoc -e md "production-deployment" modules/

# Check if there are other relative path xrefs in the high-availability.adoc file that might need updating
rg -n '\./production|deploy:.*production' modules/deploy/partials/high-availability.adoc

Length of output: 448


Line 51 change is correct; Line 256 requires the same update for consistency.

The path on line 51 (deploy:redpanda/manual/production/production-deployment.adoc) is correct and resolves to the existing file. However, line 256 still uses a relative path (./production/production-deployment-automation.adoc) and should be updated to the fully qualified reference (deploy:redpanda/manual/production/production-deployment-automation.adoc) for consistency.

🤖 Prompt for AI Agents
In modules/deploy/partials/high-availability.adoc around lines 51 and 256, line
51 has been updated to the fully qualified xref but line 256 still uses a
relative path; replace the relative reference
"./production/production-deployment-automation.adoc" on line 256 with the fully
qualified reference
"deploy:redpanda/manual/production/production-deployment-automation.adoc" so
both links use consistent, fully qualified xref syntax.

Copy link
Contributor

@micheleRP micheleRP left a comment

Choose a reason for hiding this comment

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

lgtm

@micheleRP
Copy link
Contributor

this may have been fixed already with #1481

@paulohtb6 paulohtb6 closed this Nov 20, 2025
@paulohtb6 paulohtb6 deleted the fix-ha-link branch November 20, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants