Skip to content

Self-hosted workflows for coding-agent delivery. Orchestrate CodeBuddy, Codex and Claude Code with scripts and human approval gates. Includes Local workflows for coding assistants.

refactor(repo): drop unused analytics versions field and artifactHit type (#230)

fx-kurumif679fd08a342
diff --git a/internal/repo/analytics.go b/internal/repo/analytics.go
index f3867b46..098a2a74 100644
--- a/internal/repo/analytics.go
+++ b/internal/repo/analytics.go
@@ -27,7 +27,6 @@ type analyticsAccumulator struct {
retriedNodes int
reworkNodes int
models map[string]int
- versions map[string]int
nodeTypes map[string]int
nodeCount int
issueIDs map[string]struct{}
diff --git a/internal/repo/delivery.go b/internal/repo/delivery.go
index b2bf6eba..69e23a7b 100644
--- a/internal/repo/delivery.go
+++ b/internal/repo/delivery.go
@@ -715,11 +715,6 @@ func (r *DeliveryRepo) ListMRDeliveryStates() ([]domain.MRDeliveryState, error)
// DiscoverMRDeliveryStatesFromArtifacts registers MR links found in run artifacts.
func (r *DeliveryRepo) DiscoverMRDeliveryStatesFromArtifacts() error {
- type artifactHit struct {
- runID string
- name string
- nodeID string
- }
var rows []struct {
ExecutionContext string `gorm:"column:execution_context"`
Name string `gorm:"column:name"`