Skip to content

test(service): the asset readiness invariant includes files and reconcile - #270

Merged
ebursztein merged 1 commit into
mainfrom
fix/asset-ready-invariant
Sep 28, 2026
Merged

ebursztein merged 1 commit into
mainfrom
fix/asset-ready-invariant

Conversation

@ebursztein

Copy link
Copy Markdown
Collaborator

Release run 36361892126 failed only on
test_assets_reports_ready_when_all_present: ready=False while every boot
asset was present, because the service's startup reconcile was still
fetching the profile's software-inventory.json (downloading=True). That is
the product contract: ready covers the profile's files as well as its
assets, and an in-flight reconcile reports ready=False until it publishes a
fresh snapshot (profile_status_cache::refresh_reconcile_fields). The test
read only assets, so it raced the startup reconcile.

Blocks the 0.6.4 stable release (fix forward; unchanged retries are refused).

🤖 Generated with Claude Code

…cile

Release run 36361892126 failed only on
test_assets_reports_ready_when_all_present: ready=False while every boot
asset was present, because the service's startup reconcile was still
fetching the profile's software-inventory.json (downloading=True). That is
the product contract: ready covers the profile's files as well as its
assets, and an in-flight reconcile reports ready=False until it publishes a
fresh snapshot (profile_status_cache::refresh_reconcile_fields). The test
read only `assets`, so it raced the startup reconcile.
@codecov-commenter

codecov-commenter commented Sep 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.3%. Comparing base (f7da631) to head (c6abf29).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##             main     #270     +/-   ##
=========================================
- Coverage    65.3%    65.3%   -0.1%     
=========================================
  Files        1452     1452             
  Lines      127965   127965             
  Branches    91872    91872             
=========================================
- Hits        83614    83610      -4     
  Misses      39361    39361             
- Partials     4990     4994      +4     
Flag Coverage Δ
integration 17.2% <ø> (ø)
linux-unit 70.5% <ø> (-0.1%) ⬇️
mcp-server 93.8% <ø> (ø)
python-sdk 98.7% <ø> (ø)
typescript-sdk 97.8% <ø> (ø)
unit 63.4% <ø> (+<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.4% <ø> (ø)
Security 81.6% <ø> (ø)
Tooling 88.6% <ø> (ø)
Monitoring 87.5% <ø> (ø)
Virtualization 64.4% <ø> (-0.1%) ⬇️
Confined Port Router 76.3% <ø> (-0.6%) ⬇️
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 15.0% <ø> (ø)
Builder 43.4% <ø> (ø)
Mock Server 59.0% <ø> (ø)
Bench 47.8% <ø> (+<0.1%) ⬆️
see 5 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 7af3b65 into main Sep 28, 2026
13 of 15 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