From 7431db82e96f3031181f37443a424d5a8d25be1d Mon Sep 17 00:00:00 2001 From: Cameron Macintosh Date: Tue, 17 Feb 2026 17:59:36 -0600 Subject: [PATCH 1/2] fix(IncrementalLoad): Do not attempt to delete files not in the database (#928) --- cls/SourceControl/Git/PullEventHandler/IncrementalLoad.cls | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cls/SourceControl/Git/PullEventHandler/IncrementalLoad.cls b/cls/SourceControl/Git/PullEventHandler/IncrementalLoad.cls index e6e1ad5e..99dfe5cb 100644 --- a/cls/SourceControl/Git/PullEventHandler/IncrementalLoad.cls +++ b/cls/SourceControl/Git/PullEventHandler/IncrementalLoad.cls @@ -33,6 +33,10 @@ Method OnPull() As %Status } elseif (..ModifiedFiles(i).changeType = "D") { #; Deleted production items will not have an internal name set delIndex = $select(##class(SourceControl.Git.Util.Production).ItemIsPTD(tExternalName): 1, 1: 2) + if ((delIndex = 2) && (internalName = "")) { + write !, tExternalName, "was not in the database. Nothing to delete." + continue + } set:(delIndex=1) internalName = "-"_i ;; This is a total hack because deleted production items will not have an internal name set delList(delIndex, internalName) = tExternalName } else { From b6ef283607fbbfc825fca6e7209f5b90e897acac Mon Sep 17 00:00:00 2001 From: Cameron Macintosh Date: Wed, 18 Feb 2026 09:43:36 -0600 Subject: [PATCH 2/2] docs: update changelog. (#928) --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 908f36e5..2667a8af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Fixed - Fixed issue where Generated Files Read-only option didn't entirely work for files not in source control (#712) +- Fixed issue where a deleted file not within Embedded Git's management was causing the pull handler to crash and not fully update the Iris instance (#928) ## [2.15.0] - 2026-01-06