Skip to content

ci(desktop): allow force building canary release#1385

Merged
Kitenite merged 1 commit into
mainfrom
kitenite/allow-release-canary-with-flag
Feb 11, 2026
Merged

ci(desktop): allow force building canary release#1385
Kitenite merged 1 commit into
mainfrom
kitenite/allow-release-canary-with-flag

Conversation

@Kitenite
Copy link
Copy Markdown
Collaborator

@Kitenite Kitenite commented Feb 11, 2026

Summary

  • Add a force_build input flag to the canary release workflow so manual dispatches can bypass change detection
  • Update release:canary script to always pass force_build=true, ensuring manual triggers always build

Changes

  • .github/workflows/release-desktop-canary.yml: Add force_build boolean input to workflow_dispatch, wrap change detection in a conditional that skips it when force is enabled
  • package.json: Update release:canary script to pass -f force_build=true

Test Plan

  • Trigger bun run release:canary and verify workflow starts without requiring new commits
  • Verify scheduled runs still skip when no changes are detected (force_build defaults to false)

Summary by CodeRabbit

Release Notes

  • Chores
    • Enhanced the canary build release process to support manually forcing builds, providing greater flexibility in triggering releases independent of code changes.

Allow manual canary builds to bypass change detection so releases
can be triggered even when no new commits exist since the last canary.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Feb 11, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

The changes add a force_build workflow dispatch input to the release-desktop-canary workflow that bypasses change detection when triggered manually. The package.json release:canary script is updated to automatically pass force_build=true when invoking the workflow.

Changes

Cohort / File(s) Summary
GitHub Actions Canary Workflow
.github/workflows/release-desktop-canary.yml
Adds force_build boolean workflow_dispatch input (default false). Refactors change-detection logic: if force_build is true, skip change detection and build; otherwise, preserve original flow with conditional checks for LAST_CANARY_SHA.
NPM Release Script
package.json
Updates release:canary script to pass -f force_build=true flag to the workflow invocation, triggering automatic canary builds.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Poem

🐰 A force to build, when needed most,
No need to check what changed the post,
With workflow dispatch, we bypass the test,
The canary sings its feathered best! ✨

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch kitenite/allow-release-canary-with-flag

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Kitenite Kitenite merged commit f1d0e70 into main Feb 11, 2026
6 of 7 checks passed
@Kitenite Kitenite deleted the kitenite/allow-release-canary-with-flag branch February 11, 2026 01:29
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 11, 2026

🚀 Preview Deployment

🔗 Preview Links

Service Status Link
Neon Database (Neon) View Branch
Fly.io Electric (Fly.io) View App
Fly.io Streams (Fly.io) View App
Vercel API (Vercel) Failed to deploy
Vercel Web (Vercel) Failed to deploy
Vercel Marketing (Vercel) Failed to deploy
Vercel Admin (Vercel) Failed to deploy
Vercel Docs (Vercel) Failed to deploy

Preview updates automatically with new commits

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