Skip to content

Exp/slnf back#5332

Merged
Forgind merged 22 commits intodotnet:exp/slnf-backfrom
Forgind:exp/slnf-back
May 4, 2020
Merged

Exp/slnf back#5332
Forgind merged 22 commits intodotnet:exp/slnf-backfrom
Forgind:exp/slnf-back

Conversation

@Forgind
Copy link
Copy Markdown
Contributor

@Forgind Forgind commented May 4, 2020

No description provided.

v-chmart and others added 22 commits April 20, 2020 16:34
I am seeing consistent test hangs on macOS Mono. A node is getting into a bad state and is failing to respond to handshakes. While I do not yet understand the root cause, it is clear that having a timeout on the handshake operation mitigates the issue. The test is now failing but does not hang, saving developer time as well as test pipeline resources.
…aster

This also includes reverting final branding and properly adding
LogTaskInputs.Truncated to Strings.resx.
This adds back support for logging an error when a task returns false
without logging an error. This was originally added in dotnet#4940 but was
reverted because of multiple difficulties.
…et#4931)

* Updating content filtering based on content copying changes

* Add a flag that is enabled by default on Core; otherwise disabled by default.
* Changed where Trace is being called and removed old functionality.
* Update Directory.Build.targets

* prevent arcade from injecting its own xunit file
Emit MSB4181 when a task returns false (fails) without logging any errors. Fixes dotnet#2036

Permit a task to disable this Fixes dotnet#5203
…o-master

[automated] Merge branch 'vs16.6' => 'master'
…cades (dotnet#5317)

The actual ItemGroups inside the target already do a good job of logging exactly what items were added and/or removed and in what order and with what metadata.

Emitting an extra low-pri message which is unstructured here just adds noise, slows the builds down, wastes binlog space and is otherwise redundant.
* Compute hashes in parallel. This scales better for larger number of files.

* Use a dedicated write lock
…5268)

This enables fine-grained control over whether:

 * to log log each parameter (whether input or output)
 * or whether to log item metadata for each ITaskItem[] parameter.

When LogTaskInputs is set the default behavior is still to log all parameters and all item metadata for ITaskItem[] parameters. Since this is very verbose and hurts performance without adding any useful information it is valuable to be able to turn this logging off in certain situations.

This approach allows controlling logging via setting simple properties or environment variables.

I've identified the specific tasks and parameters that we want to restrict logging for that would give us the most gains without losing any significant useful info:

https://github.com/KirillOsenkov/MSBuildStructuredLog/wiki/Task-Parameter-Logging
…430.5 (dotnet#5325)

- Microsoft.DotNet.Arcade.Sdk: 1.0.0-beta.20221.2 -> 1.0.0-beta.20230.5

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
)

* Use environment variable for handshake Resolves dotnet#4961

* Combine means of hashing
Transitive project references are a thing now. Added support to static graph, so that buildxl and qb can avoid adding the transitive refs.
This PR is independent of dotnet#5222. Ideally, review this one first, as QB has a stronger dependency on this PR than on dotnet#5222.

Design

- transitive references are opt-in, per project evaluation
- once a project opts-in, transitivity is applied for all ProjectReference items
- a project opt-ins by setting the property AddTransitiveProjectReferencesInStaticGraph to true. The sdk does this automatically in Microsoft.Managed.After.Targets.
- interaction with crosstargeting: transitive refs are added only to inner builds, not the outer builds. This mimics vanilla msbuild.

Co-authored-by: Rainer Sigwald <raines@microsoft.com>
@Forgind Forgind merged commit fcee1c7 into dotnet:exp/slnf-back May 4, 2020
@Forgind Forgind deleted the exp/slnf-back branch May 4, 2020 23:14
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.

8 participants