From 356fc191778022bb6f8b6973dd493021b10979c8 Mon Sep 17 00:00:00 2001 From: Victor Kuznetsov Date: Wed, 22 Jul 2026 20:32:52 +0400 Subject: [PATCH 1/3] [infra] Normalize Git state for nightly Docker builds Ignore runner-specific mode normalization and give Git LFS writable temporary storage when the checkout is mounted read-only. --- .github/workflows/nightly.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b7f5d70..d905f11 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -118,6 +118,12 @@ jobs: - name: Pull LFS test data run: git lfs pull --include="test_data/" + - name: Configure Git for read-only Docker mount + run: | + # Some runner filesystems normalize executable bits, and the LFS clean filter needs writable storage. + git config --local core.fileMode false + git config --local lfs.storage /tmp/cuvslam-lfs + - name: Resolve runner storage root if: matrix.eval && vars.RUNNER_STORAGE_ROOT != '' run: echo "RUNNER_STORAGE_ROOT=${{ vars.RUNNER_STORAGE_ROOT }}" >> "$GITHUB_ENV" From c9cc26e0535caafd1122c29adb30e2a97f4fb1c5 Mon Sep 17 00:00:00 2001 From: Victor Kuznetsov Date: Wed, 22 Jul 2026 21:08:15 +0400 Subject: [PATCH 2/3] [infra] Consolidate nightly Git checkout setup Keep LFS materialization and read-only Docker mount configuration together in one workflow step. --- .github/workflows/nightly.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d905f11..41ae5d8 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -115,11 +115,9 @@ jobs: with: lfs: false - - name: Pull LFS test data - run: git lfs pull --include="test_data/" - - - name: Configure Git for read-only Docker mount + - name: Prepare Git checkout for Docker build run: | + git lfs pull --include="test_data/" # Some runner filesystems normalize executable bits, and the LFS clean filter needs writable storage. git config --local core.fileMode false git config --local lfs.storage /tmp/cuvslam-lfs From 7a28dac1f612d7967cef5b9aa624249b99cb268f Mon Sep 17 00:00:00 2001 From: Victor Kuznetsov Date: Wed, 22 Jul 2026 22:00:34 +0400 Subject: [PATCH 3/3] [infra] Configure Git before nightly LFS pull Apply runner mode and writable LFS storage settings before checkout materialization begins. --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 41ae5d8..e67b75d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -117,10 +117,10 @@ jobs: - name: Prepare Git checkout for Docker build run: | - git lfs pull --include="test_data/" # Some runner filesystems normalize executable bits, and the LFS clean filter needs writable storage. git config --local core.fileMode false git config --local lfs.storage /tmp/cuvslam-lfs + git lfs pull --include="test_data/" - name: Resolve runner storage root if: matrix.eval && vars.RUNNER_STORAGE_ROOT != ''