Commit Graph

8 Commits

Author SHA1 Message Date
Debian
8f050b41a0 Fix stuck processing jobs and increase timeouts
All checks were successful
Build and Push Frontend Docker Image / build (push) Successful in 57s
Build and Push Docker Image / build (push) Successful in 30m18s
Background Job Processor:
- Add src/services/jobProcessor.ts that polls RunPod every 30s for stuck jobs
- Automatically completes or fails jobs that were abandoned (user navigated away)
- Times out jobs after 25 minutes

Client-Side Resume:
- Add GET /api/generate/pending endpoint to fetch user's processing jobs
- Add checkPendingJobs() that runs on login/page load
- Show notification banner when user has jobs generating in background
- Add "View Progress" button to resume polling for a job

Timeout Increases (10min → 25min):
- src/utils/validators.ts: request validation max/default
- src/config.ts: RUNPOD_MAX_TIMEOUT_MS default
- public/js/app.js: client-side polling maxTime
- src/services/jobProcessor.ts: background processor timeout

CI/CD Optimization:
- Add paths-ignore to backend build.yaml to skip rebuilds on frontend-only changes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 05:36:53 +00:00
Debian
0758b866bd Move frontend workflow to root .gitea/workflows
All checks were successful
Build and Push Frontend Docker Image / build (push) Successful in 1m4s
Build and Push Docker Image / build (push) Successful in 31m0s
Gitea Actions only detects workflows at repo root, not subdirectories.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:59:36 +00:00
Nick
85e38bc3ec Remove worker restart step from CI
All checks were successful
Build and Push Docker Image / build (push) Successful in 45s
Rolling release from template update is fast enough (~1 min).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 18:13:27 +13:00
Nick
f86acde2e5 Fix RunPod API calls to use correct endpoints
All checks were successful
Build and Push Docker Image / build (push) Successful in 51s
- Use REST API to update template's docker image
- Use saveEndpoint mutation with required name field
- Cycle workers to 0 then back to force image refresh

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 10:26:46 +13:00
Nick
d0140fa2b3 Add RunPod endpoint update and worker purge to CI
All checks were successful
Build and Push Docker Image / build (push) Successful in 45s
Updates the serverless endpoint with new image tag and purges
existing workers to force restart with the new image after build.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 10:20:45 +13:00
Nick
69e91dd7f9 Switch to Docker Hub registry
All checks were successful
Build and Push Docker Image / build (push) Successful in 12m25s
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 23:33:32 +13:00
Nick
9604caf8e0 Fix registry auth to use REGISTRY_TOKEN secret
Some checks failed
Build and Push Docker Image / build (push) Failing after 3m19s
2025-12-25 23:21:29 +13:00
Nick
b730d4d142 Add Gitea Actions workflow for Docker build and push
Some checks failed
Build and Push Docker Image / build (push) Failing after 3m44s
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 22:58:18 +13:00