Skip to content

ci: attach the HRX portable packages to releases as a preview - #773

Merged
zaneni6 merged 1 commit into
mainfrom
ci/hrx-release
Oct 9, 2026
Merged

zaneni6 merged 1 commit into
mainfrom
ci/hrx-release

Conversation

@zaneni6

@zaneni6 zaneni6 commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

The HRX portable builds are produced on every CI run but have never been attached to a release. This PR publishes them as a preview, next to the default assets:

Platform Release asset
Linux HRX_fastflowlm_<version>_linux.tar.gz
Windows HRX_fastflowlm_<version>_windows_amd64.zip

The packages use the same layout as the default portable packages, so they install the same way.

Changes

  • debian-portable.yml / windows-build.yml: add a release-hrx job on each platform. Each job runs only on tags and needs only its HRX build. It is a separate job, not an extra needs: entry on the existing release job, so if the preview HRX build fails, the release just goes out without the HRX asset and the default assets are not held back.
  • debian-portable.yml, bug fix: the Linux release job downloaded every artifact in the run and uploaded portable/**/*.gz. The models-from-source build added in Add the Gemma 4 model code #763 runs in that same job, so the next tag would have attached models-from-source_fastflowlm_<version>_linux.tar.gz to the release. The HRX tarball would also have been attached whenever its job happened to finish first. The job now downloads the portable artifact by name and uploads only fastflowlm_*_linux.tar.gz.
  • model-sweep.yml: in release mode (workflow_dispatch), the sweep now checks for the HRX_* assets and sweeps them when they are present. Before, it always skipped HRX in release mode. In run mode, the HRX sweeps work as before.

Test plan

  • All three workflows parse as YAML.
  • Push a tag to a fork (or a throwaway tag) and confirm the release gets exactly: the default Linux tarball, the Windows zip and MSI, the .debs, and the two HRX_* assets. The models-from-source_* tarball must not be attached.
  • Dispatch Model Sweep against that release and confirm sweep-linux-hrx and sweep-windows-hrx run.

🤖 Generated with Claude Code

The HRX portable builds have been produced on every run but never reached a
release. Each platform now gets a release-hrx job that publishes them under
an HRX_ prefix next to the default assets:

  HRX_fastflowlm_<version>_linux.tar.gz
  HRX_fastflowlm_<version>_windows_amd64.zip

They are separate jobs rather than extra needs on the existing release jobs,
so a failed HRX build leaves the release without the HRX asset instead of
holding back the default ones.

The Linux release job downloaded every artifact in the run and uploaded
portable/**/*.gz, which since the models-from-source build was added would
also have attached models-from-source_fastflowlm_<version>_linux.tar.gz, and
the HRX tarball whenever its job finished first. It now downloads the
"portable" artifact by name and uploads only fastflowlm_*_linux.tar.gz.

The model sweep's release mode now looks for the HRX assets too and sweeps
them when present, instead of always skipping HRX on a dispatch.

Co-Authored-By: Claude <noreply@anthropic.com>
@zaneni6
zaneni6 merged commit e5e33d9 into main Oct 9, 2026
10 of 11 checks passed
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