Repository navigation
Verify published Windows and Linux packages on native runners - #1376
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 752b420dfb
ℹ️ 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".
| push: | ||
| paths: | ||
| - .github/workflows/verify-release-package.yml | ||
| - scripts/verify-release-package.mjs |
There was a problem hiding this comment.
Exclude tag pushes from the path-filtered trigger
GitHub does not evaluate paths filters for tag pushes, so every tag created by publish-release.sh triggers this workflow. Because tag-triggered runs have no dispatch input, a production tag verifies latest-nightly instead of the production release, while a nightly tag can begin before gh release create finishes uploading its assets and fail with zero/missing assets. Either exclude tags from this push trigger or use a release-published trigger and pass the published release's tag explicitly.
Useful? React with 👍 / 👎.
Source smoke tests launch unpackaged Electron, so they cannot catch missing binaries or dependencies in the published portable archives. This adds a native Windows/Linux check of a published release tag, defaulting to the latest nightly.
The check verifies the uploaded SHA-256 and embedded source/tag metadata, launches the shipped app with isolated user data and memory configuration, stores a synthetic entry, and confirms that entry and its real embedding in the configured database. It reuses Solenta's process-tree cleanup and uploads a redacted boot log plus a result report. No source dependencies are installed into the payload.
Linux uses Xvfb and installs the archive's Chromium SUID sandbox helper as root:root 4755 on the disposable runner. It does not pass
--no-sandbox; a passing result proves native startup with that prerequisite, not installation-free startup on every Linux distribution. The existing source CI and packaging scripts are unchanged.Validation: all eight checks pass at
752b420d: the two native package checks (run and evidence artifacts) and all six existing source test/smoke jobs (run). Both package jobs testednightly-202609281156-65d15d0b, verified its checksum/metadata, and confirmed a 384-dimensional embedding for the synthetic entry in the isolated database. Linux logs include headless D-Bus/GPU initialization warnings; this is a boot/storage/inference check, not visual rendering verification. Syntax and diff checks also pass locally. Refs #1366.