summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-18 07:54:27 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-18 07:55:27 +0000
commita4795d68fc5381f1ff48d043fe7554355e5899fb (patch)
tree26dc8ea78c3896021f53f3d1bb6731c197a6cfeb /internal/api
parente1be377c851f1e7ce594fa3de6c429354bcedcce (diff)
fix: address final container execution issues and cleanup review docs
Diffstat (limited to 'internal/api')
-rw-r--r--internal/api/webhook.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/internal/api/webhook.go b/internal/api/webhook.go
index a28b43f..141224f 100644
--- a/internal/api/webhook.go
+++ b/internal/api/webhook.go
@@ -210,16 +210,16 @@ func (s *Server) createCIFailureTask(w http.ResponseWriter, repoName, fullName,
MaxBudgetUSD: 3.0,
AllowedTools: []string{"Read", "Edit", "Bash", "Glob", "Grep"},
},
- Priority: task.PriorityNormal,
- Tags: []string{"ci", "auto"},
- DependsOn: []string{},
- Retry: task.RetryConfig{MaxAttempts: 1, Backoff: "exponential"},
- State: task.StatePending,
- CreatedAt: now,
- UpdatedAt: now,
+ Priority: task.PriorityNormal,
+ Tags: []string{"ci", "auto"},
+ DependsOn: []string{},
+ Retry: task.RetryConfig{MaxAttempts: 1, Backoff: "exponential"},
+ State: task.StatePending,
+ CreatedAt: now,
+ UpdatedAt: now,
+ RepositoryURL: fmt.Sprintf("https://github.com/%s.git", fullName),
}
if project != nil {
- t.RepositoryURL = fmt.Sprintf("https://github.com/%s.git", fullName)
t.Project = project.Name
}