gh release create fails once the tag's release exists, after both image pushes have already run again. Keep the imported helper's existing-release path: edit the prerelease flag and upload with --clobber. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Block CI in the shared repository
The block module stays in seaweed-block/ with its own go.mod and unchanged module path. Root block-*.yml workflows run shell commands there; action inputs name the subdirectory explicitly. The imported subtree is unchanged: every port file lives under root .github/. Existing module scripts and data remain base-owned inputs; only the Git adapters, unit-group coordinator and relative documentation link check live in root .github/block/scripts/. The existing nested workflows are inert because GitHub only discovers root workflows.
PR and master-push workflows select seaweed-block/** and their root block workflow files. All jobs default to ubuntu-latest. Set the repository variable BLOCK_RUNNER_LABEL only after the corresponding dedicated runner label is registered and available; same-repository/trusted events of the test, spec-trace and known-bugs jobs then use that label. The post-merge-review paths check and the release always run hosted. Fork PRs always use GitHub-hosted runners. GitHub Actions cannot fall back after requesting an unavailable label, so an unset variable is the explicit safe default. Unset it again if the registered pool is withdrawn. Runner discovery would require runner-management API access that the read-only workflow token does not have; no new credential is requested.
The unit check keeps go test (linux) and process-level tests (real binaries) under workflow Block Test. Module-relative diff/blob adapters preserve the block model map and allow list. Root block workflow/Docker recipe changes still pass the block trace/public-text checks; unrelated host code is excluded. No imported module paths or product formats change.
Read-only merge checks
From a trusted current master checkout, run inside the module:
python3 ../.github/block/scripts/safe-merge-check.py 123
It requires an open, ready, mergeable PR, the latest successful Block Test run at its exact head against current master, both successful named jobs, and the base-owned spec-trace/public-text checks. It rechecks head/base after inspection. It never merges or comments. The manager performs the authorized squash merge with --match-head-commit.
For a batch, preserve its builder's exact order in a local manifest:
{"base":"BASE_SHA","batch_pr":123,"head":"BATCH_SHA","prs":[{"number":121,"head":"HEAD_121","evidence":"evidence/121.txt"},{"number":122,"head":"HEAD_122","evidence":"evidence/122.txt"}]}
python3 ../.github/block/scripts/safe-merge-check.py --batch batch.json
# After the authorized ordered squash merges, compare master with the printed tested tree:
python3 ../.github/block/scripts/safe-merge-check.py --verify-tree TESTED_TREE_SHA
The manifest and acceptance files are operator inputs from the batch builder, never files supplied by a PR. Batch readiness refuses a moved master/head, changed order or missing evidence and runs each member's base-owned local checks. Building/pushing a batch and merging remain manager operations.
Releases
Only seaweed-block/vX.Y.Z[-pre] tags publish. Image tags omit the namespace and retain the existing block/CSI image names. Only block stable tags decide whether alpha advances. Root-context Docker recipes preserve Git revision metadata while building the nested module and retain the lab-binary refusal.
The Linux amd64 tarball contains blockmaster, blockvolume and sw-block copied from the exact published image digest, with SHA256SUMS. The GitHub release uses the namespaced tag and does not replace the shared repository's latest release. Release notes must already exist in the module. No tag, image or release is created by preparation or local tests.
Move-window checks
This revision targets the v1.1.0 import branch. Do not edit files under seaweed-block/ here; development stays in its source repository until the v1.1.1 history update. The root unit-group helpers project the qualified #1001 source; refresh root CI adapters against the corresponding source when that later import arrives. Run the normal Test workflow, base-owned checks and a controlled nonproduction release rehearsal before enabling real publication. Validate organization runner registration, Docker, GHCR package access, and existing repository rulesets/check names. Existing host workflows are unchanged; their broad Go filters may also select a block-only PR. The first import needs its own reviewed bootstrap evidence: a pre-import master has no block scripts, so neither the new pull_request_target gates nor the base-owned local checker can qualify that initial import from an absent base module. Once the import/port is on the trusted base, subsequent block PRs use these checks.