ci: trim Desktop Bundles triggers to release-track only#80
Merged
Conversation
Desktop Bundles was burning compute on every push to main/develop even though those branches don't produce release artifacts. Scope triggers to release-track events: Before: push: [main, develop, release/**, hotfix/**, tags] PR: [main, develop] After: push: [release/**, hotfix/**, tags] PR: [main] (release/hotfix PRs — verify job only) Test Suite (test.yml) still validates all pushes via unit tests + install smoke + tauri-check (fast cargo check for Rust safety). Update AGENTS.md CI section accordingly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Scope the Desktop Bundles workflow to release-track events only. Push to
main/developno longer triggers the expensive 4-platform Tauri build.Why
Every push to develop was running 4 desktop bundles (Linux, Windows, macOS Intel, macOS ARM) — ~20+ minutes of compute per push even though those bundles aren't used anywhere. Bundles are only consumed by GitHub Releases (tag push) and sanity-checked during release branch stabilization.
How
Triggers now:
release/**,hotfix/**— validates bundles before taggingv*— produces release artifacts + npm publish + GitHub Releasemain(which per git-flow is only release/hotfix) — runsverifyfor quick checkworkflow_dispatchWhat's still protected on every push to main/develop:
test.yml): TypeScript check, 546 unit tests, install smoke on all 3 OSes, backend integration,tauri-check(fast cargo check for Rust safety), E2E smokeRust compile errors get caught by
tauri-checkwithout the cost of full bundling.