Skip to content

Remove push-to-main trigger from Full CI#4

Merged
tashda merged 3 commits into
mainfrom
chore/simplify-full-ci-triggers
Apr 24, 2026
Merged

Remove push-to-main trigger from Full CI#4
tashda merged 3 commits into
mainfrom
chore/simplify-full-ci-triggers

Conversation

@tashda

@tashda tashda commented Apr 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Full CI no longer runs on every push to main — only nightly, manual dispatch, or PR label.
  • Fast CI still runs on every PR and push to main (unchanged).

Why

Every merge was triggering a 20–25 min Full run. For solo-maintained development, the signal isn't worth the noise of a possibly-red check sitting on main. Nightly coverage + on-demand trigger before releases is enough.

Scope

.github/workflows/ci-full.yml only.

Release notes

n/a — infra.

tashda added 2 commits April 24, 2026 13:58
Full CI (UI tests, integration tests, docker bridge) now runs on:
  - Nightly cron at 03:00 UTC
  - Manual workflow_dispatch
  - PRs labeled run-ui-tests

Every merge used to kick off a 20-25 min Full run that could leave main
with a red check for transient UI flakes. The signal isn't worth the
noise for solo-maintained development — nightly catches the same
regressions by the next morning, and workflow_dispatch gives on-demand
coverage before tagging a release.
Each cold run re-cloned sentry-cocoa from GitHub, adding ~3:45 to
'Resolve Swift packages'. Add actions/cache keyed on Package.resolved
so subsequent runs restore DerivedData/SourcePackages and the SwiftPM
global cache. On cache hit, the step should drop to seconds.

Cache invalidates automatically when Package.resolved changes (deps
added, updated, or pinned differently).
@tashda tashda force-pushed the chore/simplify-full-ci-triggers branch from 84e7bfc to 74951b4 Compare April 24, 2026 11:58
Caching DerivedData/SourcePackages wholesale included the artifacts
directory, which stores prebuilt xcframeworks (Sentry.xcframework et al).
xcodebuild re-validates those artifacts against the current environment
on every run, taking ~2 min and negating the cache win.

Caching only checkouts + SwiftPM global cache avoids the validation
stall and keeps the win (no git clone of sentry-cocoa).
@tashda tashda merged commit c748927 into main Apr 24, 2026
1 check passed
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