Introducing a new way to review your PRs.

Read the announcement

aprilnea / openlogi

⚡️A native, local-first alternative to Logitech Options+, written in Rust 🦀 — remap buttons, DPI, and SmartShift over HID++. No account, no telemetry.

View on GitHub

25 documents · Updated Nov 23, 2026

docs / build-release-automation

Build and release automation

OpenLogi uses xtask as the shared control point for local build work and release preparation. It turns compiled binaries into development app bundles, signed macOS distribution artifacts, Linux packages, updater metadata, and CI reports. CI supplies platform hosts and release credentials, while xtask keeps build, package, and release rules consistent across local and automated work.

Automation scope

The command tree separates work by the artifact or lifecycle stage it controls:

DomainMain purpose
ciReproduce supported CI jobs on the current host.
macosBuild app bundles, development bundles, icons, and DMGs.
linuxBuild native Linux binaries and packages.
lintFind allow attributes that no supported host still needs.
releaseCheck publish dependencies, prepare release versions, and produce release and update metadata.

The workspace keeps xtask as a member while retaining the CLI as the default Cargo member. A bare Cargo command therefore stays focused on the main product, while explicit cargo xtask commands reach the release controls. The shared workspace version remains the source used by packaging and release preparation, and the workspace build profile gives the codecs used by Linux package compression optimized development builds. The xtask manifest keeps packaging, update-feed, and release-signing support in the same locked tool. The distribution and CI page describes the wider job matrix and artifact flow.

References: Cargo.toml• L1-49 Cargo.toml• L152-170 Cargo.lock• L10990-11022 xtask/Cargo.toml• L1-62 xtask/…/main.rs• L7-31 xtask/…/release.rs• L1-40

Local CI plans

cargo xtask ci gives engineers a local view of the workflow rather than a second set of checks. It resolves job names and aliases into plans, applies shared CI settings, and reports work that needs another host or toolchain as skipped instead of passed.

The command supports three modes:

  • A bare run executes the CI jobs that the current host can reproduce.
  • A named run selects one job, a test group, or a focused suite.
  • --list shows the job map, while --dry-run prints the commands without running them.

Job facts and job steps have separate owners. The facts state the CI name, aliases, supported hosts, and default-run status. The steps state what runs. The workflow drift checks compare stable command plans and portable crate claims with ci.yml, and they require the aggregate CI result to depend on every workflow job. This keeps the list view, dry run, and merge gate aligned. Windows tests remain native Windows coverage; a Unix host can run a named cross-lint proxy but must report it as such. Portability checks also express claims about specific crates: the WebAssembly job checks crates that do not need an operating system, and the Windows proxy checks a cross-compilable subset. Focused internationalization and wire-format suites remain selectable without being presented as default CI jobs.

References: xtask/…/jobs.rs• L15-63 xtask/…/jobs.rs• L226-309 xtask/…/steps.rs• L14-74 xtask/…/steps.rs• L138-174 xtask/…/steps.rs• L357-438 xtask/…/tests.rs• L53-183 xtask/…/tests.rs• L241-287 xtask/…/list.rs• L1-62

Lint hygiene

The lint commands find stale Rust allow attributes. They compare a clean baseline with runs that temporarily remove one allow at a time, then combine results from all supported host lanes.

Allow-site sweeps

lint sweep-allows scans tracked Rust source and writes a JSON report for the current host. A lint is marked as firing when its diagnostic count increases after its allow is removed. Build errors and other uncertain results stay inconclusive rather than producing a removal suggestion.

The sweep refuses to start when a target file has uncommitted changes. It restores each temporary edit before moving to the next site. This makes the report useful for maintenance without making the sweep a source of code changes.

References: xtask/…/lint.rs• L19-45 xtask/…/allow_sites.rs• L24-74 xtask/…/sweep.rs• L58-130 xtask/…/sweep.rs• L152-177

Cross-host lint reports

lint merge-allows joins one report from each host into a per-site result. This matters because platform-specific code can need an allow on one host while appearing unused on another.

The merge has three outcomes:

  • needed means at least one host raises the lint without the allow.
  • stale means every host ran and none raises it.
  • inconclusive means a host is missing a trusted result.

The command fails when any result is stale or inconclusive. The weekly maintenance workflow can therefore remove an attribute only when all required hosts agree.

