From a3ee8ab0ec965bc0b25444dd35281c2f797ff2a8 Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Mon, 6 Jul 2026 16:45:41 +0100 Subject: [PATCH] ci: build against logos-delivery master (unpin #4012) logos-delivery#4012 merged, so drop the LOGOS_DELIVERY_REF pin and clone the default branch; the cache key tracks master's HEAD again. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/pr.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index fa651c9..575c85c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -17,11 +17,6 @@ jobs: # Clone the logos-delivery checkout OUTSIDE the module tree: a directory # named `vendor/` at the module root would put Go into vendor mode. LOGOS_DELIVERY_DIR: ${{ github.workspace }}/.logos-delivery - # TODO(revert once merged): pinned to logos-delivery#4012, which unifies - # the node lifecycle on logosdelivery_* and ships the full API in the - # single liblogosdelivery library. Point back at the default branch after - # it merges. - LOGOS_DELIVERY_REF: update-examples-ffi-node-lifecycle # The single liblogosdelivery library exposes the full API; its headers # live in library/. The bridge self-links -llogosdelivery via a #cgo # directive, so no -l is set here. @@ -43,10 +38,10 @@ jobs: - name: Resolve logos-delivery commit # Cache the built library keyed on the exact upstream commit, so the - # expensive clone + build is skipped while the pinned ref is unchanged. + # expensive clone + build is skipped while master's HEAD is unchanged. id: logos-delivery-rev run: | - rev=$(git ls-remote https://github.com/logos-messaging/logos-delivery.git "$LOGOS_DELIVERY_REF" | cut -f1) + rev=$(git ls-remote https://github.com/logos-messaging/logos-delivery.git HEAD | cut -f1) echo "rev=$rev" >> "$GITHUB_OUTPUT" - name: Cache logos-delivery build @@ -58,7 +53,7 @@ jobs: - name: Clone logos-delivery if: steps.logos-delivery-cache.outputs.cache-hit != 'true' - run: git clone --depth 1 --branch "$LOGOS_DELIVERY_REF" https://github.com/logos-messaging/logos-delivery.git "$LOGOS_DELIVERY_DIR" + run: git clone --depth 1 https://github.com/logos-messaging/logos-delivery.git "$LOGOS_DELIVERY_DIR" - name: Build liblogosdelivery if: steps.logos-delivery-cache.outputs.cache-hit != 'true'