Skip to content

fix(pool): a node that cannot take a lane says what other starts hold there - #353

Merged
7schmiede merged 1 commit into
mainfrom
fix/placement-held-reason
Oct 28, 2026
Merged

7schmiede merged 1 commit into
mainfrom
fix/placement-held-reason

Conversation

@fen89

@fen89 fen89 commented Oct 28, 2026

Copy link
Copy Markdown
Member

A node that cannot take a lane for want of CPU or memory now says what offers for other lanes hold there (OFFER_HOLDS, 60 s), e.g. …; 4.8 CPU and 1802 MiB more are held for a lane starting there. The dashboard's "free" is the node's own report, which does not count those offers, so the refusal looked wrong next to enough free capacity.

Text only: placement_for appends it; Report and the API are unchanged. No review-card point (no trust, concept, contract or term change).

Test: offers_not_admitted_yet_hold_their_room checks with_held.

@fen89
fen89 requested a review from 7schmiede October 28, 2026 13:36
… there

For a minute after it is offered, a lease for another lane holds its room
on its node. The dashboard shows the node's own figures, so a node with
enough free read "cannot take it: offers 3.9 CPU". The reason now names
what is held for a lane starting there.
@7schmiede
7schmiede force-pushed the fix/placement-held-reason branch from e6512aa to 2ff8a23 Compare October 28, 2026 14:11
@7schmiede
7schmiede merged commit 9ea20b9 into main Oct 28, 2026
25 of 26 checks passed
@7schmiede
7schmiede deleted the fix/placement-held-reason branch October 28, 2026 14:23
@7schmiede 7schmiede mentioned this pull request Oct 28, 2026
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