fix(platform): apply production hardening from audit plan

Close billing, tenancy, migration, build, and CI/CD gaps identified in the
audit: wallet/gateway guards, full-UUID namespaces, idempotent migrations with
base schema, stateful service stability, safer Dockerfiles/git builds, and
platform chart hardening (Redis auth, RollingUpdate, backups, Swagger off).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
keyhan
2026-07-02 19:35:07 +03:30
parent 34c110be6a
commit 22359be40e
55 changed files with 4883 additions and 381 deletions
@@ -1566,7 +1566,7 @@ export default function AppDetailPage() {
<GitBranch className="w-3 h-3" /> {app.gitBranch}
</span>
)}
{app.gitToken && (
{(app.hasGitToken ?? app.gitToken) && (
<span className="text-xs text-green-600 flex items-center gap-1">
<KeyRound className="w-3 h-3" />{ad.private}</span>
)}
+2
View File
@@ -33,6 +33,8 @@ export interface Application {
appStorageSize?: string;
gitUrl?: string;
gitToken?: string;
/** Server-provided indicator; raw gitToken is no longer returned by the API. */
hasGitToken?: boolean;
gitBranch?: string;
codePath?: string;
envVars?: Record<string, string>;