How should delivery read a dry-run-gated check that fails while it awaits its human label, and what goes into ansible-homelab-mono's docs/agents/delivery.md section 2 for Ansible Dry Run / ansible_dry_run (pull_request_target)?
A gated check that hasn't run is missing or skipped, which is read as awaiting-gate.
Branch protection requiring the status keeps a bot PR from merging unlabelled.
The second premise is false on Gitea 28.3. CommitStatusStates.Combine() (modules/commitstatus/commit_status.go:74) counts skipped as success for required contexts. So the workflow built in Ansible Dry Run workflow in ansible-homelab-mono (ansible-homelab-mono PR 988) never skips. It behaves as follows:
Bot push with affected stages: the job fails, and the PR comment's state line reads result=awaiting.
Another label event: it replays the head's recorded result from that comment, or fails.
No affected stage: success.
Under delivery 0.7.0, qa and the reviewer read that failure as a real CI failure. The implementer would then try to "fix" it and Stop after 3 qa fails. So PR 988 deliberately leaves the check out of delivery.md. Agents ignore it until this ticket is resolved, and branch protection plus the human label still gate the merge.
Inputs
The awaiting failure is visible on the head SHA, outside the status itself:
the workflow's PR comment (author gitea-actions), whose second line is <!-- ansible-dry-run sha=<sha> result=<ran|infra|awaiting|nostages> -->;
the job log line "Awaiting the Dry run label".
The commit status description is Gitea's generic text.
delivery is generic, so a repo-specific comment marker would have to come from delivery.md, for example as a role parameter.
Possible options:
delivery.md names an "awaiting" signal per gated check;
dry-run-gated failures are always reported as "awaiting or failed — human reads the PR comment" and never sent back to the implementer;
a second, never-required context carries the gate state.
The skipped-is-ignored rule of 0.7.0 may still be right for other repos' gated checks. Decide whether it stays.
Part of #166
## Question
How should `delivery` read a `dry-run-gated` check that **fails** while it awaits its human label, and what goes into `ansible-homelab-mono`'s `docs/agents/delivery.md` section 2 for `Ansible Dry Run / ansible_dry_run (pull_request_target)`?
## Why this is open again
[delivery: dry-run-gated role and multiple dry-run checks](https://git.rkdr.net/Mortis/Holocron/issues/218) (`delivery` 0.7.0) was built on two premises:
- A gated check that hasn't run is *missing* or `skipped`, which is read as `awaiting-gate`.
- Branch protection requiring the status keeps a bot PR from merging unlabelled.
The second premise is false on Gitea 28.3. `CommitStatusStates.Combine()` (`modules/commitstatus/commit_status.go:74`) counts `skipped` as success for required contexts. So the workflow built in [Ansible Dry Run workflow in ansible-homelab-mono](https://git.rkdr.net/Mortis/Holocron/issues/220) (ansible-homelab-mono PR 988) never skips. It behaves as follows:
- **Bot push with affected stages:** the job fails, and the PR comment's state line reads `result=awaiting`.
- **Another label event:** it replays the head's recorded result from that comment, or fails.
- **No affected stage:** success.
Under `delivery` 0.7.0, qa and the reviewer read that failure as a real CI failure. The implementer would then try to "fix" it and Stop after 3 qa fails. So PR 988 deliberately leaves the check out of `delivery.md`. Agents ignore it until this ticket is resolved, and branch protection plus the human label still gate the merge.
## Inputs
- **The awaiting failure is visible on the head SHA**, outside the status itself:
- the workflow's PR comment (author `gitea-actions`), whose second line is `<!-- ansible-dry-run sha=<sha> result=<ran|infra|awaiting|nostages> -->`;
- the job log line "Awaiting the Dry run label".
The commit status description is Gitea's generic text.
- **`delivery` is generic**, so a repo-specific comment marker would have to come from `delivery.md`, for example as a role parameter.
- **Possible options:**
- `delivery.md` names an "awaiting" signal per gated check;
- `dry-run-gated` failures are always reported as "awaiting or failed — human reads the PR comment" and never sent back to the implementer;
- a second, never-required context carries the gate state.
- **The `skipped`-is-ignored rule of 0.7.0** may still be right for other repos' gated checks. Decide whether it stays.
Claude
added this to the Map: Infra and agent-team packages milestone 2026-11-25 18:16:28 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #166
Question
How should
deliveryread adry-run-gatedcheck that fails while it awaits its human label, and what goes intoansible-homelab-mono'sdocs/agents/delivery.mdsection 2 forAnsible Dry Run / ansible_dry_run (pull_request_target)?Why this is open again
delivery: dry-run-gated role and multiple dry-run checks (
delivery0.7.0) was built on two premises:skipped, which is read asawaiting-gate.The second premise is false on Gitea 28.3.
CommitStatusStates.Combine()(modules/commitstatus/commit_status.go:74) countsskippedas success for required contexts. So the workflow built in Ansible Dry Run workflow in ansible-homelab-mono (ansible-homelab-mono PR 988) never skips. It behaves as follows:result=awaiting.Under
delivery0.7.0, qa and the reviewer read that failure as a real CI failure. The implementer would then try to "fix" it and Stop after 3 qa fails. So PR 988 deliberately leaves the check out ofdelivery.md. Agents ignore it until this ticket is resolved, and branch protection plus the human label still gate the merge.Inputs
The awaiting failure is visible on the head SHA, outside the status itself:
gitea-actions), whose second line is<!-- ansible-dry-run sha=<sha> result=<ran|infra|awaiting|nostages> -->;The commit status description is Gitea's generic text.
deliveryis generic, so a repo-specific comment marker would have to come fromdelivery.md, for example as a role parameter.Possible options:
delivery.mdnames an "awaiting" signal per gated check;dry-run-gatedfailures are always reported as "awaiting or failed — human reads the PR comment" and never sent back to the implementer;The
skipped-is-ignored rule of 0.7.0 may still be right for other repos' gated checks. Decide whether it stays.