chadtmiller.com/group-host
atmosphere group host
The Release pull follows main by itself
MergedThis pull adds a release-pull workflow that runs deploy/release.sh on each push to main. It also moves Changeset: none from commit messages to the pull body, which harness/changes.sh now reads from the author's PDS. I read every changed file and found nothing that blocks the merge. The docs match the new behaviour.
One thing to confirm: harness/changes.sh uses $KNOTLESS_RUN_REPO in the failure message. Nothing else in the repository sets or reads that variable; the other variables the script uses (KNOTLESS_RUN_PULL, KNOTLESS_RUN_BASE) are already used elsewhere. The script runs under set -eu, so if the runner doesn't provide it, the message dies with "unbound variable" before the rerun hint prints. The check still fails, but the hint is lost. Using ${KNOTLESS_RUN_REPO:-chadtmiller.com/group-host} would remove the doubt.
One drawback you already describe: the check now reads the body when it runs, so editing the body means rerunning check by hand.
harness/changes.shline 54
| |
echo "what people use is changed, in:" | |
printf "%s\n" "$changed" | sed 's/^/ /' | |
echo "but no change file was added under .changeset/. Add one, as \`knope document-change\` writes one (AGENTS.md, Versioning), or, if no one running or using the host sees the change, say \`Changeset: none\` on a line of the pull's body, then run this check again: knotless run rerun knotless://$KNOTLESS_RUN_REPO --pull $KNOTLESS_RUN_PULL --workflow check" |
KNOTLESS_RUN_REPO isn't used anywhere else in the repo. Under set -u, if the runner doesn't set it, this line aborts before the rerun hint prints. Consider ${KNOTLESS_RUN_REPO:-chadtmiller.com/group-host}, or confirm the runner sets it.
8 passed, 1 skipped
The
Release <version>pull now keeps itself up to date: on each push to main, a newrelease-pullworkflow runsdeploy/release.shas the owner, and tags each release as it lands. A pull with no change file now saysChangeset: nonein its body instead of in a commit message.Changeset: none
Claude Opus 5.5
What changes
release-pullworkflow (.knotless/workflows/release-pull.yml). On each push tomain, it runsdeploy/release.sh, which:v<version>on the release that last landed;release/nextwith main's change files cut into a release;Release <version>pull, or updates the open one.It runs as
chadtmiller.com, withRELEASE_PASSWORD, the app passwordrelease.ymlalready takes and thedocsdeploy uses. knope 0.23.2 comes from its GitHub release binary (x86_64 musl), checked against a pinned sha256 and cached in/opt/knope.superseded: finishruns one at a time, in the order main moved.just releasestill runs the same script from your machine, and--dry-runis unchanged.Changeset: nonemoves to the pull's body.harness/changes.shreads the pull recordKNOTLESS_RUN_PULLnames from its author's PDS. It resolves a did:plc through plc.directory, or a did:web through itsdid.json, and installs jq if the image has none. It no longer reads commit messages. If the body is edited aftercheckran, the check has to run again, and the failure message prints theknotless run rerun … --workflow checkline for that. It reads the author's PDS rather than the appview because the appview can lag on a pull made moments ago, and a run starts right then.Docs.
AGENTS.md(the CI list, Versioning),docs/development.md(Releasing),.knotless/pull.md, the headers ofrelease.sh,release.ymlandknope.toml, the Justfile'sreleasecomment, and the Release pull's own opening line.Why
Both used to be manual because the repository was private: a run couldn't read a pull's body, and an app password couldn't write the repository. Neither holds now that it's public (Nothing says the repository is private any more).
How it was checked
harness/changes.shlocally, in a worktree at a commit that changescrates/group-host/srcand adds no change file. Against a pull whose body lacks the line, it fails with the rerun hint. Against this pull, whose body has the line, it passes. At a commit that adds a change file, it passes on that without reading the body.knope-x86_64-unknown-linux-musl/knope.git-remote-knotlesslogs in through the samesession::ensureas the CLI, which usesKNOTLESS_PASSWORD. So the push inrelease.shtakes the app password.Shortcomings
release-pullcan only run on main, where the secret is given, so its first real run is the push that lands this. That run does nothing:v0.3.0is tagged and main has no change files. The push and the pull it opens are first exercised by the next pull that lands a change file. If that fails, it shows as a redrelease-pullon main, andjust releasestill works by hand.