这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@colombod
Copy link
Member

delegating project build to project asset and use of pipeline to perform steps and handle state invalidation

@colombod colombod changed the title use pipleline approach for projectAsset [WIP] use pipleline approach for projectAsset May 24, 2019
}

[Fact]
public async Task Invalidating_a_step_in_a_sequence_causes_all_successor_to_evaluate()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given these semantics, shouldn't the value producer take a cancellationToken?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since multiple callers can all be waiting on the same unit of work, who would be allowd to cancel?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we discussed, this is probably a perf optimization for invalidate, where all the successors being invalidated also have any inflight work cancelled.

@colombod colombod changed the title [WIP] use pipleline approach for projectAsset WIP use pipleline approach for projectAsset May 28, 2019
}
public interface ICreateWorkspace : IPackage
{
Task<Workspace> CreateRoslynWorkspaceAsync(Budget budget);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What type of workspace will this interface create for run or for language services ?

@colombod colombod changed the title WIP use pipleline approach for projectAsset Use pipleline approach for projectAsset May 29, 2019
@rchande
Copy link

rchande commented May 29, 2019

@colombod Something weird happened to RoslynWorkspaceServerConsoleProjectTests.cs--it's marked as a binary file in the diff

@colombod colombod requested a review from rchande May 29, 2019 22:08
@colombod colombod merged commit acfa623 into dotnet:master May 29, 2019
@colombod colombod deleted the feature/project_asset_workspaces branch May 29, 2019 23:19
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.

4 participants