Fix: ruff format failure blocking all push pipelines #475
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/basketball-api#475
Loading…
Add table
Add a link
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?
Type
Bug
Lineage
Standalone — discovered during deploy validation of #473 (409 fix). All push pipelines failing on ruff format check since at least #471.
Repo
forgejo_admin/basketball-apiWhat Broke
Every push-to-main pipeline fails at
ruff format --check .becausetests/test_players.pyneeds reformatting. The build-and-push step runs anyway (status filter allows failure), but the pipeline shows red, masking real failures and eroding CI trust.Repro Steps
ruff format --check .tests/test_players.pyfails format checkExpected Behavior
ruff format --check .passes. Pipeline shows green when tests pass.Environment
0f5016a(current main HEAD on Forgejo)File Targets
Files to modify:
tests/test_players.py— runruff formaton itFiles to NOT touch:
Acceptance Criteria
ruff format --check .passes locallyRelated
westside-basketball— project this affects