0
0
CI: push triggers back; CI's repository is socialweb.computer
.knotless/workflows/release.yml+2−1
| @@ -12,8 +12,9 @@ | ||
# 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). | ||
# push triggers come back when every step passed by hand (plans 0042, 0044) | ||
on: | ||
push: | ||
refs: [refs/heads/main, refs/tags/v*] | ||
asked: | ||
refs: [refs/heads/*] | ||
runners: [aliceoa.bsky.social] | ||
.knotless/workflows/test.yml+3−1
| @@ -7,8 +7,10 @@ | ||
# 0013, then the dev-network-only entries 0007:restart 0014:* 0015:pressure 0016:*) run from its atproto VM: ONE staging network per push for both lists, the | ||
# entries one at a time (suite.sh), so an exclusive one (0007:restart, 0014:*: they fill or restart the bidders) is alone on it. The run's dump is an artifact | ||
# (runs/), kept on failure. | ||
# push triggers come back when every step passed by hand (plans 0042, 0044) | ||
on: | ||
push: | ||
refs: [refs/heads/main] | ||
paths: [internal/**, cmd/**, api/**, tests/**, rust/**, deploy/**, scripts/**, go.mod, go.sum, .knotless/**] | ||
asked: | ||
refs: [refs/heads/*] | ||
runners: [aliceoa.bsky.social] | ||
docs/plans/0042-ci-two-workflows.md+1−1
| @@ -29,7 +29,7 @@ push to main or a v* tag (a branch: only when asked) | ||
- **No reproducible-build verification**, in any form: no second clean build and no check-reproducible. | ||
- **One staging network per push.** | ||
- **CI runs on main and v* tags only.** A branch runs `release` or `test` only when asked (`knotless run rerun … --workflow …`). The merge queue runs no CI (owner, 2026-11-15). | ||
- **No push triggers for now:** both workflows are `asked:` only (main and branches); push triggers come back when the staging suite passes by hand (plan 0042). | ||
- **Push triggers (back 2026-11-16):** `release` on pushes to main and v* tags, `test` on pushes to main that change code; both also `asked:` on any branch. CI's repository is socialweb.computer/socialweb-computer-kcp (plan 0051). | ||
- **`superseded: finish`** on main and v* tags for both workflows. A newer asked run on a branch cancels the older one. | ||
| ||
## Every step is a script, run by hand first | ||
docs/plans/0044-ci-by-hand.md+2−2
| @@ -300,8 +300,8 @@ everything and exits (finding 5). If its cleanup reports errors (`cleanupErrors` | ||
| 8 | `ci-test.sh staging`, the full suite | done: cycle 25 (2e44de85, prod rolled to it) 16/16, 2026-11-16 04:5xZ | | ||
| 9 | Release steps left by hand: binaries with arm64, asset-cache, build-cache; toolchain (on the CI image only) | asset-cache seeded by hand 2026-11-16 ("Workaround: seed the asset cache", finding 71) | | ||
| 10 | Before the triggers (owner, 2026-11-15): plan 0041's 2:1 rolled to the bidders, plan 0043 finding 1 (landed 06376d20), plan 0040 step 1 (`bidderDids` filters discovery) | 0043 f1 and 0040 step 1 landed (0019 PASS, cycle 12); 0041 rolls with the next prod rollout of main, once the full suite passes | | ||
| 10b | The prod gate on the staging-green sha: the same 16 entries against `tests/targets/prod.json` (requester `sha:<main>`, alice's associated host requester) | next | | ||
| 11 | Push triggers back (plan 0042); main's release and test are green. Plan 0040's later steps then extend CI, each by hand first | after 10; then plan 0045 steps 6-9 (the run's OpenBao root, owner's design) with CI proving them | | ||
| 10b | The prod gate on the staging-green sha: the same 16 entries against `tests/targets/prod.json` (requester `sha:<main>`, alice's associated host requester) | done 2026-11-16: gate 3 (2fb0f74d) every entry but 0012/0013 (0012: the old-identity requester; 0013: finding 73), gate 4 (cd67bb7a) 0012 and 0013 PASS | | ||
| 11 | Push triggers back (plan 0042); main's release and test are green. Plan 0040's later steps then extend CI, each by hand first | done 2026-11-16: release on main and v* pushes, test on main pushes that change code; landings go to socialweb.computer/socialweb-computer-kcp (plan 0051). Next: plan 0045 steps 6-9 with CI proving them | | ||
| ||
## Findings | ||
AGENTS.md+4−2
| @@ -1068,7 +1068,9 @@ A prod deployment guarantees nothing; the routine path preserves most things. | ||
last). knotless's merge queue would do this landing itself, but knotless-run refuses `--queue` with the | ||
composition executor ("--queue lands code anyone can open a pull with: it takes --executor docker"; the queue's | ||
batches are on no remote a rented VM can check out), so the single lander is the rule until the fork has it. | ||
- FOR NOW NO PUSH TRIGGERS (owner, 2026-11-15): `release` and `test` are `asked:` only, run by hand until the staging suite passes by hand (plan 0042); push triggers come back then. Intended shape after that: | ||
- CI's repository is `knotless://socialweb.computer/socialweb-computer-kcp` (plan 0051): its bindings, its secrets, its runner sign-in; changes land there | ||
(johnandersen777.bsky.social has write), never on `knotless://johnandersen777.bsky.social/socialweb-computer-kcp` (a push to its main would run CI a second time). | ||
Push triggers are back (2026-11-16, plan 0044 step 11, after the staging suite and the prod gate passed by hand and CI release + test passed): | ||
CI runs on main and v* tags only (owner, 2026-11-15): `release` (the gate's checks, the one build, and on main and tags the publish) and `test` (the staging run) run on a | ||
push to `main` (a v* tag: `release`); no branch push and no merge-queue batch triggers CI. To test a branch, push it to `knotless` (`git push knotless <branch>`) and ask: | ||
`knotless run rerun knotless://<owner>/socialweb-computer-kcp --ref refs/heads/<branch> --workflow release` (then `test`, which follows it), with no bucket key (a branch | ||
| @@ -1253,7 +1255,7 @@ Agents never push to the base branch (`main`; `runner-atlibs-composition` in the | ||
`--queue`, and the merge queue lands a change once its checks pass. Push a branch, open a pull and queue it: | ||
| ||
```sh | ||
U=knotless://<owner>/<repo> | ||
U=knotless://socialweb.computer/socialweb-computer-kcp | ||
git push origin HEAD:refs/heads/<branch> | ||
knotless pull create $U <base> $U <branch> "<title>" -m "<why>" | ||
knotless pull merge $U <pull> --queue | ||