From 3d254f61b06741a3f828ca7aa5cfe4536eb8c453 Mon Sep 17 00:00:00 2001 From: Jack Ye Date: Fri, 21 Nov 2025 09:50:23 -0800 Subject: [PATCH] ci: trigger downstream verification after version bump (#2809) --- .../codex-update-lance-dependency.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/codex-update-lance-dependency.yml b/.github/workflows/codex-update-lance-dependency.yml index fae0a771..488b1f7c 100644 --- a/.github/workflows/codex-update-lance-dependency.yml +++ b/.github/workflows/codex-update-lance-dependency.yml @@ -98,3 +98,30 @@ jobs: printenv OPENAI_API_KEY | codex login --with-api-key codex --config shell_environment_policy.ignore_default_excludes=true exec --dangerously-bypass-approvals-and-sandbox "$(cat /tmp/codex-prompt.txt)" + + - name: Trigger sophon dependency update + env: + TAG: ${{ inputs.tag }} + GH_TOKEN: ${{ secrets.ROBOT_TOKEN }} + run: | + set -euo pipefail + VERSION="${TAG#refs/tags/}" + VERSION="${VERSION#v}" + LANCEDB_BRANCH="codex/update-lance-${VERSION//[^a-zA-Z0-9]/-}" + + echo "Triggering sophon workflow with:" + echo " lance_ref: ${TAG#refs/tags/}" + echo " lancedb_ref: ${LANCEDB_BRANCH}" + + gh workflow run codex-bump-lancedb-lance.yml \ + --repo lancedb/sophon \ + -f lance_ref="${TAG#refs/tags/}" \ + -f lancedb_ref="${LANCEDB_BRANCH}" + + - name: Show latest sophon workflow run + env: + GH_TOKEN: ${{ secrets.ROBOT_TOKEN }} + run: | + set -euo pipefail + echo "Latest sophon workflow run:" + gh run list --repo lancedb/sophon --workflow codex-bump-lancedb-lance.yml --limit 1 --json databaseId,htmlUrl,displayTitle