Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix(ci): give gh CLI repo context in monitor-publish (#3742)

LearningCircuitff1cda3e7c42
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e2fead5b7c..4a544e8044 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -484,6 +484,13 @@ jobs:
- name: Wait for publish workflows to complete
env:
GH_TOKEN: ${{ github.token }}
+ # gh CLI cannot infer the repo here (this job has no checkout step),
+ # and it does NOT fall back to GITHUB_REPOSITORY. Without GH_REPO,
+ # `gh run list` fails with "failed to determine base repo", the
+ # error is swallowed, and every poll sees an empty result — which
+ # made monitor-publish always time out and falsely open a
+ # "Partial publish failure" issue even when both publishes succeeded.
+ GH_REPO: ${{ github.repository }}
RELEASE_TAG: ${{ needs.build.outputs.tag }}
DISPATCH_TIME: ${{ needs.trigger-workflows.outputs.dispatch_time }}
run: |
@@ -504,7 +511,10 @@ jobs:
# sorts before "...:56Z"). fromdateiso8601 doesn't accept
# fractional seconds, so strip them first. The 60s buffer
# tolerates minor clock skew between the runner and GitHub's API.
- run=$(gh run list --workflow="$workflow_name" --limit=20 --json status,conclusion,createdAt 2>/dev/null \
+ # Stderr is intentionally NOT redirected so gh failures are
+ # visible in the runner log (silent failures previously caused
+ # the loop to time out without explanation).
+ run=$(gh run list --workflow="$workflow_name" --limit=20 --json status,conclusion,createdAt \
| jq -r --arg since "$DISPATCH_TIME" '
def to_epoch: sub("\\.[0-9]+Z$"; "Z") | fromdateiso8601;
(($since | to_epoch) - 60) as $s