Skip to content

Mark scheduled runs with nothing to build as cancelled instead of successful#472

Merged
marionbarker merged 1 commit into
update_dev_to_3.14.4from
weekly-check-cancel-status
Jul 20, 2026
Merged

Mark scheduled runs with nothing to build as cancelled instead of successful#472
marionbarker merged 1 commit into
update_dev_to_3.14.4from
weekly-check-cancel-status

Conversation

@marionbarker

Copy link
Copy Markdown
Contributor

Problem

The scheduled weekly run checks for new commits and only builds when something changed (or when the monthly forced build is due). When there is nothing to build, the build jobs are skipped and the run still completes with a green check — indistinguishable at a glance from a successful build. Users who rely on the green status can believe they have a fresh build even when their last real build attempt failed.

Change

Copied the change from LoopFollow PR 705. See that PR for more information.

Status semantics after this change:

  • green — a new build was made and uploaded to TestFlight
  • cancelled (grey) — the repository was already up to date, nothing was built
  • red — a build was attempted and failed

@marionbarker

Copy link
Copy Markdown
Contributor Author

Test

✅ successful test

Configuration

Used docs-test organization

  • set up new branch weekly-check-cancel-status from LoopKit/LoopWorkspace branch
  • edited the cron time so it would fire soon
  • observed that because there were no updates and it is not the selected week of month, the build was marked as cancelled as desired
Screenshot 2026-07-20 at 10 33 37 AM

@marionbarker
marionbarker merged commit 24c8847 into update_dev_to_3.14.4 Jul 20, 2026
1 check passed
@marionbarker
marionbarker deleted the weekly-check-cancel-status branch July 20, 2026 17:35
marionbarker added a commit that referenced this pull request Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant