0
Fork 0
mirror of https://github.com/oblien/openship.git synced 2026-11-16 06:57:12 +00:00
Commit graph

7 commits

Author SHA1 Message Date
Saim Shafique
a22de88cb5
fix(github): resolve server credentials safely for repository scans (#1632)
* fix(github): fall back to a writable connected server's stored credential when no local server exists

Repository preparation borrowed a server's stored GitHub credential only
from the organization's canonical local server. Self-hosted setups whose
deploy target is a connected SSH server with its own stored PAT could
deploy but not scan the same private repo: with no server selected, the
fallback found no local server and preparation failed with
GITHUB_TOKEN_REQUIRED.

When no server is selected and the organization has no local server, use
the oldest connected deployment server the caller has write access to
that holds a stored token credential, the same set a real deploy can use.
Repository access, same-organization, server write permission, and
read-only local-read limits are unchanged. Explicit server selection is
unchanged.

Fixes #1630

* fix(github): require server selection for ambiguous repository credentials

* fix(dashboard): keep repository recovery server selection manual

---------

Co-authored-by: Hydra <abdelhamedmo59@gmail.com>
2026-11-06 15:59:57 +02:00
Hydra de lerne
81cc2443a9
fix(github): reuse server credentials for repository preparation (#1501)
* fix(github): reuse server credentials for repository preparation

* fix(github): enforce normalized repository read boundaries
2026-10-27 05:26:09 +03:00
Cem Özer
3c0f49a32b fix(github): rethrow transient App installation token mint failures
A GitHub 5xx, rate limit, timeout or connection error while minting an App
installation token was swallowed by tryInstallationToken and reported as "no
credential". The chain then either fell through to a broader user credential
or ended in GITHUB_TOKEN_REQUIRED (403). The Actions runner reconciler treats
that 403 as a definitive loss of access and cancels the running job, so a
single transient GitHub error killed self-hosted runner jobs mid-run.

Transient mint failures are now rethrown. Definitive failures (suspended or
revoked installations) keep falling through as before.
2026-10-20 00:48:12 +02:00
Hydra
18c10af8f7 fix 944 and mcp issue 2026-09-25 23:17:26 +03:00
Hydra
6143f5805b ship sdk, intial scale panel 2026-09-14 01:34:59 +03:00
Hydra
3b46f37e94 continue patch v0.6.7 2026-08-20 15:22:26 +03:00
Hydra
e8bc360621 finalizing app module, migration server-to-server, notifications channels, cli initial check 2026-07-25 23:22:06 +03:00