Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Fix supershell position bug #218

Merged
merged 1 commit into from
Sep 3, 2019
Merged

Fix supershell position bug #218

merged 1 commit into from
Sep 3, 2019

Conversation

eatkins
Copy link
Contributor

@eatkins eatkins commented Sep 3, 2019

The previous implementation of supershell log line interlacing with
regular line interlacing relied on state in a global object. A somewhat
better approach is for each appender to hold a reference to a state
object. Every time tasks run, new appenders are created, so the state
should always reflect the current progress state.

@eatkins
Copy link
Contributor Author

eatkins commented Sep 3, 2019

I can't run the validator against sbt/sbt#5025 but it definitely compiles and runs.

The previous implementation of supershell log line interlacing with
regular line interlacing relied on state in a global object. A somewhat
better approach is for each appender to hold a reference to a state
object. Every time tasks run, new appenders are created, so the state
should always reflect the current progress state.
@eatkins
Copy link
Contributor Author

eatkins commented Sep 3, 2019

Oh, shoot. I force pushed a small fix to remove an extraneous comment. It might have broken the validation.

@eed3si9n
Copy link
Member

eed3si9n commented Sep 3, 2019

Re-running dbuild.

@eed3si9n eed3si9n changed the base branch from develop to 1.3.x September 3, 2019 20:14
@eatkins
Copy link
Contributor Author

eatkins commented Sep 3, 2019

FWIW, this looks really good in my local testing.

@eed3si9n
Copy link
Member

eed3si9n commented Sep 3, 2019

I'm going to bake it myself locally to check.

@eatkins
Copy link
Contributor Author

eatkins commented Sep 3, 2019

Cool. The more eyes, the better.

@eed3si9n
Copy link
Member

eed3si9n commented Sep 3, 2019

Tested it using Guardian frontend and akka and both look good.

@eed3si9n
Copy link
Member

eed3si9n commented Sep 3, 2019

I guess we should wait till Dbuild returns.

@typesafe-tools

This comment has been minimized.

@eed3si9n
Copy link
Member

eed3si9n commented Sep 3, 2019

The only error is vscodePlugin / Compile / compile, so that's completely unrelated.

@eed3si9n eed3si9n merged commit 2086d3b into sbt:1.3.x Sep 3, 2019
@eatkins eatkins deleted the rework-supershell-interlacing branch September 3, 2019 21:12
@eatkins
Copy link
Contributor Author

eatkins commented Sep 3, 2019

Awesome. I also just finished verifying on my windows and linux vms. Everything looked good (though that's relative on my windows vm which has an extremely sluggish terminal).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants