Add if: always() so Module 19 whoami-runner.yml prints its 'where did this run?' receipt even on a red build
#41
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Track A's whole payoff is reading the runner's self-identification receipt, but that step runs after Lint and Test with no
if: always(), so any ruff/pytest failure aborts the job before the receipt prints. By Module 19tasks-apphas accumulated changes from M15/17/18, so a non-green lint/test is plausible, and when it happens Track A produces no receipt at all.Evidence
modules/19-runners-the-compute-behind-automation/lab/whoami-runner.yml: steps runruff check .(~line 41) thenpytest -q(~line 44) then- name: Where did this run?(~line 47) with noifcondition. README Track A: "It runs the same lint-and-test …, then prints the runner's hostname."Why it matters
Track A's mandatory deliverable (and its Check-for-understanding criterion) silently vanishes on any non-green run; gating a diagnostic behind unrelated checks is a real design defect.
Proposed change
Add
if: always()to the "Where did this run?" step only (keep lint/test running — the file deliberately wants the runner to do real work). Mirror the README's existing pattern with a note on GitLab'swhen: always. Do not split jobs or remove the checks.Acceptance criteria
Affected files
modules/19-runners-the-compute-behind-automation/lab/whoami-runner.yml,modules/19-.../README.md(optional GitLab note)References
Source finding F32 (realVotes 3/3).
Filed from an adversarial multi-agent course review (217 raw findings → 54 adversarially-verified survivors). Scoped for manual review; intentionally not auto-assigned to an agent.