Skip to content

Status badge

The status badge is a small image showing the result of your latest build’s tests, for a README, wiki or internal dashboard. It has three segments: a label, the status and the build version, for example semaloop | passing | 2.4.1 (812).

The badge updates the next time it is viewed after a run finishes. Clicking it opens the app’s dashboard in Semaloop, which requires logging in.

StatusColourMeaning
passingGreenEvery test run on the latest build succeeded.
N failingRedN test runs failed.
runningBlueTest runs are still in progress.
running · N failingRedTest runs are in progress and N have already failed.
X/Y passingAmberSome runs hit a Semaloop-side error rather than an app bug, so X of Y passed.
no testsGreyThe latest build has no test runs.
unknownGreyThe badge is disabled, or its link has been regenerated.

Go to Settings → Status badge and turn on Public status badge. Semaloop shows a preview and three snippets to copy: Markdown, HTML and the image URL. Changing this setting requires the write or admin role.

The Markdown snippet looks like this:

[![Semaloop](https://<badge-host>/<badge-id>.svg)](https://app.semaloop.com/app/<app-id>)

Add these to the image URL to change how the badge looks.

ParameterValuesEffect
styleflat, flat-square, for-the-badgeThe badge style.
labelText, up to 32 charactersReplaces the semaloop label.
version0Hides the version segment.

For example, ?style=flat-square&label=e2e&version=0 shows a square badge labelled e2e with no version.

Every badge has a JSON variant at the same URL with .json instead of .svg. It returns a shields.io endpoint payload, so you can render the badge through shields.io:

https://img.shields.io/endpoint?url=<URL-encoded .json URL>

Regenerate link replaces the badge URL with a new one. Badges using the old link stop working and show unknown. Update the snippets wherever you pasted them.

Turning the switch off disables the badge, which then shows unknown. Turning it back on restores the previous link.

Anyone with the badge link can see the latest build’s test result and version number, without logging in. If your builds carry pre-release version numbers you would rather not expose, add version=0 to the URL to hide them. To revoke access, regenerate the link or disable the badge.

The MCP server can manage the badge with these tools: status_badge_get, status_badge_enable, status_badge_disable and status_badge_rotate.