The following diagram shows how host-local experiments become a cross-host maintenance decision.

flowchart LR
    A[Source allow sites] --> B[Host sweep]
    B --> C[JSON lane reports]
    C --> D[Merge by site and lint]
    D --> E{All hosts silent?}
    E -->|Yes| F[Stale]
    E -->|No| G{Any host fires?}
    G -->|Yes| H[Needed]
    G -->|No| I[Inconclusive]

References: xtask/…/report.rs• L17-65 xtask/…/report.rs• L79-117 xtask/…/report.rs• L162-192

Development bundles

macOS development builds need more than a raw executable. The development path wraps the desktop binary in an app bundle so local runs have the product identity, icon, URL registration, and helper processes expected by the desktop experience.

Development bundle purpose

The Cargo runner in .cargo/run-macos.sh intercepts only openlogi-desktop. It asks xtask macos dev-bundle to assemble target/dev/OpenLogi.app, then starts the desktop binary from that bundle. Other binaries pass through without the bundle step.

The bundle can include the agent, overlay helper, and CLI. The helpers use the same development identity and build profile as the app. A run stops stale helpers from this checkout and does not silently use an agent from an installed copy. When enabled, it starts the fresh agent before the GUI and waits briefly for its IPC socket.

The development bundle flow is:

flowchart LR
    A[Cargo runs desktop binary] --> B[macOS runner]
    B --> C[xtask dev-bundle]
    C --> D[Stop stale helpers]
    D --> E[Build app and helpers]
    E --> F[Stamp identity and icon]
    F --> G[Sign when possible]
    G --> H[Run OpenLogi.app]

References: .cargo/run-macos.sh• L3-9 .cargo/run-macos.sh• L28-37 xtask/…/dev_bundle.rs• L60-162 xtask/…/processes.rs• L28-118

Bundle identity

macOS ties privacy grants to a bundle identity. OpenLogi also uses the identity family to separate installed configuration from development configuration. The production channel uses shipped app, agent, and overlay identities. The development channel adds a -dev suffix and a visible Dev name.

The identity pass writes and checks each component before signing. This prevents a development identity from reaching a distribution artifact. The same pass checks the shared icon so macOS privacy and login-item lists can identify each component.

Build contextBundle familyMain result
Local macos bundle or dev-bundleDevelopmentIsolated local permissions and configuration.
macos packageProductionIdentity suitable for a shipped app and its existing grants.

References: xtask/…/macos.rs• L13-53 xtask/…/bundle.rs• L56-92 xtask/…/identity.rs• L25-57 xtask/…/identity.rs• L118-215

macOS icon assets

The macOS icon path turns the committed Icon Composer document into the icon forms used by the app and helper bundles. It compiles the source into an .icns file and an asset catalog, then installs previews and alternate icons before bundle checks and signing. A changed source layer causes a new compile.

References: xtask/…/icon.rs• L21-40 xtask/…/macos.rs• L20-31 xtask/…/macos.rs• L53-77 xtask/…/macos.rs• L127-157

Development signing

Local signing aims to keep macOS permissions stable between rebuilds. The development bundle uses an explicitly selected certificate when available, remembers a suitable local identity otherwise, and can fall back to an ad-hoc signature or no signing.

Changing the certificate can invalidate Accessibility and Input Monitoring grants. The signing choice stays outside the build output, and a missing remembered certificate is reported instead of silently replaced.

References: xtask/…/signing.rs• L24-64 xtask/…/signing.rs• L66-117 xtask/…/signing.rs• L151-174

Distribution packaging

Distribution packaging combines release binaries with platform metadata and produces artifacts that CI can publish. macOS packaging creates a branded app and DMG. Linux packaging creates native packages from the product binary set.

macOS distribution path

macos package always builds the production app channel. It creates the app bundle, embeds the desktop helpers and CLI, checks required files, and optionally signs the app. It then creates the branded DMG from that completed app bundle.

The finished app carries the always-on agent and Actions Ring overlay as nested login-item helpers. Packaging builds them with the desktop app and CLI, copies their release identities and shared icon into the nested bundles, writes launch metadata, and checks every promised executable before signing. This keeps the GUI, agent, overlay, and CLI in one distribution artifact.

