SIGN IN SIGN UP
go-gitea / gitea UNCLAIMED

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD

0 0 0 Go

Update Combine method to treat warnings as failures and adjust tests (#37048)

Treat Commit Status Warnings as errors

> The root problem is that the definition of "warning" are different
across systems.
> 
> * Sometimes, "warning" is treated as "acceptable" (Gitea 1.25)
> * Sometimes, "warning" is mapped from "Result.UNSTABLE", which means
"there are test failures" and it is "failure" in Gitea
> 
> **To avoid breaking existing users, the best choice is to revert the
behavior on Gitea side: treat "warning" as "error".**


https://github.com/go-gitea/gitea/issues/37042#issuecomment-4158231611

fixes https://github.com/go-gitea/gitea/issues/37042

---------

Signed-off-by: Nicolas <[email protected]>
Co-authored-by: wxiaoguang <[email protected]>
N
Nicolas committed
4747dd68bdc979144021d0d9e666e56dbca4f191
Parent: e15219d
Committed by GitHub <[email protected]> on 3/31/2026, 5:22:18 PM