You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm curious about the rationale behind the GitHub status badges displaying either "passing" or "failing" statuses:
This seems inconsistent with the actual status displayed in the workflow file, which is labeled as "Success":
There are several reasons why the current naming convention of "passing" or "failing" for GitHub Actions status badges might not be ideal:
Grammatical Tense:
"Passing" and "failing" are present participles, suggesting an ongoing state that could change. "Passed" and "failed" are past participles, indicating a completed action and a final result. The former implies impermanence, while the latter conveys finality.
Ambiguity:
The terms "passing" and "failing" are ambiguous and do not clearly convey the specific status being represented. They could refer to the overall workflow status, individual job status, or something else entirely. More descriptive terms would provide better clarity.
Inconsistency with Terminology:
GitHub's own documentation uses different terminology like "success" and "failure" when referring to the exit codes and statuses of individual actions or steps within a workflow. Using "passing" and "failing" for the overall workflow status is inconsistent with this established terminology.
Lack of Nuance:
A workflow can have more granular statuses beyond just "passing" or "failing". For example, it could be "pending", "cancelled", "skipped", or have a "neutral" status. The binary "passing/failing" doesn't account for these other potential states.
Misalignment with Industry Standards:
In software development and DevOps, more common terminology for build/test statuses includes "success", "failure", "error", etc. Using "passing" and "failing" diverges from these industry conventions without a clear benefit.
Here's a suggestion for improvement:
For Overall Workflow Status:
"Success" - All jobs in the workflow completed successfully.
"Failure" - One or more jobs in the workflow failed.
"Cancelled" - The workflow was cancelled before completion.
"Pending" - The workflow is still running and hasn't completed yet.
For Individual Job Statuses:
"Successful" - The job completed without any errors.
"Failed" - The job did not complete successfully due to errors.
"Skipped" - The job's conditions were not met, so it was skipped.
This proposed naming:
Uses clear and unambiguous terms that accurately describe each status.
Aligns with GitHub's own documentation, which uses "success", "failure", "cancelled", etc., for action/job statuses.
Follows broader industry conventions for build/test statuses.
Accounts for more granular statuses beyond just pass/fail.
Maintains consistency between overall workflow and individual job status terms.
You might find the following resources helpful for further understanding:
ActionsBuild, test, and automate your deployment pipeline with world-class CI/CDProduct Feedback
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Select Topic Area
Product Feedback
Body
Hi there,
I'm curious about the rationale behind the GitHub status badges displaying either "passing" or "failing" statuses:
![grafik](https://private-user-images.githubusercontent.com/53251018/319242129-a47c9d32-fe40-4a2a-86be-a25321551b02.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMTM0MDcsIm5iZiI6MTcyMDExMzEwNywicGF0aCI6Ii81MzI1MTAxOC8zMTkyNDIxMjktYTQ3YzlkMzItZmU0MC00YTJhLTg2YmUtYTI1MzIxNTUxYjAyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDE3MTE0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI0ZjkzYmQyOTlkMGY3MjE5YjVmOTY1Y2NlMTVjZTMxNjY5YzRiZjQ4NThhYTFiMDYxMmU3NmZhOGU1YTk4MzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.dWtDHtmMTTb8s1YNpRQD-KJWWwnT6F6e_mB9Y76BJoQ)
This seems inconsistent with the actual status displayed in the workflow file, which is labeled as "Success":
![grafik](https://private-user-images.githubusercontent.com/53251018/319241794-87bbf206-c8e6-43bb-b1d9-de7eeed416c8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMTM0MDcsIm5iZiI6MTcyMDExMzEwNywicGF0aCI6Ii81MzI1MTAxOC8zMTkyNDE3OTQtODdiYmYyMDYtYzhlNi00M2JiLWIxZDktZGU3ZWVlZDQxNmM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDE3MTE0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJkNzM4ODkzOGUzYTkxY2E2NDQ2N2M4NjBkM2ZjNzg3ZjQ5MGI4NTgzNzI2M2M5YTE1MDUwZDhlYzAzOTcxZDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.pLBojpKDC3MWiOZhQ-StNLOQm5o21No8BCe98YW4kG8)
There are several reasons why the current naming convention of "passing" or "failing" for GitHub Actions status badges might not be ideal:
Grammatical Tense:
Ambiguity:
Inconsistency with Terminology:
Lack of Nuance:
Misalignment with Industry Standards:
Here's a suggestion for improvement:
For Overall Workflow Status:
For Individual Job Statuses:
This proposed naming:
You might find the following resources helpful for further understanding:
Beta Was this translation helpful? Give feedback.
All reactions