Native and cross-compiled targets use the same canonical bundle path after staging. This makes later embedding, identity, icon, and signing checks independent of the architecture that produced the app.

When a Sparkle public key and update host are supplied, packaging embeds the pinned Sparkle framework and configures one stable feed per macOS architecture. Without the key, the bundle remains usable and uses the built-in update engine. Sparkle code and nested helpers are signed inside out before the outer app is sealed.

When a Developer ID provisioning profile is supplied, packaging gives the production agent permission to use the virtual HID device needed for key injection. The profile and signed agent are checked as a pair. Without the profile, the agent uses its non-entitled input path.

The app and DMG use one signing-identity setting. CI notarizes the finished DMG and staples it before upload. The raw DMG made before helper embedding is not used for distribution.

References: xtask/…/macos.rs• L38-147 xtask/…/bundle.rs• L72-199 xtask/…/embed.rs• L32-72 xtask/…/embed.rs• L75-247 xtask/…/provisioning.rs• L30-39 xtask/…/provisioning.rs• L41-59 xtask/…/provisioning.rs• L162-223 xtask/…/sparkle.rs• L24-167 xtask/…/tests.rs• L18-171 xtask/…/info_plist.rs• L76-116 xtask/…/release_tag.rs• L155-241 .github/…/build.yml• L204-279

Linux package path

linux package builds the product binaries needed by a Linux installation and passes them to nfpm with the package version and native architecture. One binary set drives both the build and required-file check, so a package cannot silently use a stale helper. The command emits Debian, RPM, and Arch Linux formats.

After nfpm writes each package, the command improves compression for the formats where the shared code in the four binaries benefits from a larger compression window. The Debian data member is rewritten as xz and the Arch payload is rewritten with a long-window zstd frame. RPM keeps the nfpm output. The package structure and package-manager metadata remain the contract that the rewrite must preserve.

The package includes executables, desktop metadata, an icon, device rules, a user service, and license files. CI runs it on native amd64 and arm64 hosts. The workspace build profile also gives the codec dependencies used during packaging optimized development builds so local package runs do not spend unnecessary time compiling them.

References: xtask/…/package.rs• L9-113 xtask/…/payload.rs• L1-120 xtask/…/tests.rs• L1-60 Cargo.toml• L158-165 packaging/…/nfpm.yaml• L11-76 .github/…/build.yml• L736-828

Windows artifact boundary

Windows packaging is not an xtask domain. The reusable build workflow compiles and signs Windows binaries, then creates portable ZIP and MSI artifacts. The release job can publish them when a Windows leg succeeds.

References: .github/…/build.yml• L290-329 .github/…/build.yml• L422-734

Release metadata

Release metadata connects the shared workspace version to human-facing notes and machine-facing update data. The root changelog describes repository changes, while updater manifests and Sparkle appcasts describe downloadable files.

Publish closure

The publish-closure check protects the boundary between workspace crates and crates.io. It verifies that each publishable package has a publishable target for every non-development path dependency and that each path dependency has a registry version.

This catches a release problem before package publication rather than after a registry upload fails.

References: xtask/…/release.rs• L10-29 xtask/…/check_publish.rs• L7-91 Cargo.toml• L1-49

Release tag and build version

Release tags are the common input for packaging and update metadata. A stable tag has the form vX.Y.Z. A beta tag has the form vX.Y.Z-beta.N and refers to the stable release before it. The tag rules reject other pre-release shapes and check that the tagged commit carries the expected workspace version.

release version verifies the checked-out tag and emits the channel, release version, build version, any version that must be stamped before the build, and the previous tag. It also writes these values as GitHub Actions step outputs. release checkout-version-bump finds the commit that introduced the workspace version, checks it out on the release branch, and reports when the version is already tagged.

The build version is the numeric value installers compare. Stable releases use X.Y.Z. A beta uses the stable base plus its commit count. Packaging stamps this value into the app and helper bundles so Sparkle and the Windows installer order updates consistently. The same value ranks release records when update channels are composed.

References: xtask/…/version.rs• L14-95 xtask/…/checkout_version_bump.rs• L18-93 xtask/…/release_tag.rs• L20-28 xtask/…/release_tag.rs• L30-137 xtask/…/release_tag.rs• L155-241 xtask/…/github_output.rs• L8-30 xtask/…/info_plist.rs• L76-116

Beta release preparation

release next-beta names the next beta tag from the committed HEAD, the open release version, and the number of commits since the stable release before it. It requires a complete Git history and rejects a second beta on the same commit, an existing tag, or a beta that would move backward.

Beta tags keep the stable release's workspace version on the tagged commit. release stamp-version temporarily changes the workspace manifests and lock entries to the beta version before compilation, then checks that the changed tree still resolves as a locked build. This lets the shipped binaries report the beta version without changing the release branch.

The beta preparation flow is:

flowchart LR
    A[Release PR version] --> B[Count commits from stable tag]
    B --> C[Name beta tag]
    C --> D[Validate tagged commit]
    D --> E[Stamp beta build tree]
    E --> F[Build beta artifacts]

References: xtask/…/next_beta.rs• L26-83 xtask/…/next_beta.rs• L91-217 xtask/…/stamp_version.rs• L30-36 xtask/…/stamp_version.rs• L71-95 xtask/…/stamp_version.rs• L109-205 xtask/…/release_tag.rs• L132-151

Version and changelog

The root [workspace.package] version is the release source of truth. release-plz keeps publishable crates in one version group and opens a release pull request. After that branch is checked out, xtask release changelog reads the branch version and prepends a whole-repository section generated by git-cliff.

The changelog command uses the newest valid vX.Y.Z tag as its lower bound. It removes an existing section for the same version before writing it again, so updates to an open release pull request remain safe to repeat. A separate CI tool creates GitHub Release notes from the tag comparison, pull requests, and the generated changelog section.

References: Cargo.toml• L31-43 xtask/…/changelog.rs• L11-69 xtask/…/changelog.rs• L72-103 xtask/…/tests.rs• L1-71 .config/cliff.toml• L6-51 .github/…/generate.ts• L40-91

Sparkle appcasts

Sparkle appcasts are architecture-specific XML feeds for macOS DMG updates. The publish step reads the notarized DMG for each supported architecture, signs the complete file with the Sparkle EdDSA private key, and writes a single-release feed record that points to that signed DMG and any valid deltas. A later channel step combines these records into the feeds that installed apps read.

The embedded public key and publish-time private key must form one pair. The command checks that relationship before writing any feed. It requires exactly one final-release DMG per supported architecture, rejects pre-release versions on the stable channel, and checks each delta's source and target version before signing it. Optional Markdown release notes become part of the update item.

The bundle and appcast use the same stable channel and base URL rules. Stable and beta records use the same architecture feeds; Sparkle marks beta items with its beta channel so stable users do not receive them. Signatures are created after notarization because stapling changes the DMG bytes. If a delta is unavailable, the full DMG remains the update path.

The feed flow is:

flowchart LR
    A[Stapled macOS DMGs] --> B[Select one DMG per architecture]
    B --> C[Check version and key pair]
    C --> D[Sign DMG and valid deltas]
    D --> E[Write release feed records]
    E --> F[Compose channel feeds]
    F --> G[Upload feeds]

References: xtask/…/appcast.rs• L1-11 xtask/…/appcast.rs• L33-62 xtask/…/appcast.rs• L79-147 xtask/…/appcast.rs• L181-261 xtask/…/tests.rs• L149-244 xtask/…/update_feed.rs• L9-41

Sparkle deltas

Sparkle deltas reduce the download size for users on a recent Sparkle-enabled release. The macOS build leg selects up to the three newest earlier stable releases that embed Sparkle, makes a delta for each available base, verifies it against the old and new apps, and writes metadata beside the new DMG. Beta releases do not create deltas and use the full DMG.

A delta is optional. If a base DMG cannot be found or a delta cannot be made, the command reports a warning and the appcast offers the complete DMG. Releases older than the first Sparkle-enabled release are not delta bases because those apps update through latest.json.

The delta flow is:

flowchart LR
    A[Stapled DMG] --> B[List earlier final releases]
    B --> C[Select Sparkle bases]
    C --> D[Download and inspect old apps]
    D --> E[Create and verify deltas]
    E --> F[Write delta metadata]
    F --> G[Appcast publishes available deltas]

