Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove unused state fields (#18037)

Danny Xu2e7076d4b1fb
diff --git a/backend/component/state/state.go b/backend/component/state/state.go
index 27ca149519..50bb315ba8 100644
--- a/backend/component/state/state.go
+++ b/backend/component/state/state.go
@@ -14,11 +14,6 @@ type State struct {
// ApprovalFinding is the set of issues for finding the approval template.
ApprovalFinding sync.Map // map[issue.ID]*store.IssueMessage
- // TaskProgress is the map from task ID to task progress.
- TaskProgress sync.Map // map[taskID]api.Progress
- // GhostTaskState is the map from task ID to gh-ost state.
- GhostTaskState sync.Map // map[taskID]sharedGhostState
-
TaskRunSchedulerInfo sync.Map // map[taskRunID]*storepb.SchedulerInfo
// TaskRunConnectionID is the map from task run ID to the connection id of the connection to the database.