feat: hydrate persisted PR details on task disclosure (#3055)

This commit is contained in:
Carlos Florêncio
2026-08-26 15:54:59 +00:00
committed by GitHub
parent 49dd944bd3
commit a6896bca9a
68 changed files with 1764 additions and 130 deletions
+5
View File
@@ -576,6 +576,11 @@ type TaskPR struct {
AutoMergeObservedAt *time.Time `json:"auto_merge_observed_at" db:"auto_merge_observed_at"`
}
// GetWorkspaceID lets workspace-scoped notification handlers route the typed
// in-process task PR event to the owning workspace instead of broadcasting it
// as an unattributed instance-wide update.
func (p TaskPR) GetWorkspaceID() string { return p.WorkspaceID }
// TaskCIOptions stores task-level PR automation preferences.
//
// The five automation switches below (AutoFixEnabled, AutoMergeEnabled,