References: xtask/…/sparkle_deltas.rs• L1-16 xtask/…/sparkle_deltas.rs• L32-67 xtask/…/sparkle_deltas.rs• L69-145 xtask/…/sparkle_deltas.rs• L160-193 xtask/…/tests.rs• L9-60 xtask/…/appcast.rs• L119-136

Updater manifest

release latest-json writes a per-release manifest for the built-in update engine. The manifest is stored in that release's feed record, then release channels serves the selected record from a stable or beta channel. The command scans release artifacts for supported macOS DMGs and, when enabled by the release workflow, Windows MSI and ZIP assets. Each entry records its URL, detached signature URL, operating system, architecture, format, size, digest, and minimum OS version.

The command requires a matching .minisig file for every updater asset and requires at least one macOS DMG. Linux packages are omitted because Linux users update through their distribution package manager. Windows assets are included only when the release workflow also uploads them. The shared update-feed rules keep the channel, base URL, architecture names, and macOS minimum version aligned with the bundle and appcast.

References: xtask/…/latest_json.rs• L22-45 xtask/…/latest_json.rs• L47-63 xtask/…/latest_json.rs• L91-121 xtask/…/latest_json.rs• L142-221 xtask/…/tests.rs• L39-109 xtask/…/update_feed.rs• L9-41 .github/…/release.yml• L242-312

Update channels

release channels turns immutable per-release records into the current channel files on the update host. It selects the newest stable record and the newest beta whose build version is newer than that stable record, then writes stable and beta manifests plus the architecture-specific Sparkle feeds.

The command copies signed Sparkle items without changing their bytes. It skips a record whose upload stopped before its manifest, rejects a record with mismatched architecture data, and replaces the output directory as one complete set. A beta can appear before the stable item in the shared Sparkle feed while remaining limited to apps that allow the beta channel. The beta manifest is labeled for the beta channel even when it serves the stable record as a fallback.

The channel composition flow is:

flowchart LR
    A[Release feed records] --> B[Validate manifests and appcast items]
    B --> C[Rank stable and beta builds]
    C --> D[Compose channel manifests and feeds]
    D --> E[Replace channel output as one set]

References: xtask/…/channels.rs• L1-42 xtask/…/channels.rs• L61-163 xtask/…/channels.rs• L165-235 xtask/…/channels.rs• L339-419 xtask/…/channels.rs• L465-507 xtask/…/tests.rs• L162-243 xtask/…/update_feed.rs• L17-37

Release publication

The release lifecycle begins with a version-bump pull request and ends with one tag-driven publication path. The tag starts platform builds, release-note generation, artifact signing, updater publication, and GitHub Release publication.

The main sequence is:

  1. release-plz opens or updates the release pull request on pushes to master.
  2. The release workflow checks out the version-bump commit and writes the whole-repository changelog.
  3. The merged release commit receives a v{version} tag.
  4. The tag starts the release build workflow.
  5. The version step validates the tag and exposes release values to later jobs.
  6. Platform jobs upload artifacts. macOS DMGs are required; Windows and Linux outputs are best effort.
  7. The macOS leg staples each DMG and may create Sparkle deltas.
  8. The publish job creates checksums and signatures, writes release feed records and channel files, uploads update objects, and creates the GitHub Release.
  9. A successful publication dispatches an update to the Homebrew tap.

The following diagram shows how a version change reaches update channels.

flowchart LR
    A[Master changes] --> B[Release PR]
    B --> C[Version bump merge]
    C --> D[v version tag]
    D --> E[Platform builds]
    E --> F[Stapled DMGs and optional deltas]
    F --> G[Checksums and signatures]
    G --> H[Release feed records]
    H --> I[Channel manifests and appcasts]
    G --> J[GitHub Release]
    J --> K[Homebrew tap update]

The publish gate waits for optional platform results so it can attach artifacts that arrived, but blocks publication when the required macOS build or release notes fail.

References: .github/…/release-plz.yml• L14-18 .github/…/release-plz.yml• L178-281 release-plz.toml• L3-38 .github/…/release.yml• L22-37 .github/…/release.yml• L102-119 .github/…/release.yml• L314-360 xtask/…/version.rs• L22-95

Change checklist

