Skip to content

fix: end stale agreements through the cancelling status - #729

Merged
MoonBoi9001 merged 6 commits into
mb9/time-the-cancel-retry-from-the-end-it-sawfrom
mb9/abandon-stale-agreements-through-cancelling
Oct 5, 2026
Merged

MoonBoi9001 merged 6 commits into
mb9/time-the-cancel-retry-from-the-end-it-sawfrom
mb9/abandon-stale-agreements-through-cancelling

Conversation

@MoonBoi9001

Copy link
Copy Markdown
Member

The liveness checker, which ends agreements whose indexer stopped serving them, now marks each one cancelling before anything is sent, like every other cancel, so it gets the read before sending, the retry limit and the stuck alert. A new abandoned column keeps such an agreement ending as abandoned by the indexer rather than cancelled by dipper, and the abandon code nothing else used is removed.

The check for indexers that stopped serving cancelled first and marked afterwards, missing the
read before sending, the retry limit and the alert. It now marks the agreement cancelling, noted
as abandoned so it still ends that way, and the code that only it used is gone.
…/abandon-stale-agreements-through-cancelling
@MoonBoi9001
MoonBoi9001 added this pull request to stack #731 October 5, 2026 10:03
Several comments still said a cancelled agreement always ends cancelled by dipper and that the
liveness check cancels directly. They now say an agreement dipper ends because its indexer
stopped serving it passes through cancelling and ends abandoned by the indexer.
The alert for a cancel that keeps failing didn't say whether dipper was ending the agreement
because its indexer stopped serving it, which an operator needs to decide what to do. It now
carries that.
@MoonBoi9001
MoonBoi9001 marked this pull request as ready for review October 5, 2026 10:45
…/abandon-stale-agreements-through-cancelling
A stale agreement with no stored terms hash was marked cancelling and replaced, but its cancel
can never be sent, so both indexers would be paid. It is left active with an ERROR for an
operator, as before.
@MoonBoi9001
MoonBoi9001 merged commit 9fda601 into mb9/review Oct 5, 2026
11 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.

1 participant