Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
8aab2bd
A release tags only a commit whose image scan passed, and no step del…
zlareb1 Dec 3, 2026
ae8b0c5
Release tooling: a scan fix is tagged after a gating run, and the sca…
zlareb1 Dec 3, 2026
59f8dac
Release tooling: the tag check reads the run's title, and a later tag…
zlareb1 Dec 3, 2026
9ac6c5c
Release tooling: the release PR merges with its gating subject, and t…
zlareb1 Dec 3, 2026
4980e28
The standalone-skills bump test reads a pin through _matches
zlareb1 Dec 3, 2026
1e08a8f
Release tooling: the final after a soak takes a fresh gating run, and…
zlareb1 Dec 3, 2026
da7ff5a
Release docs: a dead tag's UNRELEASED entry always reaches main, and …
zlareb1 Dec 3, 2026
c72b309
Release docs: only the final waits for a gating scan, and every line …
zlareb1 Dec 3, 2026
70610ab
Release docs: a dead tag enters UNRELEASED before the patch's bump, a…
zlareb1 Dec 3, 2026
d3b0f71
Release docs: the notes refresh before a tag past the release PR, and…
zlareb1 Dec 3, 2026
e252c60
Format the install-pin test's line count
zlareb1 Dec 3, 2026
8316c09
A test bumps to a longer version, and the dead-tag and final-tag rows…
zlareb1 Dec 3, 2026
e2fa06d
The doc pin scan reads tracked pages, and three comments say what the…
zlareb1 Dec 3, 2026
ab0dd55
The pin test's target is always longer, and the smoke test pins the g…
zlareb1 Dec 3, 2026
bdb4f93
A stray candidate leaves the final's failed jobs re-runnable, and the…
zlareb1 Dec 3, 2026
af129f4
check_tag names the final's run that published part as the one to re-run
zlareb1 Dec 3, 2026
8d31714
The tag commands read the dispatched run's commit, and a patch's scan…
zlareb1 Dec 3, 2026
535ad20
A dispatched scan is read by the commit named before the dispatch, an…
zlareb1 Dec 3, 2026
f16678f
docs(release): read the soak dispatch by the candidate's commit, refl…
zlareb1 Dec 3, 2026
fc81f1d
docs(release): fetch the candidate tag before the soak read, say what…
zlareb1 Dec 3, 2026
648228f
fix(release): read a dispatch by commit and time, say what a re-run c…
zlareb1 Dec 3, 2026
14e6320
docs(release): re-run a flaky job on the merge commit's run, split th…
zlareb1 Dec 3, 2026
d102c93
chore(release): let the release skill tag and dispatch the release it…
zlareb1 Dec 3, 2026
5fd0982
docs(release): drop the approval and owner hand-off text, give the ri…
zlareb1 Dec 3, 2026
984e819
docs(release): write the dispatch time in, wait a minute before a re-…
zlareb1 Dec 3, 2026
378769a
docs(release): tell a CVE finding from a scan that could not run, cap…
zlareb1 Dec 3, 2026
2d0ae81
fix(release): word check_tag's refusal by the version job, age a gati…
zlareb1 Dec 3, 2026
91b4d7f
fix(release): lead check_tag's refusal with the nothing-published cas…
zlareb1 Dec 3, 2026
af9bbd4
docs(release): name the release run in check_tag's refusal, add the t…
zlareb1 Dec 3, 2026
d9617e8
release: state the six-hour gate once, name the n8n environment rule
zlareb1 Dec 3, 2026
f2598fb
release: list what a re-run cannot publish before saying where it ships
zlareb1 Dec 3, 2026
504b594
release: name the gate output gates_release, keep v* tag deletion denied
zlareb1 Dec 3, 2026
a16dd45
release: deny every spelling of a v* tag deletion
zlareb1 Dec 3, 2026
f531010
release: say the tag ruleset refuses what the local rules miss
zlareb1 Dec 3, 2026
d6b47e2
test: keep the reason for gh release create, not who decided
zlareb1 Dec 3, 2026
fdcec96
release: list the gating runs beside the true case; pre-check doc pins
zlareb1 Dec 3, 2026
f981047
release: a dead final holds Latest until a higher final ships
zlareb1 Dec 3, 2026
42593c9
test: pin deleting a merged prep/release branch as not denied
zlareb1 Dec 3, 2026
57beeb6
test: spell the release line case as the skill does
zlareb1 Dec 3, 2026
c562a0c
test: put the tag-deletion note beside its cases; name the extras pin
zlareb1 Dec 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .claude/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,15 @@
"Bash(git push * *:refs/heads/main)",
"Bash(git push --tags*)",
"Bash(git push * --tags*)",
"Bash(gh workflow run release*)",
"Bash(gh release create*)",
"Bash(docker * loom-blue*)",
"Bash(docker * loom-green*)",
"Bash(docker * loom-proxy*)",
"Bash(docker * loom-server*)",
"Bash(docker * loom-workers*)",
"Bash(git push *refs/tags/*)",
"Bash(git push *-d* v*.*)",
"Bash(git push * v*.* *-d*)",
Comment thread
cursor[bot] marked this conversation as resolved.
Resolved
"Bash(git push *:v*.*)",
Comment thread
cursor[bot] marked this conversation as resolved.
Resolved
"Bash(git push *--follow-tags*)",
"Bash(git push * main *)",
"Bash(git push *refs/heads/main*)",
Expand All @@ -114,7 +115,6 @@
"Bash(git push * --mirror*)",
"Bash(git push --all*)",
"Bash(git push * --all*)",
"Bash(git push * v*.*)",
"Bash(git -C * push*)",
"Bash(git -c * push*)",
"Bash(git * --output*)",
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/loom-investigate-ci/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ gh run list --workflow ci.yml --branch main -L 5 --json conclusion,headSha,creat
| Job | Usual cause | Reproduce / fix |
| --- | --- | --- |
| `the ClickHouse release this run tests` (`ci.yml`, `docker-smoke.yml`) | the release lookup in `dev/clickhouse_release.sh` or the registry it reads | rerun once; if it fails again, run the script locally and read its error |
| `Quickstart (<arch>)` (`docker-smoke.yml`, on PRs and pushes to `main` or a `release/X.Y` line touching its `paths:`, weekly and on dispatch) | the image or its bundle, the quickstart stack, then the one-line installer in clean containers (`scripts/gates/installer_rehearsal.py`; its FAIL lines name the distribution they ran on); on a weekly or dispatched run, a scan step: a critical CVE with a fixed release in the image | the dashboard test dependencies CI installs first (`npm --prefix frontend ci && npx --prefix frontend playwright install chromium`, after `loom-dev-setup` §6's link check), `docker build -t "loom:smoke-$(basename "$PWD")" .`, then `python3 scripts/gates/docker_quickstart_smoke.py --image "loom:smoke-$(basename "$PWD")" --clickhouse-image <image>` (a tag per worktree: two sessions share the image store; `docker rmi` it afterwards), with the image from `bash dev/clickhouse_release.sh`. The rehearsal, with the tags fetched and Docker on `/var/run/docker.sock`: `python3 scripts/release/build_stack_bundle.py build --version <server __version__> --clickhouse-image <image> --output-dir <dir>`, then `python3 scripts/gates/installer_rehearsal.py --release-dir <dir> --upgrade --image <server image> --extractor-image <extractor image>`. A scan: build with `docker build --no-cache` (a cached apt layer keeps a fixed package), then `trivy image --severity CRITICAL --ignore-unfixed` on it names the package; move the pin that brings it in (a `Dockerfile` `ARG`, the base-image digest for a package the base image carries, or a lock file) |
| `Quickstart (<arch>)` (`docker-smoke.yml`, on PRs and pushes to `main` or a `release/X.Y` line touching its `paths:`, weekly and on dispatch) | the image or its bundle, the quickstart stack, then the one-line installer in clean containers (`scripts/gates/installer_rehearsal.py`; its FAIL lines name the distribution they ran on); on a run `scripts/gates/docker_smoke_gate.sh` gates (weekly, dispatched, a `Release X.Y.Z` PR or its merge commit, a `release/X.Y` line), a scan step: a critical CVE with a fixed release in the image | the dashboard test dependencies CI installs first (`npm --prefix frontend ci && npx --prefix frontend playwright install chromium`, after `loom-dev-setup` §6's link check), `docker build -t "loom:smoke-$(basename "$PWD")" .`, then `python3 scripts/gates/docker_quickstart_smoke.py --image "loom:smoke-$(basename "$PWD")" --clickhouse-image <image>` (a tag per worktree: two sessions share the image store; `docker rmi` it afterwards), with the image from `bash dev/clickhouse_release.sh`. The rehearsal, with the tags fetched and Docker on `/var/run/docker.sock`: `python3 scripts/release/build_stack_bundle.py build --version <server __version__> --clickhouse-image <image> --output-dir <dir>`, then `python3 scripts/gates/installer_rehearsal.py --release-dir <dir> --upgrade --image <server image> --extractor-image <extractor image>`. A scan: build with `docker build --no-cache` (a cached apt layer keeps a fixed package), then `trivy image --severity CRITICAL --ignore-unfixed` on it names the package; move the pin that brings it in (a `Dockerfile` `ARG`, the base-image digest for a package the base image carries, or a lock file) |
| `Repository-job sandbox under the shipped profiles` (`docker-smoke.yml`) | the AppArmor or seccomp profile, or a sandbox change the profile blocks | the profiles row of `loom-pre-push` §3 |
| `ruff + mypy-gate` (lint) | a generator `--check` is stale (the plugin sync also compares executable bits); ruff; function-length or mypy ratchet | `make lint`, `make typecheck`; run the named generator without `--check` and commit its output; split the long function |
| `pytest unit part k` | order dependence; two tests sharing a file or port while they run side by side; a fake that drifted; a snapshot; a migration number `main` took since your base (renumber per the `migrations` rule) | the reproduction in [`tests/README.md`](../../../tests/README.md), with the part's `LOOM_TEST_SHARD=k/6` on the commands that name `tests/unit`; update a snapshot only for an intended change |
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/loom-pre-push/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Use this map to select local checks and inspect the matching CI jobs. Full integ
| `sdk/python/` | CI's "python sdk wheel" steps (job `sdk-python-package` in `.github/workflows/ci.yml`): `uv build sdk/python --out-dir dist`, a fresh Python 3.11 virtualenv with the wheel and its `Requires-Dist` installed at `--resolution lowest-direct`, then `scripts/gates/sdk_wheel_smoke.py dist/*.whl` in it; the server's 3.12 venv hides an undeclared dependency or a 3.12-only API |
| the files the hostile sandbox suite runs: `server/code/app/index/` `sandbox.py`, `egress.py`, `egress_relay.py`, `compiler_tier.py`, `gitrepo.py`, `server/core/hosts.py`, and `tests/unit/test_repo_job_sandbox*.py` | `LOOM_TEST_REQUIRE_SANDBOX=1 .venv/bin/python -m pytest tests/unit/test_repo_job_sandbox.py tests/unit/test_repo_job_sandbox_hostile.py -q` on a host where bubblewrap can create namespaces; without it the test fails here, as in CI. On a host where it cannot, push and read CI's `repository-job sandbox (real bubblewrap)` job; never install bubblewrap or change the user-namespace sysctl on a shared host |
| `deploy/apparmor/`, `dev/seccomp/`, `dev/docker-compose.colour.yml` | push and read `docker-smoke.yml`'s "Repository-job sandbox under the shipped profiles" job, which builds the image, loads the profile and runs the two sandbox suites in the container; the host test above never applies a profile. Reproduce that job only on a disposable VM: `apparmor_parser -r` replaces the profile host-wide, under any deployment's running repository jobs, and its sysctl changes every session's sandbox on that host |
| `docs/`, any `.md` | `.venv/bin/python -m pytest tests/unit/test_doc_links.py tests/unit/test_public_copy.py` |
| `docs/`, any `.md` | `.venv/bin/python -m pytest tests/unit/test_doc_links.py tests/unit/test_public_copy.py`, with `tests/unit/test_release_prepare.py` for a page with an install command that names a version (`clickhouse-loom==`, `clickhouse-loom[<extras>]==`, `@clickhouse/loom@`, `--ref v`) |

## 4. Read the regenerated diff

Expand Down
Loading
Loading