From 7aa1922de60c9c710945b47d3c4b1278d9effa53 Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Sun, 20 Sep 2026 13:04:48 +0300 Subject: [PATCH] chore(ci): run the dependency check daily instead of weekly --- .github/scripts/report-scheduled-failure.sh | 4 ++-- .github/workflows/scheduled.yml | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/scripts/report-scheduled-failure.sh b/.github/scripts/report-scheduled-failure.sh index 099daad..290e107 100755 --- a/.github/scripts/report-scheduled-failure.sh +++ b/.github/scripts/report-scheduled-failure.sh @@ -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' @@ -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 '.[]'\` then \`python scripts/floor_smoke.py \`, reading both off the failing job's matrix." \ diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index 528763c..dd76157 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -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: