@gitkraken/core-gitlens 0.62.0 → 0.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/CHANGELOG.md +15 -1
  2. package/dist/git/cache.d.ts +1 -0
  3. package/dist/git/cache.js +11 -0
  4. package/dist/git/cache.js.map +1 -1
  5. package/dist/git/errors.d.ts +15 -0
  6. package/dist/git/errors.js +9 -1
  7. package/dist/git/errors.js.map +1 -1
  8. package/dist/git/models/pullRequest.d.ts +3 -0
  9. package/dist/git/models/pullRequest.js.map +1 -1
  10. package/dist/git/providers/operations.d.ts +4 -3
  11. package/dist/git/providers/staging.d.ts +16 -8
  12. package/dist/git/run.types.d.ts +6 -0
  13. package/dist/git/utils/hiddenRefs.utils.d.ts +15 -0
  14. package/dist/git/utils/hiddenRefs.utils.js +68 -2
  15. package/dist/git/utils/hiddenRefs.utils.js.map +1 -1
  16. package/dist/git/utils/pullRequest.utils.d.ts +3 -6
  17. package/dist/git/utils/pullRequest.utils.js +6 -7
  18. package/dist/git/utils/pullRequest.utils.js.map +1 -1
  19. package/dist/git/watching/gitIgnoreFilter.d.ts +12 -5
  20. package/dist/git/watching/gitIgnoreFilter.js +26 -32
  21. package/dist/git/watching/gitIgnoreFilter.js.map +1 -1
  22. package/dist/git/watching/provider.d.ts +18 -3
  23. package/dist/git/watching/watchGroup.d.ts +7 -2
  24. package/dist/git/watching/watchGroup.js +51 -3
  25. package/dist/git/watching/watchGroup.js.map +1 -1
  26. package/dist/git/watching/watchService.d.ts +6 -3
  27. package/dist/git/watching/watchService.js +94 -64
  28. package/dist/git/watching/watchService.js.map +1 -1
  29. package/dist/git-cli/cliGitProvider.d.ts +2 -0
  30. package/dist/git-cli/cliGitProvider.js +85 -24
  31. package/dist/git-cli/cliGitProvider.js.map +1 -1
  32. package/dist/git-cli/exec/git.js +4 -4
  33. package/dist/git-cli/exec/git.js.map +1 -1
  34. package/dist/git-cli/exec/indexLock.d.ts +7 -5
  35. package/dist/git-cli/exec/indexLock.js +19 -15
  36. package/dist/git-cli/exec/indexLock.js.map +1 -1
  37. package/dist/git-cli/providers/config.d.ts +1 -0
  38. package/dist/git-cli/providers/config.js +15 -5
  39. package/dist/git-cli/providers/config.js.map +1 -1
  40. package/dist/git-cli/providers/pausedOperations.js +2 -2
  41. package/dist/git-cli/providers/pausedOperations.js.map +1 -1
  42. package/dist/git-cli/providers/staging.d.ts +8 -8
  43. package/dist/git-cli/providers/staging.js +120 -25
  44. package/dist/git-cli/providers/staging.js.map +1 -1
  45. package/dist/ipc/discovery.js +1 -1
  46. package/dist/plus/agents/providers/claudeCodeTranscript.js +6 -6
  47. package/dist/plus/agents/providers/claudeCodeTranscript.js.map +1 -1
  48. package/dist/plus/ai/providers/openAICompatibleProviderBase.js +1 -1
  49. package/dist/plus/git-github/api/config.d.ts +5 -0
  50. package/dist/plus/git-github/api/config.js.map +1 -1
  51. package/dist/plus/git-github/api/github.js +24 -4
  52. package/dist/plus/git-github/api/github.js.map +1 -1
  53. package/dist/plus/git-github/models.d.ts +12 -0
  54. package/dist/plus/git-github/models.js +8 -3
  55. package/dist/plus/git-github/models.js.map +1 -1
  56. package/dist/plus/integrations/context.d.ts +5 -0
  57. package/dist/plus/integrations/providers/azure/azure.js +1 -1
  58. package/dist/plus/integrations/providers/github.js +7 -3
  59. package/dist/plus/integrations/providers/github.js.map +1 -1
  60. package/dist/plus/integrations/reads/etag.d.ts +5 -0
  61. package/dist/plus/integrations/reads/etag.js +2 -0
  62. package/dist/plus/integrations/reads/etag.js.map +1 -1
  63. package/dist/utils/env/node/exec.d.ts +2 -0
  64. package/dist/utils/env/node/exec.js +4 -2
  65. package/dist/utils/env/node/exec.js.map +1 -1
  66. package/docs/integrations.md +9 -9
  67. package/package.json +1 -1
@@ -79,6 +79,7 @@ var RepositoryWatchService = class {
79
79
  getIgnoredWorktreeRoots;
80
80
  getIgnoredWorktreeFolders;
81
81
  provider;
82
+ trackedPruning;
82
83
  poller;
83
84
  readFile;
84
85
  readDirectory;
@@ -95,6 +96,7 @@ var RepositoryWatchService = class {
95
96
  _suspended = false;
96
97
  constructor(options) {
97
98
  this.provider = options.watchingProvider;
99
+ this.trackedPruning = this.provider.supportsTrackedGitIgnorePaths === true;
98
100
  this.defaultRepoDelayMs = options.defaultRepoDelayMs;
99
101
  this.defaultWorkingTreeDelayMs = options.defaultWorkingTreeDelayMs;
100
102
  this.defaultRepoMaxWaitMs = options.defaultRepoMaxWaitMs;
@@ -179,7 +181,7 @@ var RepositoryWatchService = class {
179
181
  },
180
182
  onDidFireRepoChange: (event) => {
181
183
  this._onDidChangeRepository.fire(event);
182
- if (this.wtWatchers.get(repoPath)?.delegation == null) return;
184
+ if (this.wtWatchers.get(repoPath)?.delegation == null || this.trackedPruning) return;
183
185
  if (event.changes.has("index") || event.changes.has("head") || event.changes.has("config") && !event.configConfined) this.refreshWorkingTreeFilter(repoPath);
184
186
  },
185
187
  onDidFireWorkingTreeChange: (repoPath) => {
@@ -227,7 +229,10 @@ var RepositoryWatchService = class {
227
229
  if (this._disposed) return;
228
230
  const key = getRepositoryKey(repoPath);
229
231
  const entry = this.wtWatchers.get(key);
230
- if (entry?.ignoreCheck != null && (changes.length === 0 || changes.some((change) => change === "index" || change === "head" || change === "config" || change === "ignores" || change === "unknown"))) this.invalidateIgnoreCheck(entry);
232
+ if (entry != null && (entry.ignoreCheck != null || this.trackedPruning) && (changes.length === 0 || changes.some((change) => change === "index" || change === "head" || change === "config" || change === "ignores" || change === "unknown"))) {
233
+ if (entry.delegation != null) this.refreshWorkingTreeFilter(key);
234
+ else this.invalidateIgnoreCheck(entry);
235
+ }
231
236
  this.sessionMap.get(key)?.session.noteSelfWrite(changes, refs, options);
232
237
  }
233
238
  /**
@@ -315,20 +320,21 @@ var RepositoryWatchService = class {
315
320
  const hooks = {
316
321
  onRepoChanged: (_repoPath, changes, ref, overflow, configBranches, movedWorktree) => {
317
322
  const entry = this.wtWatchers.get(session.repoPath);
318
- const indexMayHaveChanged = overflow || changes.includes("index") || changes.includes("head");
319
- if (entry != null && (indexMayHaveChanged || changes.includes("config"))) this.invalidateIgnoreCheck(entry);
320
- if (overflow) {
321
- session.pushUnfencedRepoChanges(changes);
322
- if (entry?.delegation != null) this.scheduleIgnorePruningRefresh(entry, "recovery");
323
- } else session.pushRepoChanges(changes, ref, configBranches, movedWorktree);
323
+ const indexMayHaveChanged = changes.includes("index") || changes.includes("head");
324
+ if (!overflow && entry != null && (indexMayHaveChanged || changes.includes("config"))) {
325
+ if (this.trackedPruning && entry.delegation != null && (indexMayHaveChanged || configBranches == null)) this.refreshWorkingTreeFilter(session.repoPath);
326
+ else this.invalidateIgnoreCheck(entry);
327
+ }
328
+ if (overflow) session.pushUnfencedRepoChanges(changes);
329
+ else session.pushRepoChanges(changes, ref, configBranches, movedWorktree);
324
330
  if (this.poller != null && (changes.includes("index") || changes.includes("head")) && this.wtWatchers.get(session.repoPath)?.reliability === "unwatchable") session.pushWorkingTreeChanges([], true);
325
331
  },
326
332
  onFetchHeadChanged: (repoPath) => {
327
333
  this._onDidChangeFetchHead.fire(repoPath);
328
334
  for (const h of watchHooks) h.onFetchHeadChanged?.(repoPath);
329
335
  },
330
- onIgnoresChanged: (repoPath) => {
331
- this.refreshWorkingTreeFilter(repoPath);
336
+ onIgnoresChanged: (repoPath, overflow) => {
337
+ this.refreshWorkingTreeFilter(repoPath, overflow ? "recovery" : "metadata");
332
338
  for (const h of watchHooks) h.onIgnoresChanged?.(repoPath);
333
339
  },
334
340
  getProbeRefs: () => {
@@ -336,6 +342,12 @@ var RepositoryWatchService = class {
336
342
  for (const ref of this.poller?.options.getRefs?.(session.repoPath) ?? []) refs.add(ref);
337
343
  return refs;
338
344
  },
345
+ onMetadataCoverageChanged: (live) => {
346
+ const entry = this.wtWatchers.get(session.repoPath);
347
+ if (entry == null || !this.trackedPruning) return;
348
+ if (!live) this.relinquishIgnoreDelegation(entry);
349
+ else if (entry.delegation == null && this.provider.createGitIgnoringWatcher != null && this.getGitIgnoreWatchInputs != null) this.replaceWithCoveredWatcher(entry);
350
+ },
339
351
  onUnwatchableChanged: () => this.updateWatchMode(record)
340
352
  };
341
353
  const wasConnected = group.sessions.has(session.repoPath);
@@ -396,8 +408,10 @@ var RepositoryWatchService = class {
396
408
  let entry;
397
409
  let filter;
398
410
  if (this.getIgnoreFilter != null) filter = this.getIgnoreFilter(repoPath, gitDir.uri.fsPath);
399
- let filterReady = filter == null;
400
- let buffered = filter != null ? [] : void 0;
411
+ const check = this.getIgnorePathChecker?.(repoPath);
412
+ const deliverUnchecked = this.trackedPruning && check == null;
413
+ let filterReady = filter == null || deliverUnchecked;
414
+ let buffered = filterReady ? void 0 : [];
401
415
  let bufferIncomplete = false;
402
416
  const rootPrefix = repoPath.endsWith("/") ? repoPath : `${repoPath}/`;
403
417
  const getRelativeEventPath = (path) => {
@@ -409,7 +423,7 @@ var RepositoryWatchService = class {
409
423
  return isDescendant(path, repoPath) ? relative(repoPath, path) : void 0;
410
424
  };
411
425
  const revalidated = filter?.revalidate();
412
- if (filter != null) {
426
+ if (!filterReady && filter != null) {
413
427
  const replay = () => {
414
428
  const pending = buffered;
415
429
  const incomplete = bufferIncomplete;
@@ -427,7 +441,7 @@ var RepositoryWatchService = class {
427
441
  filter.ready().then(replay, replay).catch(() => {});
428
442
  }
429
443
  const onIgnoreRulesChanged = (refreshFilter, reason = "worktree") => {
430
- if (refreshFilter && filter != null) filter.refresh();
444
+ if (refreshFilter && filter != null) this.reloadIgnoreFilter(filter, reason !== "worktree" && entry?.delegation != null);
431
445
  if (entry != null) {
432
446
  this.invalidateIgnoreCheck(entry);
433
447
  this.scheduleIgnorePruningRefresh(entry, reason);
@@ -439,8 +453,8 @@ var RepositoryWatchService = class {
439
453
  const onEvent = (event) => {
440
454
  const startingDelegation = entry?.starting === true && entry.delegation != null;
441
455
  if (event.reason === "overflow") {
442
- session.pushWorkingTreeChanges([], true);
443
456
  onIgnoreRulesChanged(true, "recovery");
457
+ if (entry?.delegation == null || !this.trackedPruning) session.pushWorkingTreeChanges([], true);
444
458
  return;
445
459
  }
446
460
  if (isNoise(event.path)) return;
@@ -449,7 +463,7 @@ var RepositoryWatchService = class {
449
463
  onIgnoreRulesChanged(true);
450
464
  return;
451
465
  }
452
- if (relativePath?.endsWith("/.gitignore") && (entry?.delegation != null || !(filterReady && filter?.isIgnored(relativePath.slice(0, -10))))) onIgnoreRulesChanged(true);
466
+ if (relativePath?.endsWith("/.gitignore") && (deliverUnchecked || entry?.delegation != null || !(filterReady && filter?.isIgnored(relativePath.slice(0, -10))))) onIgnoreRulesChanged(true);
453
467
  if (startingDelegation) return;
454
468
  if (!filterReady) {
455
469
  if (buffered != null && buffered.length >= maxBufferedWorkingTreePaths) {
@@ -460,11 +474,10 @@ var RepositoryWatchService = class {
460
474
  return;
461
475
  }
462
476
  if (entry != null && this.wtWatchers.get(repoPath) !== entry) return;
463
- if (entry == null || this.shouldDeliverWorkingTreePath(entry, event.path, relativePath, event.reason === "delete")) session.pushWorkingTreeChanges([event.path]);
477
+ if (deliverUnchecked || entry == null || this.shouldDeliverWorkingTreePath(entry, event.path, relativePath, event.reason === "delete")) session.pushWorkingTreeChanges([event.path]);
464
478
  };
465
- const check = this.getIgnorePathChecker?.(repoPath);
466
479
  const kept = check == null && canPrune && filter != null ? this.keptIgnoredDirectories.get(filter) : void 0;
467
- const created = this.createWorkingTreeWatcher(repoPath, onEvent, kept != null ? [...workingTreeExcludes, ...kept] : workingTreeExcludes, check == null && this.getGitIgnoreWatchInputs != null && this.isConnected(record));
480
+ const created = (this.getGitIgnoreWatchInputs != null && (this.trackedPruning ? this.watchGroups.get((gitDir.commonUri ?? gitDir.uri).fsPath)?.hasLiveMetadataCoverage(repoPath) : check == null && this.isConnected(record)) ? this.createWorkingTreeWatcher(repoPath, onEvent, workingTreeExcludes, true) : void 0) ?? this.createWorkingTreeWatcher(repoPath, onEvent, kept != null ? [...workingTreeExcludes, ...kept] : workingTreeExcludes);
468
481
  entry = {
469
482
  ignoreCheck: check && {
470
483
  check,
@@ -589,6 +602,7 @@ var RepositoryWatchService = class {
589
602
  if (watcher != null && entry?.watcher === watcher) {
590
603
  entry.awaitingStartAck = false;
591
604
  this.reconcileWorkingTreeLifecycle(entry, entry.reliability, { rescan: entry.delegation == null });
605
+ if (this.trackedPruning && entry.delegation?.initialApplied && !entry.delegation.verified) this.refreshIgnorePruning(entry);
592
606
  }
593
607
  };
594
608
  let reliability = "reliable";
@@ -603,53 +617,60 @@ var RepositoryWatchService = class {
603
617
  const options = {
604
618
  excludes,
605
619
  onDidStart,
606
- ...this.poller == null ? void 0 : { onDidChangeReliability }
620
+ ...this.poller != null || this.trackedPruning ? { onDidChangeReliability } : void 0
607
621
  };
608
- if (tryDelegation && this.provider.createGitIgnoringWatcher != null) {
609
- let declined = false;
610
- const delegated = this.provider.createGitIgnoringWatcher(repoPath, (event) => {
611
- const entry = this.wtWatchers.get(repoPath);
612
- if (watcher != null && entry?.watcher === watcher && !declined) onEvent(event);
613
- }, {
614
- excludes: workingTreeExcludes,
615
- onDidStart: () => {
616
- if (!declined) onDidStart();
617
- },
618
- ...this.poller == null ? void 0 : { onDidChangeReliability: (state) => {
619
- if (!declined) onDidChangeReliability(state);
620
- } }
621
- });
622
- if (delegated != null) {
623
- watcher = delegated;
624
- return {
625
- watcher,
626
- reliability,
627
- awaitingStartAck: this.provider.callsOnDidStart === true && !started,
628
- delegation: {
629
- watcher: delegated,
630
- initialApplied: false,
631
- refreshing: false,
632
- verified: false
633
- }
634
- };
635
- }
636
- declined = true;
637
- started = false;
638
- reliability = "reliable";
622
+ const emit = (event) => {
623
+ if (watcher == null ? !tryDelegation : this.wtWatchers.get(repoPath)?.watcher === watcher) onEvent(event);
624
+ };
625
+ if (tryDelegation) {
626
+ const delegated = this.provider.createGitIgnoringWatcher?.(repoPath, emit, options);
627
+ if (delegated == null) return void 0;
628
+ watcher = delegated;
629
+ return {
630
+ watcher,
631
+ reliability,
632
+ awaitingStartAck: (this.provider.callsOnDidStart === true || this.trackedPruning) && !started,
633
+ delegation: {
634
+ watcher: delegated,
635
+ initialApplied: false,
636
+ refreshing: false,
637
+ verified: false
638
+ }
639
+ };
639
640
  }
640
- watcher = this.provider.createWatcher(repoPath, "**", onEvent, options);
641
+ watcher = this.provider.createWatcher(repoPath, "**", emit, options);
641
642
  return {
642
643
  watcher,
643
644
  reliability,
644
645
  awaitingStartAck: this.provider.callsOnDidStart === true && !started
645
646
  };
646
647
  }
648
+ replaceWithCoveredWatcher(entry) {
649
+ const previous = entry.watcher;
650
+ let created;
651
+ try {
652
+ created = this.createWorkingTreeWatcher(entry.session.repoPath, entry.onEvent, workingTreeExcludes, true);
653
+ if (created == null) return;
654
+ } catch {
655
+ return;
656
+ }
657
+ entry.watcher = created.watcher;
658
+ entry.delegation = created.delegation;
659
+ entry.awaitingStartAck = created.awaitingStartAck;
660
+ entry.starting = created.awaitingStartAck || created.delegation != null;
661
+ previous?.dispose();
662
+ this.reconcileWorkingTreeLifecycle(entry, created.reliability, {
663
+ initial: true,
664
+ rescan: !entry.starting
665
+ });
666
+ this.refreshIgnorePruning(entry);
667
+ }
647
668
  reconcileWorkingTreeLifecycle(entry, state, options) {
648
669
  const unavailable = state === "unwatchable";
649
670
  const availabilityChanged = !options?.initial && unavailable !== (entry.reliability === "unwatchable");
650
671
  const delegation = entry.delegation;
651
672
  entry.reliability = state;
652
- if (unavailable) entry.awaitingStartAck = false;
673
+ if (unavailable && (delegation == null || !this.trackedPruning)) entry.awaitingStartAck = false;
653
674
  if (availabilityChanged && delegation != null) {
654
675
  if (unavailable) {
655
676
  entry.generation++;
@@ -658,7 +679,7 @@ var RepositoryWatchService = class {
658
679
  }
659
680
  const rulesVerified = delegation?.verified !== false;
660
681
  const startupReady = entry.starting && !unavailable && !entry.awaitingStartAck && rulesVerified;
661
- const reconcileAvailability = availabilityChanged && (unavailable || rulesVerified);
682
+ const reconcileAvailability = availabilityChanged && (unavailable || rulesVerified && !(this.trackedPruning && delegation != null));
662
683
  if (startupReady || availabilityChanged && unavailable && delegation == null) entry.starting = false;
663
684
  this.updateWorkingTreePollTarget(entry);
664
685
  if (startupReady || reconcileAvailability || options?.rescan) entry.session.pushWorkingTreeChanges([], true);
@@ -699,7 +720,7 @@ var RepositoryWatchService = class {
699
720
  poller.add(target);
700
721
  }
701
722
  canPruneIgnoredDirectories() {
702
- return this.provider.supportsExcludes === true && this.getIgnoredDirectories != null;
723
+ return !this.trackedPruning && this.provider.supportsExcludes === true && this.getIgnoredDirectories != null;
703
724
  }
704
725
  /**
705
726
  * An event the gitignore post-filter dropped. When its directory is itself ignored, the watcher is watching an
@@ -751,6 +772,7 @@ var RepositoryWatchService = class {
751
772
  if (this.wtWatchers.get(entry.session.repoPath) !== entry) return;
752
773
  const delegation = entry.delegation;
753
774
  if (delegation != null) {
775
+ if (this.trackedPruning && delegation.initialApplied && entry.awaitingStartAck) return;
754
776
  if (!delegation.refreshing && (!delegation.initialApplied || entry.reliability !== "unwatchable")) this.refreshDelegatedIgnores(entry, delegation);
755
777
  return;
756
778
  }
@@ -795,20 +817,22 @@ var RepositoryWatchService = class {
795
817
  const initial = !delegation.initialApplied;
796
818
  const verifyingStartup = !initial && !delegation.verified;
797
819
  const reason = initial ? "initial" : verifyingStartup ? "recovery" : delegation.pendingRefresh ?? "worktree";
798
- delegation.pendingRefresh = void 0;
799
820
  delegation.refreshing = true;
800
821
  try {
801
822
  const record = this.sessionMap.get(repoPath);
802
- const inputs = record == null ? void 0 : await this.getGitIgnoreWatchInputs?.(repoPath, record.gitDir, { refreshConfig: verifyingStartup });
823
+ const refreshConfig = verifyingStartup || this.trackedPruning && reason !== "worktree";
824
+ const reloadAfterRead = refreshConfig && (initial || verifyingStartup || !entry.filter?.canInvalidateConfig);
825
+ let inputs;
826
+ try {
827
+ if (record != null) inputs = await this.getGitIgnoreWatchInputs?.(repoPath, record.gitDir, { refreshConfig: reloadAfterRead });
828
+ } finally {
829
+ if (refreshConfig && entry.generation === generation && entry.delegation === delegation) await (reloadAfterRead ? entry.filter?.refresh() : entry.filter?.ready());
830
+ }
803
831
  if (entry.generation !== generation || entry.delegation !== delegation) return;
804
- if (inputs == null) {
832
+ if (inputs == null || this.trackedPruning && (!Array.isArray(inputs.protectedPaths) || !Array.isArray(inputs.configWatchPaths))) {
805
833
  this.relinquishIgnoreDelegation(entry);
806
834
  return;
807
835
  }
808
- if (verifyingStartup) {
809
- await entry.filter?.refresh();
810
- if (entry.generation !== generation || entry.delegation !== delegation) return;
811
- }
812
836
  await delegation.watcher.refreshGitIgnores(reason, inputs);
813
837
  if (entry.delegation !== delegation || this.wtWatchers.get(repoPath) !== entry) return;
814
838
  if (initial) {
@@ -820,9 +844,10 @@ var RepositoryWatchService = class {
820
844
  delegation.verified = true;
821
845
  this.reconcileWorkingTreeLifecycle(entry, entry.reliability, { rescan: !verifyingStartup && !entry.starting });
822
846
  } catch {
823
- if (this.wtWatchers.get(repoPath) === entry && entry.delegation === delegation) this.relinquishIgnoreDelegation(entry);
847
+ if (entry.generation === generation && this.wtWatchers.get(repoPath) === entry && entry.delegation === delegation) this.relinquishIgnoreDelegation(entry);
824
848
  } finally {
825
849
  delegation.refreshing = false;
850
+ if (entry.generation === generation) delegation.pendingRefresh = void 0;
826
851
  if (entry.delegation === delegation && this.wtWatchers.get(repoPath) === entry && entry.refreshTimer == null && (delegation.pendingRefresh != null || delegation.initialApplied && !delegation.verified)) this.refreshIgnorePruning(entry);
827
852
  }
828
853
  }
@@ -892,9 +917,14 @@ var RepositoryWatchService = class {
892
917
  const entry = this.wtWatchers.get(repoPath);
893
918
  if (entry == null) return;
894
919
  this.invalidateIgnoreCheck(entry);
895
- if (entry.filter != null) entry.filter.refresh();
920
+ if (entry.filter != null) this.reloadIgnoreFilter(entry.filter, entry.delegation != null);
896
921
  this.scheduleIgnorePruningRefresh(entry, reason);
897
922
  }
923
+ reloadIgnoreFilter(filter, delegatedConfigChange) {
924
+ const configChanged = delegatedConfigChange && this.trackedPruning;
925
+ if (configChanged && !filter.canInvalidateConfig) return;
926
+ filter.refresh({ configChanged });
927
+ }
898
928
  disposeSessionRecord(record) {
899
929
  this.stopWorkingTreeWatcher(record.session.repoPath);
900
930
  this.disconnectFromWatchGroup(record);