Skip to content

docs: format five pages with prettier - #512

Merged
retr0h merged 1 commit into
mainfrom
fix/docs-prettier
Sep 17, 2026
Merged

retr0h merged 1 commit into
mainfrom
fix/docs-prettier

Conversation

@retr0h

@retr0h retr0h commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Docusaurus Lint has been failing on main since a48daffe8.

The signing-key, permission-split and password-hashing fixes each edited pages under docs/. just md-fmt excludes that tree because the Docusaurus site is formatted by Prettier through just docusaurus-fmt, and nothing ran it, so docusaurus-fmt-check fails on:

  • docs/sidebar/features/authentication.md
  • docs/sidebar/features/command-execution.md
  • docs/sidebar/usage/cli/client/node/user/create.md
  • docs/sidebar/usage/cli/client/node/user/password.md
  • docs/sidebar/usage/configuration.md

just docusaurus-fmt output only — no content changes.

This is a gap in how those fixes were gated: just ready and just test do not cover the site formatter, so a change touching docs/ needs just docusaurus-fmt-check as well. Worth adding to the pre-commit sequence so it cannot recur.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FuKUsHFG1EqZXamffh9M2c

Docusaurus Lint has been failing on main since a48daff. The signing
key, permission split and password hashing changes each edited pages
under docs/, which just md-fmt excludes because that tree is Prettier's,
not mdformat's. Nothing reformatted them, so docusaurus-fmt-check failed
on five files.

Formatting only, no content change.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov

codecov Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #512   +/-   ##
=======================================
  Coverage   99.93%   99.94%           
=======================================
  Files         488      488           
  Lines       23108    23108           
=======================================
+ Hits        23094    23095    +1     
+ Misses         14       13    -1     

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d1f5a1...1443eb8. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@retr0h
retr0h merged commit 84d881d into main Sep 17, 2026
12 checks passed
@retr0h
retr0h deleted the fix/docs-prettier branch September 17, 2026 21:06
retr0h added a commit to osapi-io/specs that referenced this pull request Sep 17, 2026
Three merged security fixes each edited pages under docs/ and left five
of them unformatted, so Docusaurus Lint failed on main until
osapi-io/osapi#512. The skill's verify gate listed just ready and just
test, and neither covers the site: md-fmt excludes docs/ because
Prettier owns that tree.

Also records the fresh-worktree ordering. just ready lints before it
builds the UI, so in a new worktree the linter cannot import the embed
package and reports a typecheck error on a file nobody touched, which
cost two gate runs to recognise.


Claude-Session: https://claude.ai/code/session_01FuKUsHFG1EqZXamffh9M2c

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
retr0h added a commit that referenced this pull request Sep 18, 2026
* fix: check both formatters in the test recipe

just test verified justfile formatting only. Markdown and the docs site
were covered by CI alone, which is enough for an ordinary pull request
but not for a fix merged from a security advisory's private fork: those
forks run no Actions, so this recipe is the only gate such a change
gets before it reaches main.

Three advisory fixes each edited pages under docs/ and left five of them
unformatted, so Docusaurus Lint failed on main from a48daff until
#512. Both checks now run here, where they would have caught it.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: drop md-fmt-check from the test recipe

md-fmt-check runs mdformat through uvx, and the Go workflow installs Go,
Node, bun and just but not uv, so just test failed with uvx: not found.
Markdown Lint already runs that check in a job that installs uv.

docusaurus-fmt-check stays: bun is installed in the Go workflow and the
recipe installs the site dependencies itself, and that is the check whose
absence let five unformatted pages reach main.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
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