Skip to content

build: bump docs-extensions-and-macros to ^5.3.1 for doc-tools --plugin - #1867

Closed
micheleRP wants to merge 1 commit into
mainfrom
michele/bump-doc-tools-5-3-1
Closed

build: bump docs-extensions-and-macros to ^5.3.1 for doc-tools --plugin#1867
micheleRP wants to merge 1 commit into
mainfrom
michele/bump-doc-tools-5-3-1

Conversation

@micheleRP

Copy link
Copy Markdown
Contributor

What

Refresh the lockfile from doc-tools 5.2.5 to 5.3.1 and raise the package.json floor from ^5.1.2 to ^5.3.1.

Why

The update-rpk-plugin-docs workflow installs doc-tools with npm ci and calls doc-tools generate rpk-docs --plugin <name>, but --plugin only exists in doc-tools 5.3.0+ (docs-extensions-and-macros#225, released 2026-07-31). With the lockfile at 5.2.5, every dispatch fails at the Refresh plugin docs step with error: unknown option '--plugin' before reaching PR creation. Verified on run 30682273251 (a manual plugin: ai dispatch).

Raising the floor to ^5.3.1 keeps a future lockfile regeneration from resolving below the version the workflow depends on.

Verified locally that 5.3.1's doc-tools generate rpk-docs --help lists --plugin.

@JakeSCahill feel free to close this in favor of a different fix (for example, installing doc-tools explicitly in the workflow) if you'd rather decouple it from the lockfile.

🤖 Generated with Claude Code

The update-rpk-plugin-docs workflow installs doc-tools with npm ci and
calls 'doc-tools generate rpk-docs --plugin <name>', but the lockfile
pinned 5.2.5, which predates the --plugin option (added in 5.3.0). Every
dispatch fails with "error: unknown option '--plugin'" before reaching
PR creation. Refresh the lockfile to 5.3.1 and raise the package.json
floor so a future lockfile regeneration can't resolve below it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@micheleRP
micheleRP requested a review from a team as a code owner August 1, 2026 03:47
@netlify

netlify Bot commented Aug 1, 2026

Copy link
Copy Markdown

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit a0f9f9b
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/6a6d6c693ecd5a0008f02730
😎 Deploy Preview https://deploy-preview-1867--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

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1d7b01dd-75db-45eb-969e-cd1e2ea1e98d

📥 Commits

Reviewing files that changed from the base of the PR and between 4cd493e and a0f9f9b.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

The package manifest updates @redpanda-data/docs-extensions-and-macros from ^5.1.2 to ^5.3.1. No script or package-structure changes are included.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: jakescahill

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the change and reason, but it omits the required Jira ticket, review deadline, page previews, and checks sections. Add the required template sections and complete the Jira ticket, review deadline, page previews, and checks fields.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the dependency update and its purpose for the doc-tools plugin.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch michele/bump-doc-tools-5-3-1

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

@micheleRP

Copy link
Copy Markdown
Contributor Author

Closing as duplicate: the update bot's #1864 (now merged) covers the lockfile refresh to 5.3.1, which is all the workflow needs. The extra change here (raising the package.json floor to ^5.3.1) is optional hardening; leaving that call to @JakeSCahill.

@micheleRP micheleRP closed this Aug 1, 2026
@micheleRP
micheleRP deleted the michele/bump-doc-tools-5-3-1 branch August 1, 2026 03:57
@coderabbitai coderabbitai Bot mentioned this pull request Aug 1, 2026
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.

1 participant