Skip to content

refactor(firecracker): Client hands Transport its call budget - #216

Open
markovejnovic wants to merge 1 commit into
mainfrom
refactor/transport-call-budget
Open

markovejnovic wants to merge 1 commit into
mainfrom
refactor/transport-call-budget

Conversation

@markovejnovic

Copy link
Copy Markdown
Contributor

No description provided.

Transport kept its own 30s deadline beside Client's 35s call cap, so the
test that a drip-feeding daemon is cut off had to wait the full 30s. That
one test held the unit suite's async phase at ~39s.

Client now owns both numbers and passes the budget in the operation opts
next to the socket path; Transport requires it. The drip-feed test runs
against a 1s budget with a byte every 100ms, and still fails when
Transport ignores the budget it is given.

Unit suite (macOS, --no-start): 59.8s -> 23.8s, async phase 38.8s -> 4.4s.
@codecov

codecov Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown

Test Results

    4 files  ±0    364 suites  ±0   4m 51s ⏱️ -33s
1 742 tests ±0  1 742 ✅ ±0    0 💤 ±0  0 ❌ ±0 
2 426 runs  ±0  1 742 ✅ ±0  684 💤 ±0  0 ❌ ±0 

Results for commit 9b206fb. ± Comparison against base commit 3e1136e.

This pull request removes 1 and adds 1 tests. Note that renamed tests count towards both.
Elixir.Hyper.Firecracker.Api.TransportCapPropertiesTest ‑ test a drip-fed reply is cut off before Client.run/2's call timeout
Elixir.Hyper.Firecracker.Api.TransportCapPropertiesTest ‑ test a drip-fed reply is cut off at the call's budget

This branch has not been deployed

No deployments
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