fix: A release that released nothing is neither a success nor a failure #81
Labels
No labels
priority/P0
priority/P1
priority/P2
priority/P3
size/L
size/M
size/S
size/XL
size/XS
state/blocked
state/done
state/in-progress
state/in-review
state/needs-refinement
state/ready
type/bug
type/chore
type/feature
type/refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
amtronics/platform-actions#81
Loading…
Reference in a new issue
No description provided.
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?
Context
A merge that warrants no release still sends a release notification, and that notification claims an outcome that did not happen.
ahmad/tripannounced its last such run as ❌ failure. Its status expression still asks whetherpublishsucceeded, and on a no-release runpublishis skipped — so the expression falls through tofailure.#72fixed exactly this in six repositories;ahmad/tripandahmad/portfoliowere never converted and still carry the old expression.The converted repositories are better but still wrong in a quieter way: they report ✅ success. Nothing succeeded — nothing ran. The reader cannot tell a release that worked from a merge that released nothing, which is the distinction they actually want at a glance.
notify-telegramdocumentsskippedas a valid status but has no branch for it, so it lands on the catch-all warning icon — a normal, expected outcome dressed as something to look at.Scope
notify-telegram; the shared release template sending it; the two repositories that never adopted#72.#65).Acceptance criteria
notify-telegram, then every status it documents has an explicit icon, and an unknown status still falls back rather than failing.ahmad/tripandahmad/portfolioare fixed as part of this one because they are wrong today, not merely imprecise.All thirteen consumers now have a pull request.
ahmad/tripfc69142ahmad/portfolio9944df5Bayan/bayan-web499d3aaBayan/kidpoints2cd62adBayan/stemd9b7f5dahmad/expiroe867aebahmad/imamahf303546ahmad/launchpadahmad/nameysuhba/khittasuhba/suhba-docssuhba/suhba-webahmad/lardaTwo things found in the doing that were not in the issues:
The family contained two different bugs.
ahmad/tripandahmad/portfolioasked whetherpublishsucceeded, so a no-release run returned'failure'— a false failure, which is why those two were the P1s. The other eleven had already taken#72's intermediate fix, tolerated a skipped publish, and returned'success'. Evaluating the old expression in each repository is what distinguished them; the issue text alone did not.One repository could not take the expression verbatim.
ahmad/namey'snotifyhas a fourth dependency,dashboard, which this template does not model. Copying character-identically would have satisfied "matches the shared template" and left a failing dashboard reporting success — the same collapse, one job over. It is extended there, in the same two positions, with the reason written into the workflow.Every one was verified by evaluating the expression against all eight (nine for
namey) reachable combinations ofneeds.*, and by confirming per repository thatnotifydepends onversionand thatversiondeclares thereleasedoutput the expression reads.