Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
cc9fc83 to
70b3f88
Compare
|
@zlareb1 Any reason to keep llms.txt and llms-full.txt in the repo? These get generated automatically now at https://loom.clickhouse.com/docs/llms.txt and https://loom.clickhouse.com/docs/llms-full.txt |
zlareb1
left a comment
There was a problem hiding this comment.
The retained MkDocs configuration still runs a hook that requires a deleted file. The locale edits also leave edited generated pages stamped with their old source revision.
zlareb1
left a comment
There was a problem hiding this comment.
The Python SDK snapshot and code.read scope-classification failures reproduce on this PR’s merge and on clean main. Both assertions pass with the tracked repair. Failed job · Repair #1293
|
@Blargian yes, can be removed in this PR |
zlareb1
left a comment
There was a problem hiding this comment.
The HTTP contract failure reproduces on clean main. The repair collects the transport before Hypothesis draws inputs. The HTTP contract workflow on the repair merge passed. Failed job · Repair #1325.
zlareb1
left a comment
There was a problem hiding this comment.
The publisher hooks and generated translation page edits are removed. The repository guide fails the required format check on this head.
zlareb1
left a comment
There was a problem hiding this comment.
The code.edit_context SDK snapshot, MCP primer, and read-scope failures reproduce on this PR's CI merge commit and on clean main before the repair. All five focused tests pass locally on the merged repair. Failed unit job · Repair #1328.
zlareb1
left a comment
There was a problem hiding this comment.
The prior format failure is fixed. The same four focused translation and release-link assertions pass on clean main and fail with the changed Markdown. The translation merge job also builds generated locale pages as MDX with write credentials.
|
@Blargian is attempting to deploy a commit to the ClickHouse Team on Vercel. A member of the Team first needs to authorize it. |
zlareb1
left a comment
There was a problem hiding this comment.
The source headings keep their release links. The generated site still drops the Quickstart anchor, omits the notice for retained translations of removed pages, and sends translated readers to the retired full index.
GitHub reports a conflict with main in .github/workflows/docs-site.yml, docs/index.md, and six other files. Resolve the conflicts against main.
zlareb1
left a comment
There was a problem hiding this comment.
GitHub reports merge conflicts with main in 12 files, including .github/workflows/docs-site.yml, docs/scripts/prepare-content.mjs, and mkdocs.yml. Please rebase the branch and resolve the conflicts.
zlareb1
left a comment
There was a problem hiding this comment.
The translated indexes link to the current full index. Two findings remain on this head. The prepared Agent setup page still links to the Quickstart fragment dropped by Steps, and a stamped translation with a removed English source still renders without the documented notice. The 20 content-preparation tests pass.
zlareb1
left a comment
There was a problem hiding this comment.
The previous CI run’s lesson lookup limit, memory.for_file analyzer, and ClickHouse 26.11 test storage failures reproduce on that run’s base without the publishing changes. The focused checks pass on the merged fix.
zlareb1
left a comment
There was a problem hiding this comment.
The built Quickstart preserves the linked step IDs, and retained translations of removed pages show a standalone notice. The docs build and all 22 content-preparation tests pass.
|
@Blargian plz fix merge conflict |
zlareb1
left a comment
There was a problem hiding this comment.
GitHub reports merge conflicts with main in llms.txt and tests/unit/test_docs_site_indexnow.py. The branch deletes both files and main modifies them. Please rebase and resolve those deletions against the publishing change.
zlareb1
left a comment
There was a problem hiding this comment.
Keep production URL submission when retiring the legacy publisher. The retained scripts/docs_site/redirect_pages.py:12 also imports _TOKEN from the deleted scripts/docs_site/hooks.py. Remove that orphaned script and its fragment manifest if the redirect publisher is retired.
The prose column uses more of the space between navigation and the page outline. Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
Published documentation links and metadata point at the current documentation site, and translation finalization no longer dispatches the retired publisher. Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
The finalizer reads a validating CI run but no longer dispatches the retired documentation publisher. Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
The remaining hooks read the retired root index during a MkDocs build. Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
The documentation formatter removes the extra alignment space. Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
Numbered procedure headings bypassed the site component and did not share its visual treatment. Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
The placeholder escape rewrote valid HTML tags and left their closing tags unmatched. Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
Converted procedures retain their source fragments, and stamped translations describe removed sources without linking to them. Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
The production submission workflow still needs its route mapper after the legacy publisher and redirect assets are removed. Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
abd850a to
e2f6e41
Compare
zlareb1
left a comment
There was a problem hiding this comment.
The main-only IndexNow job and its tests are restored, and the orphaned redirect script is gone. The current head still restores retired links in localized READMEs and indexes, including the Japanese documentation link and its full index. The translation finalizer also merges with GITHUB_TOKEN without dispatching IndexNow, so the merge itself cannot trigger URL submission. Localized links · Translation merge
zlareb1
left a comment
There was a problem hiding this comment.
The credential-error and sender-census assertions also failed on clean main, with the same source file and sender fingerprint as this run. Both assertions pass locally on the merged fix. PR credential job · PR sender job · Merged repair #1654
The translation finalizer dispatches IndexNow after the validated merge and the site maps retired locale index links to generated files. Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
# Conflicts: # docs/index.md # docs/theme.css # scripts/docs_site/indexnow.py
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
Reviewed by Cursor Bugbot for commit 5d28cff. Configure here.
| [`llms.txt`](https://loom.clickhouse.com/docs/llms.txt) · | ||
| [`llms-full.txt`](https://loom.clickhouse.com/docs/llms-full.txt) | ||
| [`llms.txt`](https://clickhouse.github.io/loom/llms.txt) · | ||
| [`llms-full.txt`](https://clickhouse.github.io/loom/llms-full.txt) |
There was a problem hiding this comment.
Translated READMEs link to retired docs host
High Severity
Generated Spanish, Japanese, Korean, Portuguese, and Chinese README documentation links were switched from https://loom.clickhouse.com/docs/ to https://clickhouse.github.io/loom/, the retired publisher. The English README, the language-bar generator, and scripts/i18n/site.py SITE still use the current host, so the same translated README now mixes both. prepare-content does not rewrite i18n/*/README.md, so GitHub readers of those files get the dead site. The same reversal appears in the translated docs indexes for llms-full.txt.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 5d28cff. Configure here.
zlareb1
left a comment
There was a problem hiding this comment.
The finalizer dispatches IndexNow after merging translations. A failed dispatch or submission still needs a retry path. The localized README links still point to the retired publisher. Localized links
| def finalize() -> None: | ||
| """Merge only an exact successful hosted CI head, with repository protections.""" | ||
| repository = os.environ["GITHUB_REPOSITORY"] | ||
| sync_site(repository) |
There was a problem hiding this comment.
P2 — Retry IndexNow after the translation PR has merged. If this dispatch fails or the workflow times out waiting for production, the next scheduled finalizer returns when there is no open translation PR. The merged pages then wait for an unrelated push or a manual dispatch. Restore a check for unsubmitted translation merges and cover a failed submission followed by an empty PR queue.
There was a problem hiding this comment.
Fixed in 6028b24: when no translation PR is open, the finalizer compares the latest merged translation PR with completed docs-site runs and retries IndexNow unless a later run succeeded. The regressions cover a failed submission with an empty queue and an older PR updated after a newer merge.
|
The sender census reports the same five fingerprint mismatches on this PR and its clean base. I reproduced the same assertion on current |
The finalizer retries a failed documentation submission after the translation queue empties. Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
c961f28 to
6028b24
Compare
zlareb1
left a comment
There was a problem hiding this comment.
The IndexNow retry can mistake a run on an older commit for a submission of the translation merge. The localized README links still point to the retired publisher.
GitHub reports conflicts with main in docs/theme.css, llms.txt, and scripts/docs_site/indexnow.py. Please resolve those conflicts.
| "status=completed&per_page=100" | ||
| ) | ||
| submitted = any( | ||
| run.get("conclusion") == "success" and run.get("created_at", "") >= merged["merged_at"] |
There was a problem hiding this comment.
P2 — A successful docs-site run on the commit before the translation merge suppresses the retry if the two timestamps fall in the same second. I reproduced this with a run whose created_at equals the PR’s merged_at and whose head_sha predates merge_commit_sha. Require a successful indexnow job on the merge commit or a descendant before treating the translations as submitted.



Changelog category (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
Not required.
Why
The documentation site uses a dark first-visit theme and a wider reading column. Published links, package metadata, and publishing automation still point at the retired site. This change moves those references to the current site.
Scope and risk
This changes the documentation theme defaults, public documentation URLs, package metadata, and publishing automation. It removes the retired publisher and repository-level
llms.txtgenerator, removes an unused workflow write permission, and makes translation finalization build the current documentation site. The site generatesllms.txtandllms-full.txt. It does not change server behavior, stored data, authorization, or plugin behavior.It also converts numbered procedure sections in the English source pages to
StepsandStepcomponents. Content preparation promotes only component-bearing pages to MDX,escapes uppercase placeholders that MDX would parse as tags, and keeps step markers white
with a higher-contrast connector. Machine-translated pages remain unchanged. A
misclassified page could fail the MDX build, which the complete docs build covers.
Compatibility, rollout and rollback
Tests
make formatmake lintmake typecheckpython -m pytest tests/unit/test_docs_site_indexnow.py tests/unit/test_published_links.py tests/unit/test_i18n.py tests/unit/test_i18n_lifecycle.py tests/unit/test_i18n_automation.py tests/unit/test_doc_links.py tests/unit/test_public_copy.py -qpython -m pytest tests/unit/test_docs_reference.py tests/unit/test_page_summary.py tests/unit/test_doc_links.py tests/unit/test_public_copy.py tests/unit/test_i18n.py tests/unit/test_docs_site_hooks.py -qLOOM_ENV_FILE= .venv/bin/python -m pytest tests/unit/test_doc_links.py tests/unit/test_public_copy.py -q— 276 passed.node --test docs/scripts/prepare-content.test.mjsnpm --prefix docs run buildAI assistance in the code (leave one; writing this description with AI is fine):
AI-generated (an agent wrote most of the diff): Codex; checked the link replacement, workflow removal, Steps component markup, rendered preview, test changes, and documentation build.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
make test-unitand applicable integration results are reported by CI; a full local run is not required before pushing.docs/reference/configuration.mdand thedocs/reference/tables (python scripts/codegen/docs_reference.py), the reach manifest,schemas/schema.sql(make schema-dump) and the Codex plugin copies (python3 scripts/codegen/agent_plugin_sync.py).main; no merged migration is edited.hooks/,lib/,bin/,skills/,.mcp.json, the Codexplugin-defaults.json) bumps both plugin manifests' version, and no other open PR uses that version.npm --prefix frontend run build) and its tests pass, iffrontend/changed.docs/describe the system as it now is, and this description names any operator steps and wire changes.tests/unit/test_public_copy.py).git commit -s), as CONTRIBUTING.md asks.Note
Medium Risk
Changes public documentation URLs, CI publishing, and the i18n merge gate; no server, auth, or data-plane behavior, but a broken Blume build or wrong canonical links would affect operators and agents.
Overview
Finishes the move from the MkDocs / GitHub Pages publisher to the Blume docs app at
https://loom.clickhouse.com/docs/. Thedocs-siteworkflow no longer builds or deploys Pages; it only runs IndexNow after production deploys. Translation finalize validates merges withnpm --prefix docs run buildinstead ofmkdocs build --strict.Repository
llms.txtand the MkDocs hook stack (hooks.py,locales.py, redirects, theme overrides, etc.) are removed;docs_reference.pyno longer writes rootllms.txt. Agents are directed to site-generated/docs/llms.txtandllms-full.txt. Contributor docs now describe Blume as the build and describellms.txtas a site artifact.prepare-content.mjsgains the main content behavior: contiguous## N.sections become Blume<Steps>(English pages promoted to MDX with placeholder escaping), stale translation notices from i18n blob stamps, locale staging during the mkdocs codemod, and rewrites of retiredllmsURLs.docs/theme.cssstyles step markers for light/dark contrast.IndexNow build inputs and route helpers move toward
scripts/i18n/site.py; many in-repo links drop fragile hash anchors in favor of page-level targets. Generated i18n READMEs still show mixed doc base URLs in the diff—worth confirming against the intended canonical host.Reviewed by Cursor Bugbot for commit 6028b24. Bugbot is set up for automated code reviews on this repo. Configure here.