Skip to content

fix(release): an installed package is checked for the binaries it ships - #273

Merged
ebursztein merged 1 commit into
mainfrom
fix/probe-packaged-binaries
Sep 29, 2026
Merged

ebursztein merged 1 commit into
mainfrom
fix/probe-packaged-binaries

Conversation

@ebursztein

Copy link
Copy Markdown
Collaborator

Release run 36371330940 failed its installed glow-up: after installing the
published 0.6.3 package, the probe checked every current host binary name
for version 0.6.3 and stopped at test -x ~/.capsem/bin/capsem-router.
0.6.3 never had it -- the companion was capsem-port-router until the
rename -- so a binary-set change between releases made every upgrade proof
from the previous release fail.

The exact probe now takes each package's binaries from its own payload
(packaged_host_binaries), and the public transition check from what the
installed package owns (dpkg -L). The candidate still ships every current
binary, which build-linux-package.sh already asserts.

Blocks the 0.6.4 stable release (fix forward). Tests: new payload and public-transition behavioural tests fail before, pass after; checked against real 0.6.2/0.6.3 packages; release/packaging suites show only the known environmental release-site failures; citadel 1255, ruff and capsem-gate lint clean.

🤖 Generated with Claude Code

Release run 36371330940 failed its installed glow-up: after installing the
published 0.6.3 package, the probe checked every current host binary name
for version 0.6.3 and stopped at `test -x ~/.capsem/bin/capsem-router`.
0.6.3 never had it -- the companion was capsem-port-router until the
rename -- so a binary-set change between releases made every upgrade proof
from the previous release fail.

The exact probe now takes each package's binaries from its own payload
(packaged_host_binaries), and the public transition check from what the
installed package owns (dpkg -L). The candidate still ships every current
binary, which build-linux-package.sh already asserts.
@codecov-commenter

codecov-commenter commented Sep 28, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.4%. Comparing base (7af3b65) to head (6da316d).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...m/builder/release/tools/release_installed_probe.py 33.3% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             main     #273     +/-   ##
=========================================
+ Coverage    65.3%    65.4%   +0.1%     
=========================================
  Files        1452     1450      -2     
  Lines      127965   127649    -316     
  Branches    91872    91731    -141     
=========================================
- Hits        83611    83567     -44     
+ Misses      39362    39140    -222     
+ Partials     4992     4942     -50     
Flag Coverage Δ
integration 17.3% <ø> (+<0.1%) ⬆️
linux-unit 70.5% <ø> (+<0.1%) ⬆️
mcp-server 93.8% <ø> (ø)
python-sdk 98.7% <ø> (ø)
typescript-sdk 97.8% <ø> (ø)
unit 63.6% <33.3%> (+0.1%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
TypeScript SDK 97.8% <ø> (ø)
Python SDK 98.7% <ø> (ø)
Network 84.5% <ø> (+<0.1%) ⬆️
Security 81.6% <ø> (ø)
Tooling 88.6% <ø> (ø)
Monitoring 87.5% <ø> (ø)
Virtualization 64.4% <ø> (-0.1%) ⬇️
Confined Port Router 76.9% <ø> (ø)
Private Network 79.3% <ø> (ø)
Assets 80.8% <ø> (ø)
Gateway API 96.7% <ø> (ø)
Rust SDK 96.3% <ø> (ø)
Configuration 86.8% <ø> (ø)
Credentials 80.7% <ø> (ø)
Host Foundation 76.3% <ø> (ø)
Core Platform 55.8% <ø> (ø)
Runtime 60.7% <ø> (+<0.1%) ⬆️
Daemon 41.6% <ø> (ø)
Service 71.5% <ø> (ø)
Process 48.5% <ø> (ø)
Admin 63.7% <ø> (ø)
CLI 47.9% <ø> (ø)
MCP Server 93.8% <ø> (ø)
MCP Aggregator 61.8% <ø> (ø)
MCP Builtin 57.4% <ø> (ø)
Gateway 78.9% <ø> (ø)
TUI 68.5% <ø> (ø)
System Tray 53.2% <ø> (ø)
Guard 92.2% <ø> (ø)
UI 86.6% <ø> (ø)
Release Site ∅ <ø> (∅)
Builder 43.4% <33.3%> (-0.1%) ⬇️
Mock Server 59.0% <ø> (ø)
Bench 47.8% <ø> (-0.1%) ⬇️
Files with missing lines Coverage Δ
...ilder/release/tools/check_public_binary_release.py 41.5% <ø> (ø)
...m/builder/release/tools/release_installed_probe.py 48.0% <33.3%> (-2.0%) ⬇️

... and 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ebursztein
ebursztein merged commit eef7afe into main Sep 29, 2026
14 of 16 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.

2 participants