feat: add orphan EC2 cleanup on startup, fix SetupWizard routing, fix SSH key gen

- On startup, scan for EC2 instances with pp:managed=true and terminate any orphans
- SetupWizard now renders as full-page (no Layout wrapper)
- Fixed SSH RSA key generation (generateKeyPairSync with spki format)
- Removed unused import in orphanCleanup.ts
- Frontend rebuild with App.tsx routing fix

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-25 00:20:36 +02:00
parent a71f801c3f
commit 6b17cb857f
13 changed files with 1151 additions and 93 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+14
View File
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PR Previews</title>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<script type="module" crossorigin src="/assets/index-BhM-WgUO.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CA1FHrdL.css">
</head>
<body>
<div id="root"></div>
</body>
</html>
+6 -1
View File
@@ -68,6 +68,12 @@ export default function App() {
} />
<Route path="/privacy" element={<Layout><Privacy /></Layout>} />
<Route path="/setup" element={
<ProtectedRoute>
<SetupWizard />
</ProtectedRoute>
} />
<Route path="/*" element={
<ProtectedRoute>
<SetupCheck>
@@ -78,7 +84,6 @@ export default function App() {
<Route path="/repos" element={<Repos />} />
<Route path="/settings" element={<Settings />} />
<Route path="/admin" element={<Admin />} />
<Route path="/setup" element={<SetupWizard />} />
<Route path="*" element={<Navigate to="/" replace />} />
</Routes>
</Layout>