Repository navigation
Add nightly cut - #13410
Add nightly cut#13410
Conversation
Publish once-daily signed macOS builds from main at a dedicated cadence, separate from hourly (too noisy) and release branches (too infrequent). Builds are notarized and installable via the updater, but unvetted — published to stablyai/orca-daily rather than the main repo to avoid evicting stable/RC entries from the releases feed.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdded a daily macOS release channel with minute-based UTC versions, per-version build numbers, dedicated repository publishing, and Electron Builder configuration. Added scheduled and manual workflow automation for building, notarizing, validating, publishing, cleaning up, and retaining daily releases. Updated updater behavior, release-channel parsing, settings descriptions, warnings, localization, repository setup scripts, and test coverage. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
.github/workflows/daily-mac-build.yml (1)
288-299: 🩺 Stability & Availability | 🔵 Trivial | 🏗️ Heavy liftThe publish retry budget can outlive the installation token.
actions/create-github-app-tokenissues a token that expires after one hour. This step allows two attempts of 45 minutes each, so it can run for 90 minutes. Every step after it —Verify update manifest published,Publish the verified release,Discard the draft release on failure, andPrune old daily releases— reusessteps.app_token_publish.outputs.token.If the first attempt exhausts most of the hour, the draft stays unpublished and the cleanup step also fails with a 401. The header comment on Lines 39-42 anticipates a stranded draft, but not a stranded draft that cleanup cannot remove.
Consider minting a third token before
Publish the verified release, or reducingtimeout_minutesso two attempts fit inside the token lifetime.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: f031de0d-00b9-40f0-bfaa-6c75680cec88
📒 Files selected for processing (15)
.github/workflows/daily-mac-build.ymlconfig/electron-builder.config.cjsconfig/scripts/daily-build-version.mjsconfig/scripts/daily-build-version.test.mjsconfig/scripts/electron-builder-config.test.mjsconfig/scripts/electron-builder-mac-channel-config.test.mjsconfig/scripts/setup-adhoc-release-repo.shconfig/scripts/setup-daily-release-repo.shconfig/scripts/setup-hourly-release-token.shsrc/main/updater-release-builds.test.tssrc/main/updater.test.tssrc/renderer/src/components/settings/ReleaseChannelSection.tsxsrc/renderer/src/i18n/locales/en.jsonsrc/shared/release-channel.test.tssrc/shared/release-channel.ts
💤 Files with no reviewable changes (1)
- config/scripts/electron-builder-config.test.mjs
|
@coderabbitai Fixing. Will be in the next commit |
|
Tip For best results, initiate chat on the files or code changes.
You are interacting with an AI system. |
The upload step's 2x45m retry budget can outlive the one-hour token, so a third is minted after it for verify and cleanup operations. Release notes are moved to a file to ensure consistency between draft creation and publish. Daily channel description updated with specific UTC release time.
|
@coderabbitai Fixing. Will be in the next commit |
|
Tip For best results, initiate chat on the files or code changes.
You are interacting with an AI system. |
* Add daily macOS dev build release channel Publish once-daily signed macOS builds from main at a dedicated cadence, separate from hourly (too noisy) and release branches (too infrequent). Builds are notarized and installable via the updater, but unvetted — published to stablyai/orca-daily rather than the main repo to avoid evicting stable/RC entries from the releases feed. * fix lint * fix commit * Add third token mint to daily macOS build workflow The upload step's 2x45m retry budget can outlive the one-hour token, so a third is minted after it for verify and cleanup operations. Release notes are moved to a file to ensure consistency between draft creation and publish. Daily channel description updated with specific UTC release time.
Summary
Describe the user-visible change.
Screenshots
No visual change.Testing
pnpm lintpnpm typecheckpnpm testpnpm buildAI Review Report
Summarize the code review you ran with your AI coding agent. Include the main risks it checked, what it flagged, and what you changed or verified as a result.
Confirm that the review explicitly checked cross-platform compatibility for macOS, Linux, and Windows, including shortcuts, labels, paths, shell behavior, and any Electron-specific platform differences touched by this PR.
Security Audit
Provide a basic security audit summary from your AI coding agent. Call out any input handling, command execution, path handling, auth, secrets, dependency, or IPC risks that were reviewed, plus any follow-up needed.
Notes
Call out any platform-specific behavior, risks, or follow-up work.