When these files or sections are changed, remember to consider these:

  • When changing a CI job name, host, default-run choice, focused suite, or workflow command, update its job facts, steps, drift checks, and workflow contract together.
  • When adding or removing a workflow job, update the local job resolver and the aggregate CI results dependency list so the job is both reproducible and merge-blocking.
  • When changing the portable crate list or Windows cross-lint set, update the local plan, the matching CI commands, and the crate-list drift checks.
  • When changing a macOS identity, helper, or component name, update identity checks, nested bundle paths, launch metadata, required-binary checks, and release identity validation together.
  • When changing the agent entitlement or provisioning profile contract, update profile checks, embedded entitlements, post-sign checks, signing inputs, and release secret validation together.
  • When changing the icon source, update compiled outputs, bundle installation, verification, and runtime icon names together.
  • When changing a packaged binary or artifact name, update package inputs, descriptors, artifact classification, minisign coverage, upload filters, and GitHub Release selection together.
  • When changing the Linux package member layout or compression settings in nfpm, update the payload rewrite assumptions, package metadata checks, and the package configuration together.
  • When changing the Linux package build profile or codec dependencies, check both local package time and the release runner behavior.
  • When changing a release tag shape, beta numbering rule, or build-version format, update tag validation, beta planning, version outputs, workspace stamping, bundle CFBundleVersion, Sparkle ordering, and Windows installer handling together.
  • When changing GitHub Actions output names, update producers and every workflow consumer together.
  • When changing the Sparkle framework, feed URL, public key, appcast names, delta metadata, or first-Sparkle boundary, update bundle configuration, signing, appcast generation, delta creation, channel composition, and upload paths together.
  • When changing the macOS minimum version, update the bundle plist, icon compiler target, updater manifest, and appcast metadata together.
  • When changing the workspace version or release grouping, keep publish-closure checks, release-plz, changelog lookup, beta planning, workspace stamping, tag rules, and the tag-triggered workflow aligned.
  • When changing the stable updater channel or base URL, update compiled updater configuration, release record paths, channel files, manifests, appcasts, and object-storage paths together.
  • When changing release record or channel layout, update support::update_feed, record readers, channel composition, upload staging, and layout drift checks together.
  • When changing the required platform for publication, review reusable-workflow outputs and the publish gate rather than only the build matrix.

Important failure modes

TriggerConsequenceGuard
A development-identity app enters a signed DMG pathExisting macOS grants and shipped configuration no longer match the app.Production identity checks run before signed DMG creation and in the release workflow.
A nested helper is signed after the outer appThe outer signature can become invalid.Bundle signing uses inside-out order and verifies each component.
Sparkle uses a public key without an update hostThe app cannot point to a valid architecture feed.Packaging requires both values.
A release tag has an invalid beta base or numberThe build can sort incorrectly or describe the wrong commit.release version checks the tagged commit, stable base, and commit count.
A beta is planned from a shallow repositoryIts number can omit commits and produce the wrong tag.release next-beta refuses shallow history and requires all release tags.
A beta build keeps the stable workspace versionThe built-in updater and package metadata can report the wrong release.release stamp-version updates workspace versions and checks the locked dependency graph before the build.
An appcast uses a private key that does not match the embedded public keyInstalled apps reject the feed and DMG.Appcast generation checks the derived public key before writing feeds.
A Sparkle signature is made before DMG staplingThe signature does not match the downloaded DMG.Appcasts use stapled DMGs.
A delta names the wrong source or target versionSparkle can offer a patch that does not apply.Appcast generation checks delta metadata and names.
A recent base cannot produce a deltaA user loses a smaller update path.Delta creation warns and keeps the full DMG fallback.
A stable appcast lacks an architecture or contains a pre-releaseSparkle can offer the wrong update.The generator accepts final versions and requires one DMG per architecture.
A release record is missing its manifestA partial upload can block channel selection or expose incomplete data.Channel composition skips records whose manifest was not uploaded yet.
A release record has mismatched manifest or appcast versionsA channel can offer an asset that does not match its metadata.Channel composition validates tag, channel, build, and one item per architecture.
Channel output contains stale filesAn old feed or manifest can be uploaded with the new channel set.Channel composition requires an empty destination and replaces it as one set.
An updater artifact has no minisign fileThe updater cannot verify the asset.latest-json stops when a signature is missing.
No macOS DMG reaches publicationThe stable channel has no guaranteed installer.The manifest and publish workflow require the macOS DMG set.
A Linux package runs on the wrong architectureIts label can disagree with its binary.CI checks runner architecture and package target mapping.
nfpm changes the Debian member layout or Arch payload formatThe package rewrite can fail or produce an invalid package.The payload step checks the expected Debian members and the Arch package version after rewriting.
Linux payload compression uses a window that package readers do not acceptUsers or package tools cannot unpack the Arch package.The Arch rewrite uses the default decoder window limit and keeps Debian and RPM formats valid.
An Arch pre-release has the normal semver spelling in package metadataPacman can treat it like the final release.Linux packaging maps the pre-release version and checks .PKGINFO.
A publishable crate has an unpublished path dependencyCrates.io publication can fail after release preparation.release check-publish rejects the graph first.
A local CI job needs another host or toolchainA local pass can falsely imply full workflow coverage.Plans report an explicit skip.
A workflow job has no local name or the aggregate omits itThe job can drift from local plans or fail without blocking a merge.CI drift tests resolve every workflow job and require every job in CI results.
A lint is silent on one host but fires on anotherA platform-specific allow can be removed incorrectly.The merge keeps the allow when any host reports fires.
A stale external agent runs during a development buildThe GUI can connect to an installed agent.The development bundle reports the process unless explicitly overridden.
The development signing certificate changesSaved macOS permissions no longer apply.The selected identity is remembered and certificate changes are reported.

