Skip to content

docs: show Codacy Self-hosted facts per version on the chart pages [OD-1044] - #2800

Open
claudiacodacy wants to merge 4 commits into
masterfrom
docs-self-hosted-section-od-1044
Open

claudiacodacy wants to merge 4 commits into
masterfrom
docs-self-hosted-section-od-1044

Conversation

@claudiacodacy

@claudiacodacy claudiacodacy commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

With one unversioned site, the Self-hosted section has to say what each supported version has and needs. This PR uses the version data from #2799 across the chart pages, adds a page listing what's on Self-hosted, and brings in the six Self-hosted-only pages that existed only in the frozen /v14.0/ build. Part of P-OD-602 / OD-1044.

New pages

  • chart/whats-available-on-codacy-self-hosted.md, from the approved feature list in OD-1044: what's available (linked to the Cloud pages that apply), what's different, and what's only on Codacy Cloud. Codacy CLI v2 is Cloud-only: it hard-codes https://app.codacy.com (codacy-cli-v2 @5cc84de, codacy-client/client.go:17).
  • chart/using-codacy/, copied from release/v14.0 @49a7c7f with their images: Adjusting quality settings, Configuring file extensions, Security Monitor, and the repository-level Jira, Slack, and webhook notifications. Links are fixed for the new folder. The "paid plans" notice is removed from Security Monitor, since Self-hosted is licensed.
  • Both are in the nav under Managing Codacy Self-hosted.

Per-version facts

  • chart/index.md: a supported-versions statement and the full self_hosted_table().
  • chart/requirements.md: Kubernetes, MicroK8s, and PostgreSQL versions come from the data file instead of hard-coded text.
  • Kubernetes for v15.0.0 and v16.0.0 now follows the release notes, checked against the chart CI at each tag:
    • v15.0.0: 1.22 to 1.27, and 1.30 (CI installs on 1.19–1.27 and 1.30).
    • v16.0.0: 1.30 to 1.33 (CI installs on 1.30–1.33 only; codacy/chart 0a1a1cd removed the older jobs).

Helm commands

  • The 13 configuration commands (integrations, caching, monitoring, logging, license) now show one tab per version. Before, every page said --version 15.0.0, so a v14 customer reconfiguring would upgrade by accident. The tabs are linked, so picking a version once selects it across the site.
  • Install and upgrade use self_hosted_latest.version (17.0.0) instead of the stale extra.codacy_self_hosted_version (15.0.0). The values-file links resolve at tag 16.0.0.
  • The upgrade page's tool links were broken: the self-hosted-X tags on the tool repos stop at 11.0.0. They now point to the versions in the data file (Analysis CLI 7.9.5, Coverage Reporter 13.10.15), and both releases exist.
  • Vale: each helm template sits in a fenced block inside {% set command %}, so Vale reads it as code, and endset is in the Codacy vocabulary.
  • self_hosted_tabs() takes indent, so it can sit inside a numbered step. Documented in .claude/reference/formatting.md.

v17.0.0 as the latest version

  • Release note self-hosted-v17.0.0.md, registered in release-notes/index.md and the nav. The codacy chart 17.0.0 has been on the stable channel since 2026-09-02, but no note was written.
  • Data row for v17.0.0: Kubernetes 1.30 to 1.33 (the chart CI install jobs at 17.0.0), the same tools as v16. Install, upgrade, and the first version tab now use 17.0.0; the values-file links resolve at that tag.

Still to verify

  • MicroK8s for v16.0.0 and v17.0.0 is set to 1.30 to 1.33, the range the chart CI install jobs run on. The MicroK8s quickstart still installs from the 1.19/stable channel; chart owners, please confirm whether it should move to 1.33.
  • extra.codacy_self_hosted_version is no longer used under docs/chart/; removing it everywhere is OD-1038.

Verification

  • mkdocs build --strict passes.
  • Built HTML checked: each configuration command renders 8 version tabs inside its numbered step, with no unrendered template text. Not checked visually in a browser.
  • Vale: only false positives on macro arguments and existing URL lines.

👀 Live preview

🚧 To do

  • If relevant, include the Jira issue key at the end of the pull request title
  • Perform a self-review of the changes
  • Fix any issues reported by the CI/CD

🤖 Generated with Claude Code

…D-1044]

- Add "What's available on Codacy Self-hosted" from the approved feature list.
- Bring the six Self-hosted-only pages from release/v14.0 into chart/using-codacy/.
- Render Kubernetes, MicroK8s, and PostgreSQL requirements from the version data.
- Kubernetes for v15.0.0 and v16.0.0 follows the release notes, checked against chart CI.
- Configuration helm commands get one tab per version; install and upgrade use the latest.
- Fix the upgrade page's tool links: the self-hosted-X tags stop at 11.0.0.
- self_hosted_tabs() takes an indent, so it can sit inside a list item.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@claudiacodacy
claudiacodacy requested a review from a team as a code owner October 30, 2026 12:07
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Overall readability score: 54.44 (🔴 -0.02)

File Readability
index.md 80.58 (🔴 -0.13)
self-hosted-v17.0.0.md 58.47 (-)
whats-available-on-codacy-self-hosted.md 42.02 (-)
requirements.md 57.54 (🔴 -2.5)
index.md 45.11 (🟢 +0.51)
webhook-notifications.md 76.74 (-)
slack-integration.md 67.68 (-)
security-monitor.md 36.67 (-)
jira-integration.md 64.79 (-)
configuring-file-extensions.md 53.61 (-)
adjusting-quality-settings.md 72.25 (-)
upgrade.md 13.57 (🔴 -1.6)
license.md 46.6 (🔴 -4.25)
microk8s-quickstart.md 52.73 (🟢 +0.15)
monitoring.md 49.05 (🔴 -1.6)
logging.md 50.08 (🔴 -3.76)
caching.md 41.34 (🔴 -3.83)
gitlab-enterprise.md 51.84 (🔴 -1.3)
gitlab-cloud.md 55.21 (🔴 -2.93)
github-enterprise.md 40.08 (🔴 -6.17)
github-cloud.md 46.12 (🔴 -4.77)
email.md 51.77 (🔴 -6.6)
bitbucket-server.md 59.05 (🔴 -1.49)
bitbucket-cloud.md 63.99 (🔴 -2.08)
View detailed metrics

🟢 - Shows an increase in readability
🔴 - Shows a decrease in readability

File Readability FRE GF ARI CLI DCRS
index.md 80.58 84.78 7.17 10.2 9.21 6.23
  🔴 -0.13 🔴 -0.1 🔴 -0.02 🔴 -0.1 🟢 +0 🟢 +0.02
self-hosted-v17.0.0.md 58.47 50.94 8.96 11.6 13.56 7.87
  - - - - - -
whats-available-on-codacy-self-hosted.md 42.02 25.35 10.4 14.5 16.4 8.35
  - - - - - -
requirements.md 57.54 46.57 10.3 12.5 12.93 7.09
  🔴 -2.5 🔴 -0.71 🔴 -0.34 🔴 -0.7 🔴 -0.35 🔴 -0.09
index.md 45.11 29.65 11.03 14.7 15.31 7.66
  🟢 +0.51 🟢 +0.1 🟢 +0.18 🟢 +0 🟢 +0.06 🟢 +0.03
webhook-notifications.md 76.74 65.83 8.86 7.4 8.58 7.09
  - - - - - -
slack-integration.md 67.68 49.52 9.02 9.6 11.18 6.85
  - - - - - -
security-monitor.md 36.67 19.26 12.76 15.2 15.43 8.55
  - - - - - -
jira-integration.md 64.79 42.17 9.19 9.4 11.18 7.37
  - - - - - -
configuring-file-extensions.md 53.61 45.96 12.91 11 11.42 8.23
  - - - - - -
adjusting-quality-settings.md 72.25 49.31 8.03 9.2 10.78 6.3
  - - - - - -
upgrade.md 13.57 0 14.93 22 19 8.95
  🔴 -1.6 🟢 +0 🔴 -0.71 🟢 +0 🟢 +0 🔴 -0.12
license.md 46.6 30.46 11.04 13.4 13.74 8.51
  🔴 -4.25 🔴 -0.31 🔴 -0.37 🔴 -1.2 🔴 -0.81 🔴 -0.21
microk8s-quickstart.md 52.73 48.81 10.72 12.5 14.09 7.97
  🟢 +0.15 🟢 +0 🟢 +0 🟢 +0 🟢 +0.11 🟢 +0
monitoring.md 49.05 30.97 9.84 13.6 14.61 7.94
  🔴 -1.6 🔴 -0.2 🔴 -0.13 🔴 -0.5 🔴 -0.35 🔴 -0.04
logging.md 50.08 29.65 10.49 13.4 13.8 7.65
  🔴 -3.76 🔴 -8.67 🔴 -0.14 🔴 -0.8 🔴 -0.52 🔴 -0.06
caching.md 41.34 29.35 11.75 15.1 15.25 8.28
  🔴 -3.83 🔴 -0.2 🔴 -0.31 🔴 -1.1 🔴 -0.75 🔴 -0.19
gitlab-enterprise.md 51.84 33.1 9.53 13.3 14.78 7.41
  🔴 -1.3 🟢 +0 🔴 -0.09 🔴 -0.4 🔴 -0.24 🔴 -0.07
