~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

The deploy goes up on each push, main gated by the merge queue

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/group-host:deploy/queue-gated

What changes

The deploy no longer waits on main's checks. deploy.yml builds each push to main on the grain box and puts it up, passing once the host names the commit through the proxy. It no longer reads main's checks or refs, and needs only GROUP_HOST_DEPLOY_KEY; KNOTLESS_PASSWORD is gone. Deploys still run one at a time in the order main moved (superseded: finish), so none is cut off halfway and an older commit never goes up after a newer one.

Docs. docs/deploying.md and AGENTS.md say main is gated by the merge queue.

Why

The first deploy, of 85c567b6a029, built its candidate, then failed reading the checks: a step can't read a private repository's checks or refs (an app password cannot read another account's private repository). The fix belongs in knotless: at://did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.issue/3mzlv5ic46umh. Until then, main is protected with the merge queue, which lands a pull only once its batch, the commit that reaches main, passes every check. So what this deploys has passed.

How it was checked

  • The workflow parses; just docs passes.
  • The first run proved the SSH build path: the box's forced command built group-host:build-85c567b6a029 and dropped it. This pull's own merge is the first run of the up path.

Shortcomings

  • Main's own push checks are no longer a gate, only the queue's. Once knotless gives a step its private repository's checks, the deploy can wait on them too.
  • The app password made for KNOTLESS_PASSWORD should be revoked, and the secret removed.

🤖 Generated with Claude Code

Approved

This pull removes the checks and ref reads from deploy.yml and the KNOTLESS_PASSWORD secret. The deploy now builds and goes up on every push to main, and AGENTS.md and docs/deploying.md are updated to match. The diff is consistent. The docs and comments match the workflow, and the moved/.moved logic is removed cleanly from every step.

Two things to know:

  • Merge queue not verified. The deploy is now gated only by the merge queue on main. I couldn't read branch_rules (the call was denied), so I haven't confirmed the queue is enabled. Please check it before merging, because without it an unchecked commit would deploy.
  • Direct pushes. Even with the queue on, an owner's direct push to main would deploy without any checks. The pull already lists this under its shortcomings.

Revoking the old app password and removing the secret is still to do, as the body says.

Merged as ba3f1c2