Skip to content

Include the desktop shell in the Windows package - #752

Merged
n33miaz merged 1 commit into
developfrom
feature/744-package-shell
Dec 6, 2026
Merged

n33miaz merged 1 commit into
developfrom
feature/744-package-shell

Conversation

@n33miaz

@n33miaz n33miaz commented Dec 6, 2026

Copy link
Copy Markdown
Owner

Closes #744

What changes

  • package.yml (package-windows job): build the web UI first (npm ci --ignore-scripts + npm run build, Node pinned by ui/.node-version, dependencies pinned by ui/package-lock.json), add -p ads-shell to the release build, stage all four components (ads-launcher, ads-daemon, ads-ptyhost, ads-shell) and require ads-shell.exe in the inventory step. The shell executable ships in the ZIP root and is listed in both the package manifest and the update manifest like every other staged file. Timeout raised from 30 to 45 minutes and Swatinem/rust-cache added (saved only on develop, as in ci.yml); all actions remain pinned by commit SHA.
  • package.yml (package job, ubuntu): run inventory against the fixture-built package, so the default component list (which includes the shell) is enforced on every PR that touches the packager.
  • Fixture: tools/package/fixture gains small fake executables for the four Windows components, so the fixture package satisfies the default inventory.
  • Tests: tools/test_build_package.py gains two cases - the fixture package passes the default inventory, and the same package without ads-shell.exe fails it.
  • docs/installer.md: update the CI package slice to note that the artifact includes the desktop shell and that inventory requires all four executables in the root.

How to validate

  • python -m unittest discover -s tools -p 'test_*.py'
  • python tools/package/build_package.py (build, verify, inventory, extract, verify-dir) against tools/package/fixture
  • CI package and package-windows jobs

Risks

  • The package-windows job takes longer (UI build plus Tauri release build); mitigated by the 45-minute timeout and Swatinem/rust-cache.
  • No product runtime code changes; the packager CLI default component list already included ads-shell.

Signed-off-by: Neemias Cormino Manso <130704790+n33miaz@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Dec 6, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

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

@n33miaz
n33miaz merged commit 1995b37 into develop Dec 6, 2026
19 checks passed
@n33miaz
n33miaz deleted the feature/744-package-shell branch December 6, 2026 03:37
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.

Include the desktop shell in the Windows package

1 participant