0
0
release: paths filter; plan 0040 notes into 0040-findings.md
.knotless/workflows/release.yml+3−0
| @@ -13,9 +13,12 @@ | ||
# kcp-build). CI runs on main and v* tags only (owner rule: no branch CI, no merge-queue CI): a push to main or a v* tag runs it, every main commit is built and | ||
# published; a branch runs it only when asked (`knotless run rerun <url> --ref refs/heads/<branch> --workflow release`). A newer push to main or a v* tag does not | ||
# cancel a release that holds its turn (`superseded: finish`: the newest waits for it; the runner applies it to those refs only). | ||
# paths: the test-N workflows' list (scripts/ci-test-workflow.yml.tmpl): a push that changes none of them (docs, plans) | ||
# builds nothing and tests nothing | ||
on: | ||
push: | ||
refs: [refs/heads/main, refs/tags/v*] | ||
paths: [internal/**, cmd/**, api/**, tests/**, rust/**, deploy/**, scripts/**, lexicons/**, hack/**, did-key-associator/**, typescript-helpers/**, go.mod, go.sum, Makefile, .knotless/**] | ||
asked: | ||
refs: [refs/heads/*] | ||
runners: [aliceoa.bsky.social] | ||
.knotless/workflows/test-1.yml+1−1
| @@ -14,7 +14,7 @@ | ||
on: | ||
push: | ||
refs: [refs/heads/main] | ||
paths: [internal/**, cmd/**, api/**, tests/**, rust/**, deploy/**, scripts/**, go.mod, go.sum, .knotless/**] | ||
paths: [internal/**, cmd/**, api/**, tests/**, rust/**, deploy/**, scripts/**, lexicons/**, hack/**, did-key-associator/**, typescript-helpers/**, go.mod, go.sum, Makefile, .knotless/**] | ||
asked: | ||
refs: [refs/heads/*] | ||
runners: [aliceoa.bsky.social] | ||
.knotless/workflows/test-2.yml+1−1
| @@ -14,7 +14,7 @@ | ||
on: | ||
push: | ||
refs: [refs/heads/main] | ||
paths: [internal/**, cmd/**, api/**, tests/**, rust/**, deploy/**, scripts/**, go.mod, go.sum, .knotless/**] | ||
paths: [internal/**, cmd/**, api/**, tests/**, rust/**, deploy/**, scripts/**, lexicons/**, hack/**, did-key-associator/**, typescript-helpers/**, go.mod, go.sum, Makefile, .knotless/**] | ||
asked: | ||
refs: [refs/heads/*] | ||
runners: [aliceoa.bsky.social] | ||
.knotless/workflows/test-3.yml+1−1
| @@ -14,7 +14,7 @@ | ||
on: | ||
push: | ||
refs: [refs/heads/main] | ||
paths: [internal/**, cmd/**, api/**, tests/**, rust/**, deploy/**, scripts/**, go.mod, go.sum, .knotless/**] | ||
paths: [internal/**, cmd/**, api/**, tests/**, rust/**, deploy/**, scripts/**, lexicons/**, hack/**, did-key-associator/**, typescript-helpers/**, go.mod, go.sum, Makefile, .knotless/**] | ||
asked: | ||
refs: [refs/heads/*] | ||
runners: [aliceoa.bsky.social] | ||
.knotless/workflows/test-4.yml+1−1
| @@ -14,7 +14,7 @@ | ||
on: | ||
push: | ||
refs: [refs/heads/main] | ||
paths: [internal/**, cmd/**, api/**, tests/**, rust/**, deploy/**, scripts/**, go.mod, go.sum, .knotless/**] | ||
paths: [internal/**, cmd/**, api/**, tests/**, rust/**, deploy/**, scripts/**, lexicons/**, hack/**, did-key-associator/**, typescript-helpers/**, go.mod, go.sum, Makefile, .knotless/**] | ||
asked: | ||
refs: [refs/heads/*] | ||
runners: [aliceoa.bsky.social] | ||
docs/plans/0040-findings.mdnew+1323−0
1323 lines changed: not loaded until asked for.
docs/plans/0040-release-pipeline.md+8−1318
1326 lines changed: not loaded until asked for.
docs/ci-debug.md+1−1
| @@ -9,7 +9,7 @@ Run a CI stage by hand, hold a failed run, and fix it in place. Plan: `docs/plan | ||
- The hand requester rents the staging VMs through its associated host requester (prod alice, setup below); the entries | ||
run as the staging network's own driver accounts alice1 to alice4 (tests/compositions/staging/README.md, Accounts). | ||
- Prod gets code only through CI promote (plan 0040): no hand roll. | ||
- A failed run is held (frozen) and fixed in place; its finding goes into plan 0040's Findings. | ||
- A failed run is held (frozen) and fixed in place; its finding goes into `docs/plans/0040-findings.md` (the plan's notes file). | ||
| ||
## Prerequisites | ||
| ||
scripts/ci-test-workflow.yml.tmpl+1−1
| @@ -14,7 +14,7 @@ | ||
on: | ||
push: | ||
refs: [refs/heads/main] | ||
paths: [internal/**, cmd/**, api/**, tests/**, rust/**, deploy/**, scripts/**, go.mod, go.sum, .knotless/**] | ||
paths: [internal/**, cmd/**, api/**, tests/**, rust/**, deploy/**, scripts/**, lexicons/**, hack/**, did-key-associator/**, typescript-helpers/**, go.mod, go.sum, Makefile, .knotless/**] | ||
asked: | ||
refs: [refs/heads/*] | ||
runners: [aliceoa.bsky.social] | ||
AGENTS.md+1−1
| @@ -1104,7 +1104,7 @@ A prod deployment guarantees nothing; the routine path preserves most things. | ||
- A one-off script is a `.ts` file under `$TMPDIR`, run with `deno run -A`, using `Deno.Command` for git | ||
and go. Keep each shell call to one plain command. | ||
- Plans live in `docs/plans`. A claim carries its proof: a CI result its knotless workflow log link, a hat-8 gate its | ||
summary and gate dir (in `.plans.yaml` progress); a finding goes into the plan's Findings (seen, cause, fix, proof). | ||
summary and gate dir (in `.plans.yaml` progress); a finding goes into `docs/plans/0040-findings.md` (seen, cause, fix, proof), not into the plan. | ||
- Rebase on `origin/main` often (`git fetch && git rebase origin/main`). When a rebase stops on | ||
conflicts, run `scripts/regen-after-rebase.sh` (no arguments). It stops first when a generator | ||
input is conflicted (`api/*.go`, `internal/apigen`, `cmd/socialweb-apigen`, `hack/codegen.sh`): | ||