Files
gitea-MIRROR/modules/commitstatus
Mitrahsoft d4101fda0c enhance: support running and unknown commit status states (#40396)
External CI can report any commit status state, but only the six known
states rendered an icon, so `running` or something like `stage-1` showed
nothing. `running` is now an official state rendered with the same
spinner as Actions, and any other state gets a fallback icon. The
combined status still treats both as pending.

A state longer than the 7-character column (e.g. `in_progress`) caused a
500. It now returns 422, as does an empty state. Widening the column
instead would need a migration, happy to do that in a follow-up if
preferred.

| Before | After |
| --- | --- |
| <img width="1904" height="654" alt="before"
src="https://github.com/user-attachments/assets/811c6a4e-7b5a-4919-8d86-ec586d9f9bfb"
/> | <img width="1919" height="675" alt="after"
src="https://github.com/user-attachments/assets/a088c70d-47fe-40c5-93f7-43d1bacfa77e"
/>|

Fixes: https://github.com/go-gitea/gitea/issues/39608
2026-11-19 11:28:12 +00:00
..