Skip to content

Maintainer Notes

Pascal Jerney edited this page Nov 24, 2026 · 1 revision

Decisions and standing notes for maintainers that do not fit a single guide. Add a dated section for each decision, with the issue or PR that produced it.

macOS smoke gate trusted-path list (#352)

The macOS updater smoke gate (scripts/wait-for-release-pr-macos-smoke.mjs, run by .github/workflows/release-pr-macos-updater-gate.yml) keeps a list of build inputs that a PR must not change. The list includes some files the repository does not have:

  • src-tauri/tauri.macos.conf.json
  • rust-toolchain, rust-toolchain.toml, and src-tauri/ variants
  • .cargo/config and .cargo/config.toml, and src-tauri/.cargo/ variants

Decision: keep these entries. Do not create placeholder files to satisfy the list, and do not remove the entries.

Why:

  • An entry that is absent from both the base and the head is skipped.
  • A PR that adds one of these files fails the gate with "differs from the PR base". The entries are therefore a guard against a PR that adds a Cargo or toolchain config which would change how the smoke build compiles.
  • Removing the entries would let such a PR pass the gate unnoticed.

Before changing the list: confirm the behavior in tests/release-pr-macos-smoke.test.ts. The absent-entry cases are near the ".cargo/config": [null, null] fixtures, and the added-file case is the "rejects a pull request that adds a Cargo config the build reads" test. Run pnpm exec vitest run tests/release-pr-macos-smoke.test.ts.

Clone this wiki locally