Skip to content

[docs] client.mdx: two broken links keep the Verify Docs check red on main #3485

Backlog

Description

@polyglotAI-bot

Description

The Verify Docs workflow (job Mintlify checks) fails on main and on each pull request that changes docs/clickhouse-docs/. The last green run was on 2026-11-17 08:16Z. Failed runs on main: 46530592398, 46459615713; on pull requests, for example 46769374692.

The step "Check internal links and anchors" rejects two links in docs/clickhouse-docs/client.mdx:

  • line 240, the roles link of serverSetting(String name, Collection values): /concepts/features/interfaces/http#setting-role-with-query-parameters. On clickhouse.com this link works through a redirect, but the check cannot resolve its anchor.
  • line 1128, the CompressionMethod link of the compression table: ../client-v2/src/main/java/com/clickhouse/client/api/CompressionMethod.java. This link is also broken for readers: on clickhouse.com and on GitHub it points to a path that does not exist.

Steps to reproduce

  1. Check out main.
  2. In the image clickhouse/docs-builder, run the command of .github/workflows/docs_verify.yml (see Code Example).
  3. The link check fails with the two errors below.

Error Log or Exception StackTrace

+ lychee --mode color --offline --include-fragments .
Issues found in 1 input. Find details below.

[./integrations/language-clients/java/client.mdx]:
[ERROR] concepts/features/interfaces/http#setting-role-with-query-parameters (at 240:178) | Cannot find fragment
[ERROR] integrations/language-clients/client-v2/src/main/java/com/clickhouse/client/api/CompressionMethod.java (at 1128:262) | File not found. Check if file exists and path is correct

🔍 107005 Total (in 1s 507ms) 🔗 41086 Unique ✅ 37627 OK 🚫 2 Errors 👻 69376 Excluded

Expected Behaviour

All links of the page resolve, and the check passes. A local run with only these two links changed gives 🚫 0 Errors, so they are the only cause.

Root cause

  • docs/clickhouse-docs/client.mdx:240: between 2026-11-18 and 2026-11-19 the ClickHouse docs moved the HTTP interface page to /concepts/features/connect-to-clickhouse/protocols/http (a folder page, http/index.mdx), with a 308 redirect from the old path. For a redirect, the check copies only the anchors of <destination>.mdx, not of <destination>/index.mdx (materialize_redirects in ClickHouse ci/jobs/scripts/docs/lychee_check.py), so it cannot find the anchor of the old path. The copy of this page in the ClickHouse docs already links the new path.
  • docs/clickhouse-docs/client.mdx:1128: a relative link to a source file outside the docs folder, added with [Integration Spec] Update integration-client.md  #3170 (merged 2026-11-17 17:01Z; the first red run on main started at 17:02Z).

The fix is two links in client.mdx. Polyglot AI can open a fix PR if a maintainer assigns this issue to @polyglotAI-bot.

Code Example

# in the image clickhouse/docs-builder, from the repository root
curl -fsSL -o /tmp/mintlify_docs_check.py \
  https://raw.githubusercontent.com/ClickHouse/ClickHouse/master/ci/jobs/scripts/docs/mintlify_docs_check.py
python3 /tmp/mintlify_docs_check.py \
  --repo https://github.com/ClickHouse/ClickHouse.git --ref master \
  --replace docs/clickhouse-docs:integrations/language-clients/java --scoped

Configuration

Client Configuration

// not applicable: docs link check

Environment

  • Cloud
  • Client version: main at 27d63e9
  • Language version: not applicable
  • OS: clickhouse/docs-builder image (CI: ubuntu-latest)

ClickHouse Server

  • ClickHouse Server version: not used (the link check is offline); ClickHouse docs master at fc20436
  • ClickHouse Server non-default settings, if any: none
  • CREATE TABLE statements for tables involved: none
  • Sample data for all these tables: none

Classification: impact: none · area: Docs & project (client.mdx links, Verify Docs check)


Found by automated analysis (Polyglot AI) in the CI runs of main. Reproduced with the workflow's own link check.

Activity

  1. added
    documentation
    on Dec 2, 2026
  2. added
    ci
    on Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cidocumentation

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions