[2.x] feat: Notify sbtn client when command is queued#8568
Merged
eed3si9n merged 4 commits intosbt:developfrom Jan 16, 2026
Merged
[2.x] feat: Notify sbtn client when command is queued#8568eed3si9n merged 4 commits intosbt:developfrom
eed3si9n merged 4 commits intosbt:developfrom
Conversation
eed3si9n
reviewed
Jan 16, 2026
Member
|
@bitloi Please sign the CLA, and let me know, and I'll rerun the checker. |
Contributor
Author
Can you share the link? |
Contributor
Author
|
No worries, jut got the link - https://contribute.akka.io/contribute/cla/scala |
This was referenced Jan 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: Notify sbtn client when command is queued
Fixes #8356
Problem
When
sbtnsends a command while another long-running task (likeconsole) is already executing, the client silently blocks with no indication that the command is waiting in a queue.Solution
When a new command arrives via the network channel and another command is currently running, the server now sends an
ExecStatusEventnotification with status"Queued"to the client. The client displays a message like:Changes
notifyIfQueued()method that checksStandardMain.exchange.currentExecand sends a notification if a command is running"sbt/exec"notifications with"Queued"status to print the waiting message to stderrTesting
QueuedNotificationTestwith test project inserver-test/src/server-test/queued/Checklist
scalafmtCheckpassesmimaReportBinaryIssuespasses (binary compatible)Contribution by Gittensor, see my contribution statistics at https://gittensor.io/miners/details?githubId=89318445