From 5230e7f89f0d2cfed779d85367a6410907721c1f Mon Sep 17 00:00:00 2001 From: Seun Akanni Date: Thu, 6 Aug 2026 11:53:45 +0100 Subject: [PATCH 1/2] test(validate): commit a Versioning_93.json in the calling repo Control leg: the harness still calls ci-versioning@develop, where the upgrade scan is rooted at the dependency tree, so this file must be invisible to it. The .cs touch is inert and only exists so the changed-file gate matches. --- File_Engine/Compute/NewFilenameIfExists.cs | 1 + File_Engine/Versioning_93.json | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 File_Engine/Versioning_93.json diff --git a/File_Engine/Compute/NewFilenameIfExists.cs b/File_Engine/Compute/NewFilenameIfExists.cs index d5000f25..befca9a8 100644 --- a/File_Engine/Compute/NewFilenameIfExists.cs +++ b/File_Engine/Compute/NewFilenameIfExists.cs @@ -64,6 +64,7 @@ public static string NewFilenameIfExists(string targetPath) } while (System.IO.File.Exists(targetPath)); + // Sandbox validation touch: gives the versioning gate a .cs change to match. return targetPath; } } diff --git a/File_Engine/Versioning_93.json b/File_Engine/Versioning_93.json new file mode 100644 index 00000000..154665e2 --- /dev/null +++ b/File_Engine/Versioning_93.json @@ -0,0 +1,5 @@ +{ + "MessageForNoUpgrade": { + "BH.Engine.Adapters.File.Query.SandboxScanRootProbe": "Sandbox validation entry for CI_Toolkit fix/ci-versioning-gate-and-scan-root. Proves the upgrade scan reaches a Versioning_NN.json committed in the calling repo. Not a real deprecation." + } +} From ca1b645d081c260aa0c1ce534375d9b654e1f2e3 Mon Sep 17 00:00:00 2001 From: Seun Akanni Date: Thu, 6 Aug 2026 12:02:13 +0100 Subject: [PATCH 2/2] test(validate): flip the harness to the fix branch Treatment leg. Source is identical to the control commit, so the only variable is the action: the scan must now find File_Engine/Versioning_93.json and merge it into v93.json. --- .github/workflows/versioning.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/versioning.yml b/.github/workflows/versioning.yml index bf138c43..8335624c 100644 --- a/.github/workflows/versioning.yml +++ b/.github/workflows/versioning.yml @@ -19,7 +19,7 @@ jobs: timeout-minutes: 90 steps: - name: Run ci-versioning - uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-versioning@develop + uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-versioning@fix/ci-versioning-gate-and-scan-root with: app_id: ${{ secrets.BHOM_APP_ID }} private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}