Menu ▾ ▴

#463 build(windows): publish Chatpane updates to winget automatically

open
nobody
5 days ago
5 days ago
Anonymous
No

Originally created by: kristofferR

[!IMPORTANT]
Do not merge until https://github.com/microsoft/winget-pkgs/pull/475521 is merged.

Meta dropped its Windows Messenger app, but Chatpane isn't in any Windows package channel, so Windows users can only find it through GitHub Releases.

The first winget version (3.1.0) is submitted by hand as https://github.com/microsoft/winget-pkgs/pull/475521. This PR keeps the later versions coming without manual work:

  • .github/workflows/winget.yml follows the Release workflow (whose GITHUB_TOKEN publish can't trigger release: published). For a published, non-prerelease v* release it runs a checksum-pinned komac update --submit with the two Chatpane_<ver>_win_{x64,arm}_setup.exe URLs, which opens the winget-pkgs PR from the token owner's fork. It skips with a notice when WINGET_TOKEN is unset, the package isn't in winget-pkgs yet, or the version is already there. A held draft can be submitted later with workflow_dispatch and the tag.
  • packaging/winget/ holds the 3.1.0 manifest that was submitted, plus notes on how winget, the ARP entry and the in-app updater share one install, the Carrier migration, and SmartScreen.
  • packaging/scoop/ is a Scoop manifest kept as groundwork only. It isn't published: Extras needs more stars, and the in-app updater must first detect a Scoop install so it doesn't install a second copy.
  • AGENTS.md adds a release step: check the winget run for the tag and link the PR it opened.

Checked in a Windows 11 VM: winget validate passes, and winget install --manifest over a running Carrier 3.0.1 leaves a single Chatpane 3.1.0 entry with the login kept. actionlint and zizmor are clean.

Setup after the winget-pkgs PR merges: add a WINGET_TOKEN secret (classic token, public_repo only) for an account that has a winget-pkgs fork.

Summary by CodeRabbit

  • New Features
  • Chatpane 3.1.0 is now available through WinGet and Scoop, with installers for x64 and ARM64 Windows devices.
  • Scoop installs use a portable ZIP and include a Start menu shortcut. WinGet provides per-user installation.
  • Documentation
  • Added guidance for installing and updating Chatpane through WinGet and Scoop, including notes on migration and Windows security prompts.

Discussion

  • Anonymous

    Anonymous - 5 days ago

    Originally posted by: chatgpt-codex-connector[bot]

    Codex Review Summary: ✅ Completed This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-09T16:13:20.657164Z">2026-11-09T16:13:20.657164Z</relative-time> | `11edfa6` | Manual request |
    ℹ️ About Codex in GitHub
    [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
     
  • Anonymous

    Anonymous - 5 days ago

    Originally posted by: chatgpt-codex-connector[bot]

    Codex Review: Didn't find any major issues. Hooray!

    Reviewed commit: 11edfa6f1f

    ℹ️ About Codex in GitHub
    [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). 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".
     
  • Anonymous

    Anonymous - 5 days ago

    Originally posted by: coderabbitai[bot]

    Action performed

    Review finished. > Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
     
  • Anonymous

    Anonymous - 5 days ago

    Originally posted by: coderabbitai[bot]

    <picture>Explain Change →</picture>

    Walkthrough

    Adds Scoop and WinGet package definitions for Chatpane 3.1.0. Adds a WinGet workflow that checks eligible releases and submits package updates. Also documents package setup and release handoff. **Changes: WinGet distribution** |Layer / File(s)|Summary| |:---|:---| |**WinGet package manifests**
    `packaging/winget/manifests/k/kristofferR/Chatpane/3.1.0/*`|Adds version, English locale, and installer manifests for Chatpane 3.1.0, including per-user x64 and ARM64 installer details.| |**Release update submission**
    `.github/workflows/winget.yml`, `AGENTS.md`, `packaging/winget/README.md`|Adds release-triggered and manual workflow runs, eligibility checks, pinned Komac download verification, and update submission. Documents the package and release handoff steps.| **Scoop distribution** |Layer / File(s)|Summary| |:---|:---| |**Scoop manifest and usage**
    `packaging/scoop/chatpane.json`, `packaging/scoop/README.md`|Adds a version 3.1.0 manifest with x64 and ARM64 download details and autoupdate templates. Documents installation and package maintenance.| **Estimated code review effort:** 3 (Moderate) | ~20 minutes **Change:** Other ### Sequence Diagram(s) :::mermaid sequenceDiagram participant Release participant winget.yml participant Komac participant winget-pkgs Release->>winget.yml: Trigger workflow for a tag winget.yml->>Release: Resolve release details and installer assets winget.yml->>Komac: Pass version and installer URLs Komac->>winget-pkgs: Submit package update pull request **Possibly related issues** - [kristofferR/Chatpane#124](https://github.com/kristofferR/Chatpane/issues/124): Requests publishing Chatpane to WinGet; this change adds the WinGet manifests and release submission workflow. **Possibly related PRs** - [[kristofferR/Chatpane#456](https://github.com/kristofferR/Chatpane/issues/456)](https://github.com/kristofferR/Chatpane/pull/456): Implements the Chatpane identity and repository changes used by the package and its documented Carrier migration.
    Merge Risk: <picture></picture> Minimal · up to 11edf

    The workflow can submit complete public releases even if a later release step fails. No actionable issue established here prevents merging.
    Pre-merge checks: <picture>Passed</picture> 4 · <picture>Failed</picture> 1

    <picture>Failed</picture> Failed checks: 1 warning | Check name | Status | Explanation | Resolution | | :--------------- | :----------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Description check | ![Warning](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-warning.svg) | The description covers the problem (Chatpane is not in any Windows package channel) and the change (the winget workflow, the 3.1.0 manifest, Scoop groundwork, and the AGENTS.md release step). It gives… | Add the 'AI models used' section from the repository template. Write the model names and versions used to create or edit code, tests, or PR text. If no AI was used, write 'None'. The optional 'Reasoning levels' section may be added but does… |
    <picture>Passed</picture> Passed checks: 4 passed

    | Check name | Status | Explanation | | :------------------------ | :--------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Title check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The title names the main change: a Windows build workflow that publishes Chatpane updates to winget automatically. The changeset adds `.github/workflows/winget.yml`, which submits komac update PRs aft… | | Docstring Coverage | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… | | Linked Issues check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | | Out of Scope Changes check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. |
    Full details: Title check

    **Explanation** The title names the main change: a Windows build workflow that publishes Chatpane updates to winget automatically. The changeset adds `.github/workflows/winget.yml`, which submits komac update PRs after published, non-prerelease `v*` releases. The title is specific and matches the primary objective, so it passes.
    Full details: Docstring Coverage

    **Explanation** No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (8 skipped: 8 unsupported.)
    Full details: Description check

    **Explanation** The description covers the problem (Chatpane is not in any Windows package channel) and the change (the winget workflow, the 3.1.0 manifest, Scoop groundwork, and the AGENTS.md release step). It gives setup steps (WINGET_TOKEN) and test evidence (winget validate, VM install, actionlint and zizmor). It includes an explicit merge dependency. However, the template's required 'AI models used' field is missing. The template says contributors other than the repository owner must fill it in, and the author cannot be confirmed as the owner. The optional reasoning-levels field is also absent. Because the required AI disclosure is missing, the description is not fully complete. **Resolution** Add the 'AI models used' section from the repository template. Write the model names and versions used to create or edit code, tests, or PR text. If no AI was used, write 'None'. The optional 'Reasoning levels' section may be added but does not block the PR. Also, the '## Summary' heading is not present in the description, so add it above the current text.
    Finishing Touches

    Generate unit tests (beta)

    - [ ] Commit to this branch - [ ] Create a new PR
    • [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

    Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

    Share

    - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)
     

Log in to post a comment.