Repository navigation
Conversation
Resolves the README finding from the hub audit (run `2026-09-26T13:38:57Z | hub 45669468`): "the `Distribution` group holds external reference(s)" per `spec/readme-structure.md`. `[hub-link]` points at the Docker Hub owner page (`hub.docker.com/u/ptr727`), which is not one of this project's own repositories under `hub.docker.com/r/ptr727/`, so it moves from `<!-- Distribution -->` to `<!-- External -->`, sorted by reference name. Both uses of the reference are unchanged. Local strict review: one pass, no findings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Moved the Docker Hub organization link to the External references section. The URL remains unchanged. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Resolves the workflow findings from the hub audit (run `2026-09-26T13:38:57Z | hub 45669468`): the five `hub-only` task files, and the `publish` and `merge-bot` interface contracts in `spec/files.json`. NxWitness is the matrix and `build-base` case of the hub's Docker family (hub `docs/reusable-workflows.md` Stage 4 and Stage 5). ## What changes - **Retired carried tasks:** `build-docker-task.yml`, `build-base-images-task.yml`, `get-version-task.yml`, `publish-plan-task.yml`, `run-codegen-pull-request-task.yml`, `validate-task.yml`. Every hub task is reached by pin at `456694681ae7` (`2.0.685`). - **`publish-release.yml`:** `plan` -> `validate` -> `build-base` (main only) -> `publish` (hub `build-release-task.yml`) -> `publish-docker-readme` (hub task, main only). The triggers, the one-branch-per-run model, and the global concurrency group are unchanged. `github` is true only on main, and `expect_release_assets` is false. - **`test-pull-request.yml`:** `validate` and `smoke-build` call the hub tasks. The smoke build goes through `build-release-task.yml` with `smoke: true`, and the change-gate now also fires on the Docker hooks and on `.github/workflows/`, so a Dependabot hub pin bump exercises the pinned Docker chain. - **Hooks under `.github/actions/`:** - `docker-prepare` maps a branch's `Make/Matrix.json` rows onto the hub matrix shape, reading `image` as a name filter for the smoke subset. - `docker-build-base` builds `nx-base`/`nx-base-lsio`. - `codegen` runs `CreateMatrix`. - **Merge-bot and codegen:** the catalog stubs, with `delete-branch: true` because repository auto-delete is off. The NuGet semver-major filter is dropped per D8.1, the maintainer's decision for this adoption. - **Shell scripts:** fixed so they pass the `shellcheck` and `shfmt` gate the hub `validate-task.yml` runs and the carried one did not. The edits are quoting, formatting, and two annotated `SC2016` literals, with no runtime change. - **Docs:** `WORKFLOW.md` (edited in place; the carried-instruction-file-guard probe found it almost entirely repo-specific), `ARCHITECTURE.md` "Template Adaptations", `OPERATIONS.md`, `NxWitness.slnx`, and `dependabot.yml` comments. ## Deliberate behavior changes - **Base images:** the pushing base build stays a job of this repo, because the hub's `docker-build-base` leg has no Docker Hub login (filed as ptr727/ProjectTemplate#1892). Only the non-pushing smoke build reaches the hook through the hub. - **Docker Hub overview:** it now publishes `Docker/README.md`, the hub default and the file written for that purpose, rather than `README.md`. It is pushed only after a successful publish. - **Feature-branch dispatch:** a dispatch of the publisher from a feature branch now fails the plan job with an error, where it used to be a silent no-op. This is the hub plan policy. - **Build matrix:** the product matrix no longer caps at `max-parallel: 4`, and the product cache mode is `max`. Both are owned by the hub core. - **Transient until promotion:** a *manually dispatched* codegen run from `develop` calls the hub task, whose `main` leg fails with "Required hook missing" until this reaches `main`. The scheduled run uses main's workflow and is unaffected. ## Verification - Local runs of `actionlint`, markdownlint, `editorconfig-checker`, `shellcheck`, `shfmt` (latest and 3.8.0), the hub `repo_gate.py`, and `check-jsonschema` on the hooks, plus rendering of the four Mermaid diagrams, all passed. - The `docker-prepare` jq produces 20 rows per branch, and the 2-row smoke subset, against the current `Make/Matrix.json`. - Local strict review ran three rounds: 5 findings, then 2, then 0. Every finding was fixed except the codegen transient above. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Installer downloads provided as ZIP files are now extracted, with the first `.deb` installer saved for use. * **Improvements** * Release publishing now validates before building and publishes Docker images; successful stable releases also update Docker Hub repository descriptions. * Pull request smoke builds now run when Docker hooks or workflow files change. * Shell scripts handle paths containing spaces or special characters more reliably. * **Documentation** * Updated architecture, operations, and workflow guides to reflect current build and release processes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
|
Warning Review limit reachedNext included review available in 48 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (25)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #594 +/- ##
=======================================
Coverage 57.01% 57.01%
=======================================
Files 15 15
Lines 1375 1375
Branches 108 108
=======================================
Hits 784 784
Misses 573 573
Partials 18 18 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
It materially changes the release/CI orchestration by delegating critical behavior to pinned hub workflows whose implementation is not reviewable from this diff, so it warrants final human review before approval.
Review effort: Lite
Findings: None
What changed in this PR
This PR promotes the prior “adopt hub-hosted workflow tasks” work from develop to main by removing locally carried reusable workflow tasks, switching entry workflows to SHA-pinned hub tasks, and adding repository-specific composite “hook” actions that hub workflows invoke from this repo’s checkout. It also updates the repo’s CI/CD documentation and supporting scripts to reflect (and satisfy) the hub workflow contract.
Changes:
- Replace carried reusable workflow tasks with SHA-pinned hub workflows, keeping only entry workflows in-repo.
- Add three composite hook actions (
docker-prepare,docker-build-base,codegen) that implement repo-specific steps for hub workflows. - Update CI/CD documentation and local scripts to match the new hub-task + hook architecture (including link-format and shellcheck/shfmt-driven cleanups).
| File | Description |
|---|---|
WORKFLOW.md |
Updates the CI/CD contract documentation for hub-hosted tasks + local hooks; converts to reference-style links. |
README.md |
Moves the Docker Hub org link reference to the External link group (no URL change). |
OPERATIONS.md |
Updates local verification guidance to reflect hub validate-task.yml and expanded lint gate behavior. |
ARCHITECTURE.md |
Updates architecture summary and “Template Adaptations” to the hub-task + hook model. |
NxWitness.slnx |
Replaces removed carried workflow task entries with the new composite hook action files. |
Make/Clean.sh |
Quotes docker image name argument for safer shell behavior. |
Make/Build.sh |
Quotes tags/paths and normalizes formatting to satisfy shellcheck/shfmt expectations. |
Docker/lsio-rename-user.sh |
Refactors signature checks for readability and shellcheck compliance (fixed-string grep + SC2016 notes). |
Docker/entrypoint.sh |
Quotes paths and tightens shell formatting while preserving behavior. |
Docker/download.sh |
Adjusts ZIP vs DEB handling formatting and ensures unsupported types fail with exit code 1. |
.husky/pre-commit |
Adds an explicit SC1091 disable for the generated Husky shim source line. |
.github/workflows/validate-task.yml |
Deletes the locally carried reusable validate task in favor of the hub-hosted task. |
.github/workflows/test-pull-request.yml |
Switches CI to hub validate-task.yml and hub build-release-task.yml smoke mode; updates change-gate inputs. |
.github/workflows/run-periodic-codegen-pull-request.yml |
Switches daily codegen to the hub run-codegen-pull-request-task.yml and tightens permissions/concurrency. |
.github/workflows/run-codegen-pull-request-task.yml |
Deletes the locally carried reusable codegen task in favor of the hub-hosted task. |
.github/workflows/publish-release.yml |
Replaces the in-repo release chain with hub plan/validate/build/release/readme tasks plus a local base-push job using a hook. |
.github/workflows/publish-plan-task.yml |
Deletes the locally carried plan task in favor of the hub-hosted task. |
.github/workflows/merge-bot-pull-request.yml |
Replaces local merge-bot implementation with hub merge-bot-task.yml invocation. |
.github/workflows/get-version-task.yml |
Deletes the locally carried version task in favor of the hub-hosted task. |
.github/workflows/build-docker-task.yml |
Deletes the locally carried docker build task in favor of the hub-hosted task. |
.github/workflows/build-base-images-task.yml |
Deletes the locally carried base-image task in favor of the local docker-build-base hook plus hub orchestration. |
.github/dependabot.yml |
Updates comments to reference the new hub-driven codegen/merge-bot shape. |
.github/actions/docker-prepare/action.yml |
New hook: converts Make/Matrix.json rows into the hub docker matrix format (with optional name filtering). |
.github/actions/docker-build-base/action.yml |
New hook: builds/pushes nx-base and nx-base-lsio with correct multi-arch vs smoke behavior. |
.github/actions/codegen/action.yml |
New hook: runs the CreateMatrix generator step for hub codegen task orchestration. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Promotes
developat3c0ea13tomain:2.0.685, and adds thedocker-prepare,docker-build-base, andcodegenhooks.Together they close the workflow, interface, and README findings of the hub audit run
2026-09-26T13:38:57Z | hub 45669468, which measuresmainand can confirm them only after this merges. The About description was set to the README tagline separately. The Docker Hub short description follows on the nextmainpublish, since the readme task pushes the repository description.After this merges:
developcodegen run whosemainleg found nocodegenhook. The daily schedule onmainthen runs the hub task with the hook.Make/Matrix.jsonis unchanged. The first real run of the new publisher is the next weekly schedule, or aworkflow_dispatchfrommainto prove it sooner. That run is the first to exercise the pushingbuild-basejob, the multi-arch product matrix, the GitHub release, and the Docker Hub readme through the hub tasks, none of which a pull request smoke build reaches.Merge with
--merge, per the promotion convention.🤖 Generated with Claude Code