sdasd
All checks were successful
Deploy / deploy-staging (push) Successful in 25s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-25 01:19:00 +02:00
parent 9531fdbd35
commit 30fe39cd6c
4 changed files with 59 additions and 2 deletions

View File

@@ -519,10 +519,26 @@ if (payloadNode) {
const nextPoll = Number(data.poll_seconds || 5);
updateGiteaTrayUi(state, message);
emitDebug({
type: 'gitea:deploy-status',
source: 'gitea-addon',
status: response.status,
ok: response.ok,
message,
state,
poll_seconds: nextPoll,
diagnostics: data.diagnostics || null,
running_jobs: Array.isArray(data.running_jobs) ? data.running_jobs.length : 0,
});
scheduleGiteaStatusPoll(nextPoll);
return data;
} catch (_error) {
updateGiteaTrayUi('error', 'Gitea-Deploy-Status konnte nicht geladen werden.');
emitDebug({
type: 'gitea:deploy-status:error',
source: 'gitea-addon',
message: 'Gitea-Deploy-Status konnte nicht geladen werden.',
});
scheduleGiteaStatusPoll(5);
return null;
}