gitlab-cloud.md 55.21 40.85 10.35 11.6 12.93 7.9
  🔴 -2.93 🔴 -0.21 🔴 -0.23 🔴 -0.7 🔴 -0.76 🔴 -0.13
github-enterprise.md 40.08 22.31 11.7 14.6 15.25 8.56
  🔴 -6.17 🔴 -8.66 🔴 -0.36 🔴 -1.4 🔴 -0.93 🔴 -0.24
github-cloud.md 46.12 30.77 10.95 13.7 14.14 8.41
  🔴 -4.77 🔴 -0.2 🔴 -0.37 🔴 -1.4 🔴 -0.92 🔴 -0.24
email.md 51.77 33.51 9 12.3 13.56 8.72
  🔴 -6.6 🔴 -8.76 🔴 -0.45 🔴 -1.5 🔴 -0.99 🔴 -0.25
bitbucket-server.md 59.05 34.32 8.54 11.7 13.73 6.94
  🔴 -1.49 🔴 -0.1 🔴 -0.13 🔴 -0.4 🔴 -0.29 🔴 -0.08
bitbucket-cloud.md 63.99 42.38 9.1 9.9 11.64 7.25
  🔴 -2.08 🔴 -0.1 🔴 -0.16 🔴 -0.6 🔴 -0.4 🔴 -0.11

Averages:

  Readability FRE GF ARI CLI DCRS
Average 54.44 42.89 10.81 12.31 12.33 7.95
  🔴 -0.02 🔴 -0.08 🟢 +0.01 🟢 +0 🔴 -0.02 🟢 +0
View metric targets
Metric Range Ideal score
Flesch Reading Ease 100 (very easy read) to 0 (extremely difficult read) 60
Gunning Fog 6 (very easy read) to 17 (extremely difficult read) 8 or less
Auto. Read. Index 6 (very easy read) to 14 (extremely difficult read) 8 or less
Coleman Liau Index 6 (very easy read) to 17 (extremely difficult read) 8 or less
Dale-Chall Readability 4.9 (very easy read) to 9.9 (extremely difficult read) 6.9 or less

@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

⚠️ Resolve issues before merging

Two blocking documentation correctness issues remain: the published MicroK8s requirement contradicts the evidence in the same data file, and the Security Monitor page contains malformed table markup. These should be corrected before merging.

The strict documentation build and version-aware rendering scenarios have not been automated or otherwise demonstrated in the supplied review data, leaving the acceptance criteria around generated output and selected-version commands unverified.

Test suggestions

  • Build the documentation strictly and verify all version macros, tables, and tabs render without unresolved template text.
  • Test self_hosted_tabs indentation inside numbered lists and verify tab groups remain correctly structured.
  • Verify self_hosted_table renders every supported version and requested field in the expected order.
  • Verify installation, upgrade, and configuration commands use the intended latest or selected Self-hosted version.
  • Validate the HTML structure of the newly added Security Monitor page.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Build the documentation strictly and verify all version macros, tables, and tabs render without unresolved template text.
2. Test self_hosted_tabs indentation inside numbered lists and verify tab groups remain correctly structured.
3. Verify self_hosted_table renders every supported version and requested field in the expected order.
4. Verify installation, upgrade, and configuration commands use the intended latest or selected Self-hosted version.
5. Validate the HTML structure of the newly added Security Monitor page.
Low confidence findings
  • Add automated documentation-build and rendering checks for the new version-aware macros and templates.

TIP How was this review? Give us feedback

Comment thread data/self-hosted-versions.yml Resolved
- Release note for v17.0.0 (stable chart published 2026-09-02), registered in the
  index and nav. No component changes from v16.0.0; one upgrade-hook fix.
- Data row for v17.0.0, so install, upgrade, and the version tabs use it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@claudiacodacy
claudiacodacy requested review from a team as code owners October 30, 2026 12:09
claudiacodacy and others added 2 commits October 30, 2026 12:14
… MicroK8s for v16+ [OD-1044]

- Helm templates sit in a fenced block inside {% set command %}, so Vale reads them as
  code; add "endset" to the Codacy vocabulary. Document the pattern in formatting.md.
- v17.0.0 note: drop the unused codacy_tools_version_* keys, format @coffeelint/cli as code.
- Security Monitor (copied from v14): add the missing <tr> before PHP, drop a stray </a>
  in the C++ row, close the footnote <span>.
- MicroK8s for v16.0.0 and v17.0.0 is 1.30 to 1.33, the range the chart CI installs on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…044]

The page references three status images and the Code patterns page from raw HTML,
which the copy from release/v14.0 didn't carry over or re-base. htmltest flagged all four.

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

This branch was previously deployed

1 inactive deployment
Netlify — 1488cbbc Deployed Oct 30, 2026 by github-actions[bot]
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