rdev/internal
jordan 9833725f31 fix: preserve work on build retry, clear stale audit data
Two critical fixes for build retry behavior:

1. pod_git_operations.go: Normalize remote URL before comparison
   - Clone stores URL with token (https://token:x@host/...)
   - Subsequent retry compares against URL without token
   - Without normalization, URLs never match, so workspace is always
     cleared and re-cloned, losing all code from previous attempt

2. build_audit.go: Clear stale result data when task transitions to running
   - When a failed task is retried, UpdateStatus only updated status/worker_id
   - Result and completed_at from previous failure remained, causing
     API to return stale failure data even while retry was running
   - Now clears result, completed_at and resets started_at when
     status is set to "running"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 08:40:36 -07:00
..
adapter fix: preserve work on build retry, clear stale audit data 2026-02-07 08:40:36 -07:00
auth feat: implement Visual Verification API layer (Week 2) 2026-02-03 19:29:40 -07:00
circuitbreaker feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
claudebox fix: add proper instrumentation to git clone for debugging 2026-02-07 07:59:53 -07:00
cmdlimit feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
db feat: enterprise worker pool with HTTP sidecar pattern 2026-02-05 16:21:11 -07:00
domain feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
envutil feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
handlers fix: wire workService to WorkersHandler and add /work/tasks endpoint 2026-02-06 10:35:39 -07:00
logging feat: add structured logging infrastructure and SDLC extensions 2026-02-04 22:56:04 -07:00
metrics feat: add diagnostics endpoint and external health monitoring 2026-02-03 19:10:56 -07:00
middleware feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
port fix: wire workService to WorkersHandler and add /work/tasks endpoint 2026-02-06 10:35:39 -07:00
ratelimit feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
sanitize feat: Add claude-config API, security hardening, and testing infrastructure 2026-01-25 01:29:13 -07:00
sdlc fix: cookbook tree runner stdout/stderr separation and bash brace expansion 2026-02-02 15:15:02 -07:00
service fix: wire workService to WorkersHandler and add /work/tasks endpoint 2026-02-06 10:35:39 -07:00
telemetry fix: Use FQDN for k8s service hostnames and remove broken commonLabels 2026-01-31 20:46:04 -07:00
testutil feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
validate feat: Add CI pipeline proxy, DNS alias management, and worker executor system 2026-01-27 21:05:28 -07:00
webhook fix: go.work race condition with batch components and idempotent provisioning 2026-02-05 12:31:40 -07:00
worker fix: preserve work on build retry, clear stale audit data 2026-02-07 08:40:36 -07:00