Skip to content

Add J5 CI and installable macOS packaging - #1

Merged
Jacksondr5 merged 1 commit into
j5/mainfrom
j5/ci-packaging
Aug 15, 2026
Merged

Jacksondr5 merged 1 commit into
j5/mainfrom
j5/ci-packaging

Conversation

@Jacksondr5

@Jacksondr5 Jacksondr5 commented Aug 15, 2026 •

Copy link
Copy Markdown
Owner

Adds fork-owned push/PR quality gates, a weekly/manual full-build workflow, repository-scoped Rust 1.95 for the locked native dependency, explicit ad-hoc macOS signing, and the install/Gatekeeper runbook. Also skips upstream-only Blacksmith jobs in this fork and updates two stale hosted-branding expectations found by the full suite.

Local verification:

  • frozen pnpm install; lockfile unchanged
  • actionlint on J5 workflows
  • formatting, lint (baseline warnings only), all 15 typecheck tasks
  • all 14 unit-test tasks
  • full 5-target build
  • ad-hoc signed arm64 DMG mounted, deep-verified, installed, launched, and quit cleanly

Summary by CodeRabbit

  • New Features

    • Added support for creating ad-hoc signed macOS ARM64 DMG and ZIP packages.
    • Added validation to prevent conflicting macOS signing configurations.
    • Added automated packaging checks, including signature and installation verification.
  • Documentation

    • Added macOS packaging guidance, toolchain requirements, and installation instructions.
    • Documented J5 Code continuous integration and release workflows.
  • Chores

    • Updated hosted branding to display “J5 Code” for nightly and latest builds.
    • Improved automated checks for pull requests, scheduled builds, and repository-specific workflows.

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L 100-499 effective changed lines (test files excluded in mixed PRs). labels Aug 15, 2026
@coderabbitai

coderabbitai Bot commented Aug 15, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 61d27f96-a0b8-4edf-8a05-d895d576ebb6

📥 Commits

Reviewing files that changed from the base of the PR and between 0c0de1a and 43f28c9.

📒 Files selected for processing (11)
  • .github/workflows/ci.yml
  • .github/workflows/j5-ci.yml
  • .github/workflows/j5-weekly.yml
  • .github/workflows/mobile-fingerprint-check.yml
  • .gitignore
  • FORK.md
  • apps/web/src/branding.test.ts
  • docs/j5/macos-packaging.md
  • rust-toolchain.toml
  • scripts/build-desktop-artifact.test.ts
  • scripts/build-desktop-artifact.ts

Walkthrough

Adds J5 CI and weekly macOS packaging workflows, repository guards, Rust pinning, ad-hoc signing support, tests, documentation, branding expectations, and ignored release output.

Changes

J5 delivery pipeline

Layer / File(s) Summary
Ad-hoc desktop signing
scripts/build-desktop-artifact.ts, scripts/build-desktop-artifact.test.ts
The desktop build pipeline supports CLI and environment-based ad-hoc signing, rejects conflicting signing modes, configures macOS ad-hoc signatures, and tests option precedence and build configuration.
J5 validation and artifact workflows
.github/workflows/j5-ci.yml, .github/workflows/j5-weekly.yml, .github/workflows/ci.yml, .github/workflows/mobile-fingerprint-check.yml, .gitignore, rust-toolchain.toml
J5 CI runs formatting, lint, typecheck, and unit tests. The weekly workflow builds and validates arm64 DMG and ZIP artifacts. Existing jobs are restricted to pingdotgg/t3code, and release output is ignored.
J5 packaging documentation and branding
FORK.md, docs/j5/macos-packaging.md, apps/web/src/branding.test.ts
Documentation describes the Rust pin and macOS packaging process. Hosted branding tests expect J5 Code display names.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Merge Risk: ⚪ Minimal · up to 43f28

This PR is merge-ready after normal checks and review; no actionable merge-blocking risk remains.

Sequence Diagram(s)

sequenceDiagram
  participant GitHubActions
  participant BuildDesktopArtifact
  participant ElectronBuilder
  participant DMGValidation
  participant ArtifactUpload
  GitHubActions->>BuildDesktopArtifact: run tests and production build
  BuildDesktopArtifact->>ElectronBuilder: create ad-hoc arm64 DMG
  ElectronBuilder->>DMGValidation: provide DMG and application bundle
  DMGValidation->>ArtifactUpload: pass signature and metadata checks
  ArtifactUpload->>GitHubActions: upload DMG and ZIP artifacts
Loading

Suggested reviewers: juliusmarminge

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the primary changes: J5 CI workflows and installable macOS packaging.
Description check ✅ Passed The description clearly explains the changes and provides extensive verification results, although it omits the template headings and checklist.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch j5/ci-packaging

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 effective changed lines (test files excluded in mixed PRs). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant