Skip to content

Prepare MSIX Store packaging - #15

Merged
rodrigoantonioli merged 2 commits into
mainfrom
codex/msix-store-preparation
Aug 8, 2026
Merged

Prepare MSIX Store packaging#15
rodrigoantonioli merged 2 commits into
mainfrom
codex/msix-store-preparation

Conversation

@rodrigoantonioli

@rodrigoantonioli rodrigoantonioli commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • add an isolated x64, unsigned MSIX preflight builder, manifest, generated visual assets, and PR/manual preview workflow
  • preserve the existing EXE/Inno Setup, GitHub Release, and WinGet path while using the declared MSIX startup task when package identity is present
  • make every MSIX build recreate staging and verification directories, with a repeat-build sentinel regression check
  • respect user- and policy-controlled startup-task states without issuing an invalid enable request or showing a false enabled preference
  • document Partner Center identity values, signing expectations, Windows App Certification Kit validation, and the remaining package-context smoke test

Why

Trayffeine is the pilot for a future Microsoft Store submission. This prepares the smallest safe package path without publishing a release, changing WinGet, or bumping version 1.2.0.

Validation

  • ruff check .
  • pytest — 89 passed
  • PowerShell parser validation for packaging/msix/build.ps1
  • clean local MSIX build followed by a second build without -Clean; both completed, and staging/verification sentinel files were removed
  • MakeAppx pack/unpack verification of package identity, full-trust executable, startup task, required assets, and bundled WinRT components
  • GitHub CI, MSIX Preview Build, and legacy Preview Build — all successful on f526c3a
  • final Codex Review on f526c3a — no major issues found
  • git diff --check origin/main

Notes

  • no Microsoft Store submission, GitHub Release publication, WinGet change, Inno Setup change, or merge is included
  • unsigned local registration remains intentionally unperformed because this machine rejected it with 0x80073CFF; Developer Mode and sideload/security policy were not changed
  • run the Windows App Certification Kit later against the real Partner Center identity from an elevated active user session

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f61469d896

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/trayffeine/windows.py
return
_disable_start_with_windows()

state = _await_winrt_operation(task.request_enable_async())

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Check the task state before requesting startup

When the packaged startup task is DISABLED_BY_USER and the persisted preference is still true, startup reaches this line and calls request_enable_async() before reconciling the preference. This unnecessarily attempts to reverse the Task Manager choice and produces a logged startup exception; inspect task.state first and reconcile the saved preference to false without issuing the request.

AGENTS.md reference: AGENTS.md:L185-L188

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: f526c3a1f1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@rodrigoantonioli rodrigoantonioli self-assigned this Aug 8, 2026
@rodrigoantonioli
rodrigoantonioli merged commit 4884ea3 into main Aug 8, 2026
3 checks passed
@rodrigoantonioli
rodrigoantonioli deleted the codex/msix-store-preparation branch August 11, 2026 13:35
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