Skip to content

Add nightly cut - #13410

Merged
AmethystLiang merged 4 commits into
mainfrom
add-nightly-cut
Aug 10, 2026
Merged

AmethystLiang merged 4 commits into
mainfrom
add-nightly-cut

Conversation

@AmethystLiang

Copy link
Copy Markdown
Contributor

Summary

Describe the user-visible change.

Screenshots

  • Add screenshots or a screen recording for any new or changed UI behavior.
  • If there is no visual change, say No visual change.

Testing

  • pnpm lint
  • pnpm typecheck
  • pnpm test
  • pnpm build
  • Added or updated high-quality tests that would catch regressions, or explained why tests were not needed

AI 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.

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.
@coderabbitai

coderabbitai Bot commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: fb18c90c-d902-4594-8ad1-cc5dc1319f81

📥 Commits

Reviewing files that changed from the base of the PR and between 6994a8c and 80b72c4.

📒 Files selected for processing (2)
  • .github/workflows/daily-mac-build.yml
  • src/renderer/src/components/settings/ReleaseChannelSection.tsx

📝 Walkthrough

Walkthrough

Added 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)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description contains only the template placeholders and provides no summary, testing results, review report, security audit, or notes. Replace the placeholders with the actual change summary, screenshot status, completed tests, AI review, security audit, and platform-specific notes.
Docstring Coverage ⚠️ Warning Docstring coverage is 28.57% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title describes the addition of a nightly-style build, which is related to the daily macOS development release channel.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
.github/workflows/daily-mac-build.yml (1)

288-299: 🩺 Stability & Availability | 🔵 Trivial | 🏗️ Heavy lift

The publish retry budget can outlive the installation token.

actions/create-github-app-token issues 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, and Prune old daily releases — reuses steps.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 reducing timeout_minutes so 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

📥 Commits

Reviewing files that changed from the base of the PR and between ac83068 and 6994a8c.

📒 Files selected for processing (15)
  • .github/workflows/daily-mac-build.yml
  • config/electron-builder.config.cjs
  • config/scripts/daily-build-version.mjs
  • config/scripts/daily-build-version.test.mjs
  • config/scripts/electron-builder-config.test.mjs
  • config/scripts/electron-builder-mac-channel-config.test.mjs
  • config/scripts/setup-adhoc-release-repo.sh
  • config/scripts/setup-daily-release-repo.sh
  • config/scripts/setup-hourly-release-token.sh
  • src/main/updater-release-builds.test.ts
  • src/main/updater.test.ts
  • src/renderer/src/components/settings/ReleaseChannelSection.tsx
  • src/renderer/src/i18n/locales/en.json
  • src/shared/release-channel.test.ts
  • src/shared/release-channel.ts
💤 Files with no reviewable changes (1)
  • config/scripts/electron-builder-config.test.mjs

Comment thread .github/workflows/daily-mac-build.yml Resolved
@AmethystLiang

Copy link
Copy Markdown
Contributor Author

@coderabbitai Fixing. Will be in the next commit

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

@AmethystLiang Thanks for the update. I will review the fix after the next commit.

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.
@AmethystLiang
AmethystLiang merged commit 3b1017c into main Aug 10, 2026
48 checks passed
@AmethystLiang

Copy link
Copy Markdown
Contributor Author

@coderabbitai Fixing. Will be in the next commit

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

@AmethystLiang Acknowledged. I will review the fix after the next commit.

You are interacting with an AI system.

enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* 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.
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