Skip to content

ci: harden release asset publishing - #1920

Merged
ghaith merged 2 commits into
masterfrom
ci/release-assets-hardening
Sep 15, 2026
Merged

ghaith merged 2 commits into
masterfrom
ci/release-assets-hardening

Conversation

@ghaith

@ghaith ghaith commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Problem: a Linux build passes even when cargo-deb is missing, so the deb artifacts lack the plc-compiler package and the release asset staging fails on the missing file. The manual backfill cannot recover a release cut from a release branch because it only searches runs on master.

Solution: fail deb packaging when a packager is missing, and look up backfill runs by head SHA without a branch filter.

🤖 Generated with Claude Code

ghaith and others added 2 commits September 15, 2026 08:15
Problem: --deb only warned when cargo-deb or dpkg-deb was absent, so a
build could pass while producing an incomplete set of .deb files, and
the release asset staging failed later on the missing package.

Solution: require both packagers before packaging and exit non-zero
when one is missing.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Problem: the manual backfill looked up build runs on master only, so a
tag cut from a release branch never resolved its Linux and Windows runs.

Solution: drop the branch filter; push runs exist only on master and
release branches, and the head SHA already selects the release commit.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

0 findings in 2m 36s for $0.05 between e147785 (master) and 57a7643 (ci/release-assets-hardening)

@github-actions

github-actions Bot commented Sep 15, 2026

Copy link
Copy Markdown

Build Artifacts

🐧 Linux

Artifact Link Size
stdlib Download 32.4 MB
plc-x86_64 Download 43.5 MB
schema Download 0.0 MB
deb-x86_64 Download 38.4 MB
deb-aarch64 Download 30.8 MB
plc-aarch64 Download 43.4 MB

From workflow run

🪟 Windows

Artifact Link Size
stdlib.lib Download 4.0 MB
stdlib.dll Download 0.1 MB
plc.exe Download 38.4 MB

From workflow run

ghaith added a commit that referenced this pull request Sep 15, 2026
Backport of #1920.

Problem: a Linux build passes even when cargo-deb is missing, so the deb
artifacts lack the plc-compiler package and the release asset staging
fails on the missing file. The manual backfill cannot recover a release
cut from a release branch because it only searches runs on master.

Solution: fail deb packaging when a packager is missing, and look up
backfill runs by head SHA without a branch filter.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
@ghaith
ghaith added this pull request to the merge queue Sep 15, 2026
Merged via the queue into master with commit e72bfbe Sep 15, 2026
23 checks passed
@ghaith
ghaith deleted the ci/release-assets-hardening branch September 15, 2026 13:48
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.

2 participants