Skip to content

fix(lanes): a deferred forget says whose the lane is busy with - #162

Merged
7schmiede merged 1 commit into
mainfrom
fix/lane-forget-deferred-reason
Oct 21, 2026
Merged

7schmiede merged 1 commit into
mainfrom
fix/lane-forget-deferred-reason

Conversation

@7schmiede

Copy link
Copy Markdown
Member

Follow-up to #160 (seen in its Ubuntu CI log).

Lanes::pending is held by a lane's start, a move, and a forget. A second forget of a lane whose removal was already under way (the watcher's sync and a lane list sync at once) logged lane_forget_deferred with "it is being started", which sent the diagnosis the wrong way.

  • A forgetting set marks the lanes being forgotten; the deferred forget now says "it is being removed already" or "it is being started or moved".
  • Behaviour is unchanged: the same event, the same deferral.

Tests: clippy clean, devstack-daemon unit tests pass.

🤖 Generated with Claude Code

`pending` is held by a start, a move and a forget; a second forget of a
lane being removed logged "it is being started". A `forgetting` set tells
the cases apart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@7schmiede
7schmiede merged commit d8f3d84 into main Oct 21, 2026
@7schmiede
7schmiede deleted the fix/lane-forget-deferred-reason branch October 21, 2026 10:53
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