upaas/internal/models
clawbot 25cd02e1d7 fix: use strings.HasPrefix and delegate export to real cleanup method
- Replace manual string prefix check with strings.HasPrefix (idiomatic Go)
- Refactor CleanupCancelledDeploy export to call the real cleanupCancelledDeploy
  method instead of re-implementing the logic, so tests catch regressions
- Add nil-db guard in Deployment.Save and App.Save to prevent panics when
  models are used without a database connection (e.g. in test exports)
- Fix wsl_v5 lint issue (missing blank line before assignment)
2026-02-19 20:17:06 -08:00
..
app.go fix: use strings.HasPrefix and delegate export to real cleanup method 2026-02-19 20:17:06 -08:00
deployment.go fix: use strings.HasPrefix and delegate export to real cleanup method 2026-02-19 20:17:06 -08:00
env_var.go Initial commit with server startup infrastructure 2025-12-29 15:46:03 +07:00
label.go Initial commit with server startup infrastructure 2025-12-29 15:46:03 +07:00
models_test.go fix: use hashed webhook secrets for constant-time comparison 2026-02-15 14:06:53 -08:00
port.go Add TCP/UDP port mapping support 2025-12-30 12:11:57 +07:00
user.go fix: address noinlineerr lint warning 2026-02-15 21:43:00 -08:00
volume.go Initial commit with server startup infrastructure 2025-12-29 15:46:03 +07:00
webhook_event.go Add commit URL to Slack notifications with link and backtick formatting 2025-12-31 16:29:22 -08:00