From 419f5ab048436adb39de4eca4b09d66721c1fecc Mon Sep 17 00:00:00 2001 From: James Ross Date: Tue, 3 Mar 2026 22:33:11 -0800 Subject: [PATCH 1/2] fix(ci): use full clone for traceability job actions/checkout@v4 defaults to fetch-depth: 1 (shallow clone). When git-warp materializes, it walks commit parent chains via git show to read patch blobs. In a shallow clone, these commit objects may not exist locally, causing 'git show' to fail with exit code 128. Setting fetch-depth: 0 ensures the full object database is available before fetching WARP writer refs. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9521ca3..ecd9c79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,6 +94,8 @@ jobs: contents: read steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Fetch WARP graph refs run: git fetch origin 'refs/warp/xyph-roadmap/writers/*:refs/warp/xyph-roadmap/writers/*' From 22949fb96cc5000df3b5302f52dac6acf313bd7d Mon Sep 17 00:00:00 2001 From: James Ross Date: Tue, 3 Mar 2026 22:42:49 -0800 Subject: [PATCH 2/2] fix(ci): configure git identity for WARP graph materialization git-warp's auto-checkpoint calls git commit-tree during materialization, which requires a committer identity. CI runners have no git user configured, causing exit code 128 (fatal: empty ident name). Sets a local git identity in the traceability job only. --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ecd9c79..3f29ef4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,6 +97,11 @@ jobs: with: fetch-depth: 0 + - name: Configure git identity for graph materialization + run: | + git config user.name "ci-bot" + git config user.email "ci@xyph.dev" + - name: Fetch WARP graph refs run: git fetch origin 'refs/warp/xyph-roadmap/writers/*:refs/warp/xyph-roadmap/writers/*'