Repository navigation
Add maintainer-approved desktop preview publishing - #9735
Merged
Git-on-my-level merged 2 commits intoJul 14, 2026
Merged
Git-on-my-level merged 2 commits into
Git-on-my-level merged 2 commits into
Conversation
Git-on-my-level
force-pushed
the
codex/desktop-preview-publishing
branch
from
July 14, 2026 19:19
58ee940 to
f58d90f
Compare
Git-on-my-level
force-pushed
the
codex/desktop-preview-publishing
branch
from
July 14, 2026 19:57
f58d90f to
d62fb8b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
preview/<slug>desktop source commitscom.omi.preview.*app that disables local automation and Sparkle, and show the exact SHA, identity, URLs, and notes before protected approvalCloses #9723
Root cause and durable guard
Desktop publishing only had beta/stable release paths, and every non-production bundle enabled local automation and inherited development routing. The new lane resolves an approved full SHA before the protected environment, keeps its configuration on
main, publishes to a separately scoped registry/publisher key/GCS prefix, and reservescom.omi.preview.*as a fail-closed external-preview class. Registry control-plane routing is deliberately separate from the artifact's runtime backend configuration. Delisting uses the current pointer generation as a compare-and-delete guard, so it cannot remove a newer preview by mistake and it retains immutable artifacts.Verification
bash desktop/macos/tests/test-signed-artifact-smoke.shOMI_PR_BODY_FILE=/tmp/omi-preview-pr-body.md make preflight(21 selected checks passed)python3 .github/scripts/check-release-process-guards.pyactionlint -shellcheck='' .github/workflows/desktop_publish_preview.ymlxcrun swiftc -parseon the touched preview Swift sources/testspython3 desktop/macos/scripts/check_desktop_test_quality.pyplutil -lint desktop/macos/Desktop/Info.plistbackend/.venv/bin/python -m pytest -q backend/tests/unit/test_desktop_previews.py backend/tests/unit/test_desktop_updates.py backend/tests/unit/test_render_backend_runtime_env.py backend/tests/unit/test_backend_runtime_env_validator.py(149 passed)The full
backend/test.shwas attempted after syncing the checked-in virtualenv. It reached the suite but failed an unrelated existing fast-duration threshold (test_activate_task_intelligence_dogfood_user.py: 0.14s CPU vs. 0.12s limit). The focused Swift unit test still cannot compile because SwiftPM's Sentry artifact fetch hits GitHub Keychain status-25308.Product invariants affected