Rename product to OrbitWard

This commit is contained in:
Keith Smith
2026-05-26 21:24:54 -06:00
parent af72a6c563
commit 177bdcc8a7
41 changed files with 129 additions and 105 deletions
+3 -3
View File
@@ -24,7 +24,7 @@ class Scheduler:
self._stopped = asyncio.Event()
async def run(self) -> None:
logger.info("OrbitalWard worker started for %s", settings.orbitalward_env)
logger.info("OrbitWard worker started for %s", settings.orbitward_env)
while not self._stopped.is_set():
await self.tick()
try:
@@ -249,7 +249,7 @@ class Scheduler:
await self._post_webhook(
url,
self._format_incident_message(incident, monitor, event_type),
str((channel.settings or {}).get("username") or "OrbitalWard"),
str((channel.settings or {}).get("username") or "OrbitWard"),
)
except httpx.HTTPError:
logger.exception("Notification delivery failed for channel %s", channel.id)
@@ -296,5 +296,5 @@ class Scheduler:
last_message = (incident.details or {}).get("last_message")
if last_message:
body.append(f"Last response: {last_message}")
body.extend(["", f"View in OrbitalWard: {settings.frontend_url}/incidents/{incident.id}"])
body.extend(["", f"View in OrbitWard: {settings.frontend_url}/incidents/{incident.id}"])
return "\n".join(str(line) for line in body)