Skip to content

Commit 02dfbf5

Browse files
committed
ci: drop the canary's temporary branch trigger
The workflow ran green end to end on the branch (run 31947729778), so remove the push trigger that exercised it. Also read pyright's error count rather than its last output line for the informational summary, and silence its new-version nag. No-Verification-Needed: CI-only change (workflow trigger + report cosmetics)
1 parent 1b0d968 commit 02dfbf5

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/dependency-canary.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ on:
4848
description: "Create/update/close the tracking issue exactly as a scheduled run would"
4949
type: boolean
5050
default: false
51-
# TEMPORARY while this workflow is under review: exercise it on the PR branch.
52-
# Report-only (push runs never touch issues). Remove before merging.
53-
push:
54-
branches: ["ci/dependency-canary"]
5551

5652
permissions: {}
5753

scripts/ci/canary_cell.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,13 @@ else
9696
fi
9797

9898
if [ "${CANARY_PYRIGHT:-}" = "1" ]; then
99-
if uv run --frozen --no-sync pyright src/mcp >"$out/pyright.log" 2>&1; then
99+
# Typing-only drift (e.g. a dependency tightening a signature) never fails the cell; it is context for the reader.
100+
if PYRIGHT_PYTHON_IGNORE_WARNINGS=1 uv run --frozen --no-sync pyright src/mcp >"$out/pyright.log" 2>&1; then
100101
printf '\npyright on `src/mcp` against these versions: clean (informational).\n' >>"$md"
101102
else
102103
{
103104
echo
104-
details_of "$out/pyright.log" "pyright on <code>src/mcp</code> against these versions: $(tail -n1 "$out/pyright.log") (informational, never filed on its own)" 30
105+
details_of "$out/pyright.log" "pyright on <code>src/mcp</code> against these versions: $(grep -Eo '^[0-9]+ errors?' "$out/pyright.log" | tail -n1) (informational, never filed on its own)" 30
105106
} >>"$md"
106107
fi
107108
fi

0 commit comments

Comments
 (0)