Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/scripts/report-scheduled-failure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ TITLE="Scheduled dependency check failed"
# updates color/description without error if present.
gh label create "$LABEL" \
--color "FBCA04" \
--description "Weekly dependency check failures" \
--description "Scheduled dependency check failures" \
--force

# Find an open issue with our label, if any. --jq '.[0].number // empty'
Expand All @@ -17,7 +17,7 @@ existing=$(gh issue list --label "$LABEL" --state open --json number --jq '.[0].

if [ -z "$existing" ]; then
body=$(printf '%s\n\n%s\n\n%s\n\n%s\n\n%s' \
"The weekly scheduled dependency check failed." \
"The scheduled dependency check failed." \
"First failing run: ${RUN_URL}" \
"Likely cause, if a lint or pytest job failed: a dev or lint dependency (ruff, ty, eof-fixer, pytest, typing-extensions) released a breaking change. Reproduce locally with \`just install\` then \`just lint\` and \`just test\`." \
"Likely cause, if a lowest-direct job failed: a declared floor in \`pyproject.toml\` no longer installs or bootstraps, usually because an upstream package changed metadata under it. Reproduce with \`uv pip install --resolution lowest-direct '.[<extras>]'\` then \`python scripts/floor_smoke.py <target>\`, reading both off the failing job's matrix." \
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: scheduled-dep-check
on:
schedule:
- cron: "0 6 * * 1" # Mondays 06:00 UTC
# Daily: both resolutions here are unpinned, so an upstream release can break main
# between runs. Daily bounds that window at a day and attributes the failure to upstream
# (a tracking issue) instead of to whichever pull request happens to run next.
- cron: "0 6 * * *" # daily 06:00 UTC
workflow_dispatch: {}

concurrency:
Expand Down
Loading