check_online
uses federation API #23
Labels
No Label
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Hostea/dashboard#23
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
The Gitea online check, relies on a API that is used for federation.
Within the following version of Gitea, federation is disabled by-default and thus this API won't be available. I'd recommend using the Healthz endpoint for this instead.
Thanks for the report, I will switch to using the endpoint you recommended!
Hostea currently deploys Gitea v1.16.5 whereas the healthz endpoint is shipped in v1.17.0-rc1. Will switch when hostea upgrades Gitea.
Within the app, instance online check is performed only when a Gitea instance is deployed and a deployment success notification email is sent to the costumer. It uses a simple HTTP status check on
/
.The code which uses federation endpoint is part of integration tests so delayed switch shouldn't cause significant problem.
@gusted: thanks for comprehensive review. I was a little resistant about deploying my code that hasn't been reviewed but your reviews are reassuring :)
FWIW the Enough playbook will enable federation by default https://lab.enough.community/main/infrastructure/-/issues/361
But @Gusted suggestion is good in any case.