Skip to content

Roll out nightly signing pin, macOS archive layout, and profile reopen fix - #340

Merged
dylanmtaylor merged 1 commit into
mainfrom
nightly/materialcraft-signing-and-reopen
Nov 28, 2026
Merged

dylanmtaylor merged 1 commit into
mainfrom
nightly/materialcraft-signing-and-reopen

Conversation

@dylanmtaylor

@dylanmtaylor dylanmtaylor commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Update .github/nightly-signing-policy.json, .github/workflows/nightly.yml, and .github/workflows/nightly-sign.yml to craft-common-actions revision bf94b15b708089b95c4e2d1c978e66ecf1f2f4f3, and forward the 13 reviewed same-name signing secrets in nightly-sign.yml with corresponding regression tests in packaging/nightly-release-tests.py.
  • Stage macOS nightly notices under Contents/Resources/docs in packaging/macos/nightly.sh to match the Launcher's admitted layout, and add an end-to-end unsigned bundle layout test in packaging/macos/nightly_sign_tests.py.
  • Allow reopening nightly profiles after settings (app.ron) and session state (nightly-session.lock, nightly-session.json) are saved by validating ordinary regular files with private_regular_file while keeping directory-boundary checks for PROFILE_FOLDERS (Recovery, cache) in apps/materialcraft/src/profile_root.rs, plus a regression test in apps/materialcraft/src/profile_root.test.rs.

Validation

  • python3 packaging/nightly-release-tests.py — 29 tests OK
  • python3 packaging/macos/nightly_sign_tests.py — 17 tests OK
  • bash -n packaging/macos/nightly.sh — OK
  • rustfmt --edition 2024 --check --config-path rustfmt.toml apps/materialcraft/src/profile_root.rs apps/materialcraft/src/profile_root.test.rs — OK
  • git diff --check — OK
  • Rust builds/tests deferred to GitHub Actions CI.

Summary by CodeRabbit

  • New Features
    • Nightly releases now use updated build tooling and include signing for Apple, Azure, and Linux.
  • Bug Fixes
    • Nightly profiles can now be reopened with saved settings and session state. Profile folders must be directories, and files within profiles are checked to ensure they remain private and valid.
  • Improvements
    • macOS app notices are now grouped in a dedicated documentation folder within the app bundle.

@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request updates profile entry validation, nightly workflow revisions and signing secret forwarding, and macOS notice placement in unsigned bundles.

Changes: Profile Entry Validation

Layer / File(s) Summary
Profile entry validation and reopening test
apps/materialcraft/src/profile_root.rs, apps/materialcraft/src/profile_root.test.rs
Profile validation checks designated folders as directories and validates ordinary files. The test saves and reopens a profile, then checks that designated folders cannot be files.

Nightly Release Signing and Packaging

Layer / File(s) Summary
Workflow revisions and secret forwarding checks
.github/nightly-signing-policy.json, .github/workflows/nightly-sign.yml, .github/workflows/nightly.yml, packaging/nightly-release-tests.py
The nightly workflow references use the updated tooling revision. The signing caller forwards signing secrets. Tests validate signer and unsigned caller secret bindings.
macOS notice bundle layout and archive test
packaging/macos/nightly.sh, packaging/macos/nightly_sign_tests.py
The macOS producer places notices under Resources/docs. The archive test checks notice contents, bundle paths, file properties, and unsigned verification.

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

Change: Bug fix

Suggested reviewers: skylartaylor, chasse20

Merge Risk: Minimal · up to 33390

This change pins the nightly signing tooling to a new revision and forwards the reviewed signing secrets. It moves macOS notices under Resources/docs and lets profile settings and session files be reopened as ordinary files. No concrete defect was found. The remaining checks are CI Rust builds and tests, and Launcher acceptance of the new notice layout.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names three changes: the nightly signing pin, the macOS archive layout, and the profile reopen fix. Each one matches a real part of the changeset. The raw summary shows the signing pin to co…
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.
Full details: Title check

Explanation

The title names three changes: the nightly signing pin, the macOS archive layout, and the profile reopen fix. Each one matches a real part of the changeset. The raw summary shows the signing pin to commit bf94b15 in the nightly workflows and policy, the macOS notices moved to Contents/Resources/docs, and profile_root.rs changes that let app.ron and session files reopen as regular files. The title is long at 12 words, but it stays specific and on topic.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 5cf7505 and 33390ab.

Files selected for processing: 8

  • .github/nightly-signing-policy.json
  • .github/workflows/nightly-sign.yml
  • .github/workflows/nightly.yml
  • apps/materialcraft/src/profile_root.rs
  • apps/materialcraft/src/profile_root.test.rs
  • packaging/macos/nightly.sh
  • packaging/macos/nightly_sign_tests.py
  • packaging/nightly-release-tests.py

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@sonarqubecloud

Copy link
Copy Markdown

@dylanmtaylor
dylanmtaylor merged commit e78378a into main Nov 28, 2026
25 checks passed
@dylanmtaylor
dylanmtaylor deleted the nightly/materialcraft-signing-and-reopen branch November 28, 2026 16:40
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