feat: remote tab in task-create dialog — multi-row GitHub repo picker (#1116)

This commit is contained in:
Carlos Florêncio
2026-05-30 15:47:02 +01:00
committed by GitHub
parent d288bd6a6d
commit d66d9e6f67
81 changed files with 8990 additions and 1441 deletions
+19 -17
View File
@@ -70,23 +70,24 @@ type SecretManager interface {
// Service coordinates GitHub integration operations.
type Service struct {
mu sync.Mutex
client Client
authMethod string
secrets SecretProvider
secretManager SecretManager
store *Store
eventBus bus.EventBus
logger *logger.Logger
taskDeleter TaskDeleter
taskSessionChecker TaskSessionChecker
syncGroup singleflight.Group
taskEventSubs []bus.Subscription
searchCache *ttlCache
prStatusCache *ttlCache
mergeMethodsCache *ttlCache
protectionCache *branchProtectionCache
rateTracker *RateTracker
mu sync.Mutex
client Client
authMethod string
secrets SecretProvider
secretManager SecretManager
store *Store
eventBus bus.EventBus
logger *logger.Logger
taskDeleter TaskDeleter
taskSessionChecker TaskSessionChecker
syncGroup singleflight.Group
taskEventSubs []bus.Subscription
searchCache *ttlCache
prStatusCache *ttlCache
mergeMethodsCache *ttlCache
accessibleReposCache *ttlCache
protectionCache *branchProtectionCache
rateTracker *RateTracker
// cleanupFailureMu guards cleanupFailureCounts; the cleanup loop is the
// only writer but the global sweep + per-watch sweep can run concurrently
@@ -107,6 +108,7 @@ func NewService(client Client, authMethod string, secrets SecretProvider, store
searchCache: newTTLCache(),
prStatusCache: newTTLCache(),
mergeMethodsCache: newMergeMethodsCache(),
accessibleReposCache: newAccessibleReposCache(),
protectionCache: newBranchProtectionCache(),
rateTracker: NewRateTracker(eventBus, log),
cleanupFailureCounts: make(map[string]int),