Key files

FileWhy to read it
Cargo.tomlDefines workspace boundaries, the default build target, shared version, publishable dependencies, and build profiles used by packaging.
Cargo.lockPins the xtask release tool and its dependency set for repeatable automation runs.
xtask/Cargo.tomlDefines the release, feed, packaging, and command support used by xtask.
xtask/…/main.rsShows the top-level command boundary and dispatch model.
xtask/README.mdGives the supported command map and intended local behavior.
xtask/…/jobs.rsDefines the CI job facts, aliases, host limits, default-run boundary, and local plan entry point.
xtask/…/steps.rsDefines stable checks, portability checks, and cross-platform lint proxies.
xtask/…/tests.rsGuards alignment between local job plans, workflow commands, workflow job names, and the aggregate merge check.
xtask/…/list.rsRenders the job map from the same facts used by the runner.
xtask/…/bundle.rsShows the high-level assembly order for a shipped macOS app.
xtask/…/embed.rsShows how helpers, CLI, icon, and launch metadata become one app bundle.
xtask/…/provisioning.rsShows how the production agent's HID entitlement is tied to a valid profile and signing certificate.
xtask/…/sparkle.rsShows how Sparkle feed settings enter a distribution bundle.
xtask/…/info_plist.rsDefines bundle versions, privacy, URL, and minimum-system plist contracts.
xtask/…/release_tag.rsDefines stable and beta tag rules and installer build versions.
xtask/…/github_output.rsDefines the bridge from release commands to GitHub Actions outputs.
xtask/…/update_feed.rsDefines release records, stable and beta channel paths, architecture names, and feed URLs.
xtask/…/package.rsShows Linux binary, architecture, package, and payload orchestration.
xtask/…/payload.rsExplains the post-nfpm compression pass and the package structure it protects.
packaging/…/nfpm.yamlDescribes files and services that Linux users receive.
xtask/…/version.rsShows how a checked-out tag becomes release outputs.
xtask/…/checkout_version_bump.rsShows how the release job selects the version-bump commit.
xtask/…/next_beta.rsShows how the prerelease workflow names a beta from repository history.
xtask/…/stamp_version.rsShows how a beta build receives its own version without a commit.
xtask/…/changelog.rsShows how tags and the workspace version produce the root changelog section.
xtask/…/latest_json.rsDefines the per-release updater manifest and artifact checks.
xtask/…/appcast.rsDefines architecture-specific Sparkle feed records and signatures.
xtask/…/channels.rsSelects release records and composes the current update channels.
xtask/…/sparkle_deltas.rsCreates verified deltas from recent stable Sparkle releases.
.github/…/release-plz.ymlShows version bump, changelog, and tag coordination.
.github/…/build.ymlShows how platform builds produce installer artifacts.
.github/…/release.ymlShows tag-driven publication order and update uploads.
release-plz.tomlDefines the shared version group and release ownership split.
.config/cliff.tomlDefines the whole-repository changelog format and commit groups.