Skip to content

Conversation

@kbatuigas
Copy link
Contributor

Description

This PR updates Iceberg docs in Cloud to use the single-source tag instead of partials.

Related: redpanda-data/docs#1362

Resolves https://github.com/redpanda-data/documentation-private/issues/
Review deadline:

Page previews

Checks

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

@kbatuigas kbatuigas requested a review from a team as a code owner September 19, 2025 22:19
@netlify
Copy link

netlify bot commented Sep 19, 2025

Deploy Preview for rp-cloud ready!

Name Link
🔨 Latest commit 6faeaf4
🔍 Latest deploy log https://app.netlify.com/projects/rp-cloud/deploys/68d316ff48d6a30008ff780d
😎 Deploy Preview https://deploy-preview-419--rp-cloud.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 Sep 19, 2025

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.

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

📝 Walkthrough

Walkthrough

  • Updated local-antora-playbook.yml to prepend branch "DOC-1087-iceberg-docs-additional-clarifying-edits-from-25" to the content source branches list, retaining v/*, shared, and site-search.
  • In three Iceberg docs pages, added :page-categories: metadata (Iceberg, Tiered Storage, Management, High Availability, Data Replication, Integration).
  • Switched includes from partial$ paths to non-partial paths with [tag=single-source] for:
    • modules/manage/pages/iceberg/about-iceberg-topics.adoc
    • modules/manage/pages/iceberg/query-iceberg-topics.adoc
    • modules/manage/pages/iceberg/use-iceberg-catalogs.adoc
  • Removed the "Next steps" section from use-iceberg-catalogs.adoc.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • mattschumpert
  • paulohtb6
  • micheleRP

Pre-merge checks and finishing touches

❌ Failed checks (3 warnings)
Check name Status Explanation Resolution
Linked Issues Check ⚠️ Warning The linked issue (DOC-1087) requests multiple substantive content changes and clarifications (trust-file use, that schema cannot decode record keys, detailed snapshot behavior and refresh notes, real Redpanda column values in examples, validated Spark config examples, documentation of extra cluster flags such as iceberg_latest_schema_cache_ttl_ms and iceberg_rest_catalog_warehouse, and a custom partitioning subsection with best practices and an explicit distinction from Kafka partitioning). The PR as submitted primarily replaces partial includes with single-source tag includes, adds page-categories metadata, and updates the Antora playbook branch list; it does not implement the technical clarifications, examples, or configuration documentation requested in the linked issue. Therefore the changes do not satisfy the linked issue objectives. To comply with DOC-1087, add the missing content edits: a trust-file use case, explicit note that schema cannot decode record keys, detailed table snapshot behavior and refresh guidance, real Redpanda column values in query examples, validated Spark configuration examples, documentation of required cluster flags (including iceberg_latest_schema_cache_ttl_ms and iceberg_rest_catalog_warehouse), and a custom partitioning subsection with best practices and an explicit distinction from Kafka partitioning; either add those edits to this PR or create a linked follow-up PR and update this PR description to reference it.
Out of Scope Changes Check ⚠️ Warning Most changes (switching includes to single-source tag) align with the stated PR objective, but there are edits not called out in the linked issue or the PR description: page-categories metadata was added to multiple Iceberg pages and the "Next steps" heading and its xref were removed from use-iceberg-catalogs.adoc, and local-antora-playbook.yml was modified to add a branch entry. These metadata and minor content/build changes are not referenced in DOC-1087 and lack justification in the PR description, so they appear out-of-scope. Either document and justify the metadata and playbook edits in this PR description (explaining why they are necessary) or move them to a separate maintenance PR; if the Next steps removal was unintentional, restore it or explain the reason and confirm there are no broken cross-references.
Description Check ⚠️ Warning The PR description states the high-level intent to use a single-source tag and references a related PR, but it does not fully follow the repository template: the "Resolves" link contains a placeholder rather than an actual issue number, the "Review deadline" and "Page previews" sections are empty, and the Checks list is not populated, which reduces traceability and makes review harder. These missing template items are required for proper review and release tracking. Because of those omissions the description is incomplete. Please update the Description to include the actual issue number in the "Resolves" line, add a review deadline, insert Netlify page-preview URLs for the changed files, and mark which checklist items apply; also briefly justify any repository-level edits (e.g., Antora playbook branch) so reviewers understand why they were included.
✅ Passed checks (2 passed)
Check name Status Explanation
Title Check ✅ Passed The PR title "DOC-1087 Use single source tag across all Iceberg docs" accurately and concisely describes the main change in the diff — switching Iceberg pages from partial includes to single-source tag includes (and related repo config). It is specific, on-topic, and readable for a reviewer scanning history. The title avoids noisy details and highlights the primary developer intent.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.

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

🧹 Nitpick comments (4)
local-antora-playbook.yml (2)

18-18: Quote all branch globs for YAML robustness.

Unquoted items with special chars can be parsed oddly by some YAML parsers. Quote them all.

-    branches: ['DOC-1087-iceberg-docs-additional-clarifying-edits-from-25', v/*, shared, site-search]
+    branches: ['DOC-1087-iceberg-docs-additional-clarifying-edits-from-25', 'v/*', 'shared', 'site-search']

1-12: PR hygiene: fix placeholder “Resolves …/” and add preview links.

Replace the placeholder with the actual issue and include working preview URLs before approval.

modules/manage/pages/iceberg/use-iceberg-catalogs.adoc (1)

5-5: Switch to single‑source looks good; verify navigation.

You removed “Next steps” in this flow (per PR summary). Consider adding a “Related topics” xref block so users can jump to “Query Iceberg topics.”

modules/manage/pages/iceberg/query-iceberg-topics.adoc (1)

5-5: Ensure refresh guidance is included.

Within the single‑source tag, include a note that some engines require refreshing the snapshot/metadata (for example via ALTER TABLE) to see new data.

📜 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 2ac2182 and 6733971.

📒 Files selected for processing (4)
  • local-antora-playbook.yml (1 hunks)
  • modules/manage/pages/iceberg/about-iceberg-topics.adoc (1 hunks)
  • modules/manage/pages/iceberg/query-iceberg-topics.adoc (1 hunks)
  • modules/manage/pages/iceberg/use-iceberg-catalogs.adoc (1 hunks)
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: micheleRP
PR: redpanda-data/cloud-docs#390
File: modules/manage/pages/schema-reg/schema-reg-authorization.adoc:4-4
Timestamp: 2025-08-15T04:45:28.695Z
Learning: In the Redpanda documentation system, content is single-sourced across multiple repositories (cloud-docs and docs repos). Include directives in the cloud-docs repo may reference files that exist in separate PRs in the docs repo. These PRs are linked via local-antora-playbook.yml for preview rendering, and the includes resolve correctly during the Antora build process when repositories are merged. The playbook is reverted to main before merging. This cross-repository single sourcing pattern is commonly used, so missing include targets should be verified against linked PRs in other repositories before flagging as errors.
Learnt from: micheleRP
PR: redpanda-data/cloud-docs#390
File: modules/manage/pages/schema-reg/schema-reg-authorization.adoc:4-4
Timestamp: 2025-08-15T02:29:34.901Z
Learning: In Redpanda Cloud documentation PRs, when CodeRabbit flags missing Asciidoctor tag markers for include directives, the fix may be implemented in the corresponding ROOT module file that contains the actual content being included, rather than in the file where the include directive appears.
📚 Learning: 2025-08-07T17:02:36.016Z
Learnt from: micheleRP
PR: redpanda-data/cloud-docs#377
File: modules/manage/pages/iceberg/iceberg-topics-aws-glue.adoc:1-6
Timestamp: 2025-08-07T17:02:36.016Z
Learning: In the Redpanda Cloud documentation system, self-includes like `include::ROOT:manage:iceberg/iceberg-topics-aws-glue.adoc[tag=single-source]` within the same file path work correctly and do not cause Asciidoctor include file loop errors. The module path resolution allows this pattern to function as intended.

Applied to files:

  • modules/manage/pages/iceberg/use-iceberg-catalogs.adoc
  • modules/manage/pages/iceberg/about-iceberg-topics.adoc
📚 Learning: 2025-08-15T04:45:28.695Z
Learnt from: micheleRP
PR: redpanda-data/cloud-docs#390
File: modules/manage/pages/schema-reg/schema-reg-authorization.adoc:4-4
Timestamp: 2025-08-15T04:45:28.695Z
Learning: In the Redpanda documentation system, content is single-sourced across multiple repositories (cloud-docs and docs repos). Include directives in the cloud-docs repo may reference files that exist in separate PRs in the docs repo. These PRs are linked via local-antora-playbook.yml for preview rendering, and the includes resolve correctly during the Antora build process when repositories are merged. The playbook is reverted to main before merging. This cross-repository single sourcing pattern is commonly used, so missing include targets should be verified against linked PRs in other repositories before flagging as errors.

Applied to files:

  • local-antora-playbook.yml
⏰ 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 - rp-cloud
  • GitHub Check: Header rules - rp-cloud
  • GitHub Check: Pages changed - rp-cloud
🔇 Additional comments (7)
local-antora-playbook.yml (2)

18-18: Preview-branch entry is temporary—revert before merge.

Per our single‑sourcing workflow, ensure this extra branch is removed (or the playbook restored to main) before merging to main.


18-18: Verified: tag=single-source present in docs branch DOC-1087-iceberg-docs-additional-clarifying-edits-from-25

tag::single-source and end::single-source found in:

  • modules/manage/pages/iceberg/about-iceberg-topics.adoc (lines 6, 463)
  • modules/manage/pages/iceberg/query-iceberg-topics.adoc (lines 5, 194)
  • modules/manage/pages/iceberg/use-iceberg-catalogs.adoc (lines 5, 329)

No action required.

modules/manage/pages/iceberg/about-iceberg-topics.adoc (2)

3-3: LGTM on categories.

Matches site taxonomy usage.


5-5: Confirm single‑source content covers DOC‑1087 clarifications.

Ensure the tagged block includes: trust file use case, schema limits for record keys, snapshot behavior and refresh notes, Spark config correctness, custom partitioning best practices, Iceberg vs Kafka partitioning, and cluster flags (iceberg_latest_schema_cache_ttl_ms, iceberg_rest_catalog_warehouse). If any are outside the tag, they won’t render here.

modules/manage/pages/iceberg/use-iceberg-catalogs.adoc (2)

3-3: LGTM on categories.


5-5: Verify tag presence and completeness in upstream.

Confirm the single‑source tag includes catalog‑specific flags and any engine/catalog nuances called out in DOC‑1087.

modules/manage/pages/iceberg/query-iceberg-topics.adoc (1)

3-3: LGTM on categories.

branches: HEAD
- url: https://github.com/redpanda-data/documentation
branches: [main, v/*, shared, site-search]
branches: ['DOC-1087-iceberg-docs-additional-clarifying-edits-from-25', v/*, shared, site-search]
Copy link
Contributor

Choose a reason for hiding this comment

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

reminder

@kbatuigas kbatuigas merged commit 1a3a98a into main Sep 23, 2025
5 checks passed
@kbatuigas kbatuigas deleted the DOC-1087-single-source branch September 23, 2025 21:59
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