Skip to content

Declare NodeSpaceProduct = community in the app bundle Info.plist - #3610

Merged
mstomar125 merged 2 commits into
mainfrom
issue-3415-product-key
Oct 5, 2026
Merged

mstomar125 merged 2 commits into
mainfrom
issue-3415-product-key

Conversation

@mstomar125

@mstomar125 mstomar125 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Part of #3415.

Summary

The macOS app bundle now declares NodeSpaceProduct = community in its Info.plist.

  • New packages/desktop-app/src-tauri/Info.product.plist (byte-identical to the file in Install coexistence checks and other-product notices (ADR-084 §4.3, §5) #3606). The name is deliberate: it is not the auto-discovered Info.plist, so the infoPlist entry is the only wiring.
  • tauri.conf.json: bundle.macOS.infoPlist = "Info.product.plist".
  • release.yml pkg smoke test (verify_layout): fails if the installed bundle lacks NodeSpaceProduct = community.

Why split from #3606

#3606's install checks refuse any installed bundle that lacks the key, and ADR-084 section 5 gives no fallback. Shipping the key one release before the checks means updates from that release pass them. The checks in #3606 come in the following release.

Left out of #3606 on purpose: the install.log grep step after the second install, because it depends on #3606's Distribution installation check. The comment on the plutil check is reworded since the installer checks are not in this PR.

Verification

  • Tauri 2.11.4 CLI schema: bundle.macOS.infoPlist is "Path to a Info.plist file to merge with the default Info.plist" (same doc in tauri-utils 2.9.2 config.rs); tauri-build reads it too (codegen/context.rs). The tauri-bundler source is not in the cargo registry, so the bundler plist step was not run alone; the CLI binary embeds tauri_bundler::bundle::macos::app with the Failed to create Info.plist path.
  • plutil -lint OK; plutil -extract NodeSpaceProduct returns community; release.yml parses; bun test scripts/release-workflow* 18 pass; check-pro-boundary.ts clean.
  • Not run: full tauri build. The release pkg smoke test is the end-to-end check on CI.

Documentation

  • ADR-084 section 5 (product key in the bundle Info.plist).

🤖 Generated with Claude Code

@mstomar125

Copy link
Copy Markdown
Contributor Author

Review (pragmatic-code-reviewer, medium depth)

Verdict: approve, no blockers. Plist merge and path resolution are correct (tauri-utils 2.9.2 MacConfig.info_plist: "Path to a Info.plist file to merge with the default Info.plist", relative to tauri.conf.json). The release.yml check is sound: local product is declared separately so || { ...; exit 1; } catches a failing plutil; verify_layout runs after both installs. Single Tauri config, no overlays or Info.plist conflicts; build-pkg.sh needs no change; no scope creep.

Improvement: the merge is not exercised before a release. Bundler source is not in the registry, so it was not run. The release pkg smoke test is the first end-to-end check.
Improvement: mention the deliberate non-auto-discovered filename in the PR description.
Nit: the new release.yml comment forward-references unmerged installer checks; cite ADR-084 section 5 only.
Nit: note where the pro value of NodeSpaceProduct is set (out of scope here).

@mstomar125

Copy link
Copy Markdown
Contributor Author

Address review

  • Nit (comment forward-references unmerged checks): fixed; the release.yml comment now cites ADR-084 section 5 and notes the explicit infoPlist wiring, which also covers the filename-choice improvement.
  • Merge not exercised before release: acknowledged. Bundler source is unavailable locally and a full tauri build was out of scope; the release pkg smoke test check added here is the end-to-end verification.
  • Pro value of NodeSpaceProduct: out of scope, left for the Pro side.

@mstomar125

Copy link
Copy Markdown
Contributor Author

Review (pragmatic-code-reviewer, medium depth)

Summary: Approve, no blockers. Plist merge and path resolution are correct (tauri-utils 2.9.2 MacConfig.info_plist: "Path to a Info.plist file to merge with the default Info.plist", relative to tauri.conf.json); the release.yml check is sound (local declared separately so || {...} catches plutil failure; runs after both installs).

Critical: none.

Improvements

  • The merge is not exercised before release; the bundler source is not in the registry. Confirm with plutil -p on the .app from one real build or the release smoke test.
  • Mention that the Info.product.plist name is deliberate (not the auto-discovered Info.plist).

Checked, no issue: single Tauri config, no overlays or Info.plist conflicts; build-pkg.sh needs no change; check-pro-boundary already allowlists NodeSpaceProduct; no scope creep.

Nits

  • release.yml comment forward-references unmerged installer checks.
  • No Pro counterpart value documented in this repo.

@mstomar125

Copy link
Copy Markdown
Contributor Author

Address review

  • Improvement 1 (merge not exercised): acknowledged, not actionable without a heavy build. The release pkg smoke test now asserts the key in the installed bundle, so the first release build verifies the merge. Schema docs and tauri-build's reading of infoPlist were checked.
  • Improvement 2 (filename): fixed in the PR body.
  • Nit 1 (forward reference): fixed in 4cf2aa1; the comment now cites only ADR-084 section 5.
  • Nit 2 (Pro value): not applicable here, the ban on Pro markers in core (checked by check-pro-boundary, clean) means the pro value lives outside this repo.

@mstomar125

Copy link
Copy Markdown
Contributor Author

Verified on a real CI build: a workflow_dispatch macOS run on this branch, run 37304067851, which builds and notarizes with no publish. The built NodeSpace.app/Contents/Info.plist has NodeSpaceProduct = community (with CFBundleIdentifier = com.nodespace.desktop, version 0.3.4), so Tauri merges Info.product.plist as expected.

🤖 Generated with Claude Code

mstomar125 and others added 2 commits October 5, 2026 14:27
Adds Info.product.plist, merged into the generated Info.plist through
bundle.macOS.infoPlist, and has the release pkg smoke test fail when the
installed bundle lacks the key. Ships the key one release ahead of the
installer checks that require it. Part of #3415.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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