Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Arcade #586

Merged
merged 6 commits into from
Jan 29, 2019
Merged

Use Arcade #586

merged 6 commits into from
Jan 29, 2019

Conversation

ryanbrandenburg
Copy link

First pass at updating this repo to use dotnet/Arcade.

Copy link

@natemcmaster natemcmaster left a comment

Choose a reason for hiding this comment

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

A good start. The devil's in the details.

Directory.Build.props Outdated Show resolved Hide resolved
Directory.Build.targets Outdated Show resolved Hide resolved
azure-pipelines.yml Outdated Show resolved Hide resolved
azure-pipelines.yml Outdated Show resolved Hide resolved
azure-pipelines.yml Outdated Show resolved Hide resolved
global.json Outdated Show resolved Hide resolved
eng/tools/Directory.Build.props Show resolved Hide resolved
Directory.Build.props Outdated Show resolved Hide resolved
Directory.Build.props Show resolved Hide resolved
NuGet.config Show resolved Hide resolved
global.json Outdated Show resolved Hide resolved
@ryanbrandenburg ryanbrandenburg force-pushed the rybrande/Arcade branch 2 times, most recently from 7ff6bbd to 4a73b5e Compare December 5, 2018 20:34
global.json Outdated Show resolved Hide resolved
@ryanbrandenburg
Copy link
Author

@natemcmaster I worked around the skip problems here, but I'm not a big fan or the fix since it's pretty hacky. Thoughts or suggestions?

@ryanbrandenburg
Copy link
Author

@bricelam is looking into the binding issues.

@ryanbrandenburg
Copy link
Author

@tmat did the heavy lifting here and said:

Xunit has an option called preEnumerateTheories:
“Gets a flag that determines whether theories are pre-enumerated. If enabled, then the discovery system will return a test case for each row of test data; they are disabled, then the discovery system will return a single > test case for the theory.”
The console runner forces this option to false (setting it to true in xunit.runner.json does not have any effect), while vstest runner sets it to true.
As written, the tests that validate that ConditionalTheoryDiscoverer works implicitly assume this option is true – that is that “each theory produces a test case for each row of test data”.

as well as pasting the snippet you commented on.

I wasn't able to come up with a better solution while keeping the current behavior of skipping the appropriate TheoryData, but then again I don't have much understanding of XUnit discovery mechanics. I can get spun up on it if this is a no-go, but I figured I'd ask what you think before spending that time.

@tmat
Copy link
Member

tmat commented Dec 12, 2018

BTW, you can continue using dotnet vstest to run tests if you find the xunit console test runner insufficient.

If you go this route I'd suggest copying /eng/common/build.ps1 to /eng/build.ps1, updating it to execute tests using dotnet vstest when -test is passed and not pass /t:Test to MSBuild function. The same for build.sh. Roslyn also uses a different runner that optimizes test scheduling when running tests on desktop CLR: https://github.com/dotnet/roslyn/blob/master/eng/build.ps1#L403-L405

@ryanbrandenburg ryanbrandenburg force-pushed the rybrande/Arcade branch 3 times, most recently from 0f9f692 to 2674940 Compare December 14, 2018 19:05
@ryanbrandenburg
Copy link
Author

The success is a lie. There's a problem in Arcade wherein when you have a failing test with warnaserrors=false the test failures just show as warnings. dotnet/arcade#1589

@ryanbrandenburg
Copy link
Author

🆙📅 @natemcmaster we're worked through the two blockers, If I could get your re-review I'll do one last pass of checking the nupkg metadata and we should be good to go.

@ryanbrandenburg
Copy link
Author

Talked to Nate, things that still remain:

  1. Publishing packages.
  2. Producing Source packages.
  3. Verifying that all the packages we used to produce are still produced.
  4. Update arcade version.

@ryanbrandenburg
Copy link
Author

🆙📅 Source packages are now produced and we're publishing artifacts. I'm going to test our Manifest publishing from the official build if @natemcmaster doesn't have an objection.

Copy link

@natemcmaster natemcmaster left a comment

Choose a reason for hiding this comment

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

Almost there! I'm picking over this with a fine-tooth comb now because I think we're close. Lots of nits, some stuff we can do later. My primary concerns about this change are that it will break our package deployments to NuGet, our ability to build patches and final release candidates, and that we have broken some a few other tools, like BaselineGenerator.

Directory.Build.props Outdated Show resolved Hide resolved
Directory.Build.props Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
Directory.Build.props Outdated Show resolved Hide resolved
Directory.Build.targets Outdated Show resolved Hide resolved
NuGet.config Show resolved Hide resolved
Extensions.sln Show resolved Hide resolved
src/Primitives/perf/Properties/AssemblyInfo.cs Outdated Show resolved Hide resolved
version.props Show resolved Hide resolved
version.props Show resolved Hide resolved
@ryanbrandenburg
Copy link
Author

This is blocked by the failures of JSInterop. I'm going to need either @javiercn or @SteveSandersonMS's help to fix these tests before we can merge.

@ryanbrandenburg ryanbrandenburg merged commit f045899 into master Jan 29, 2019
@ryanbrandenburg ryanbrandenburg deleted the rybrande/Arcade branch January 29, 2019 21:26
JunTaoLuo pushed a commit to dotnet/aspnetcore that referenced this pull request Feb 12, 2020
JunTaoLuo pushed a commit to dotnet/aspnetcore that referenced this pull request Feb 15, 2020
maryamariyan pushed a commit to maryamariyan/runtime that referenced this pull request Feb 28, 2020
maryamariyan pushed a commit to maryamariyan/runtime that referenced this pull request Mar 2, 2020
maryamariyan pushed a commit to maryamariyan/runtime that referenced this pull request Mar 11, 2020
maryamariyan pushed a commit to maryamariyan/runtime that referenced this pull request Mar 11, 2020
maryamariyan pushed a commit to maryamariyan/runtime that referenced this pull request Mar 17, 2020
maryamariyan pushed a commit to maryamariyan/runtime that referenced this pull request Mar 27, 2020
maryamariyan pushed a commit to maryamariyan/performance that referenced this pull request Apr 3, 2020
maryamariyan pushed a commit to maryamariyan/performance that referenced this pull request Apr 17, 2020
adamsitnik added a commit to dotnet/performance that referenced this pull request Jun 23, 2020
* Reorganize source code

In preparation for merging many other projects into this repo, this establishes a new source code organization which groups projects together based on subject matter.


Commit migrated from dotnet/extensions@7ce647c

* Merge branch 'release/2.1' into release/2.2


Commit migrated from dotnet/extensions@18fcffb

* Merge branch 'release/2.2'


Commit migrated from dotnet/extensions@34204b6

* Reorganize source code in preparation to move into aspnet/Extensions

Prior to reorganization, this source code was found in https://github.com/aspnet/DependencyInjection/tree/7a283947c231b6585c8ac95e653950b660f3da96


Commit migrated from dotnet/extensions@689c4a8

* Reorganize source code in preparation to move into aspnet/Extensions

Prior to reorganization, this source code was found in https://github.com/aspnet/DependencyInjection/tree/12eef5e86e965b9611221c72c169002e6f3038ee


Commit migrated from dotnet/extensions@04e957b

* Reorganize source code in preparation to move into aspnet/Extensions

Prior to reorganization, this source code was found in https://github.com/aspnet/DependencyInjection/tree/d77b090567a1e6ad9a5bb5fd05f4bdcf281d4185


Commit migrated from dotnet/extensions@9a4c61b

* Reorganize source code in preparation to move into aspnet/Extensions

Prior to reorganization, this source code was found in https://github.com/aspnet/Logging/tree/f7d8e4e0537eaab54dcf28c2b148b82688a3d62d


Commit migrated from dotnet/extensions@f3cd14a

* Reorganize source code in preparation to move into aspnet/Extensions

Prior to reorganization, this source code was found in https://github.com/aspnet/HttpClientFactory/tree/cf7cf83ee869ed50a41852f5e880d073386b7fe7


Commit migrated from dotnet/extensions@c38f9c1

* Use the SharedSourceRoot variable in project files


Commit migrated from dotnet/extensions@888bcba

* Allow caching of IEnumerable services (dotnet/extensions#575)



Commit migrated from dotnet/extensions@c89a5b5

* Reduce event source logger allocations (dotnet/extensions#870)



Commit migrated from dotnet/extensions@091ee13

* Use Arcade (dotnet/extensions#586)

Use arcade


Commit migrated from dotnet/extensions@f045899

* Cleanup conversion to Arcade (dotnet/extensions#1014)

* Remove obsolete targets, properties, and scripts
* Replace IsProductComponent with IsShipping
* Undo bad merge to version.props
* Update documentation, and put workarounds into a common file
* Replace usages of RepositoryRoot with RepoRoot
* Remove API baselines
* Remove unnecessary restore feeds and split workarounds into two files
* Enable PR checks on all branches, and disable autocancel


Commit migrated from dotnet/extensions@f41cfde

* Shrink StringValues (dotnet/extensions#1283)



Commit migrated from dotnet/extensions@2f8e1fb

* Disable transitive project references in test projects (dotnet/extensions#1834)



Commit migrated from dotnet/extensions@e7d5bea

* Fix HTTP client benchmarks


Commit migrated from dotnet/extensions@8f0f7fa

* Add typed client creation benchmark


Commit migrated from dotnet/extensions@20ce03a

* Support netcoreapp3.1 TFM (dotnet/extensions#2336)

* Support netcoreapp3.1 TFM

* Unpin SDK for source build

* Update to preview1 branding


Commit migrated from dotnet/extensions@32cc816

* Normalize all file headers to the expected Apache 2.0 license


Commit migrated from dotnet/extensions@cec6e75

* Switch file headers to the MIT license


Commit migrated from dotnet/extensions@321a30c

* Moves Microsoft.Extensions.* perf tests over

* Using the Open key to fully sign assembly

- Needed to later get InternalsVisibleTo on DI

* Apply suggestions from code review

Make batch commit using suggestions in PR feedback

Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>

* Fix compile + other feedback

* Apply suggestions from code review

Co-authored-by: Nate McMaster <nate.mcmaster@microsoft.com>
Co-authored-by: Pavel Krymets <pavel@krymets.com>
Co-authored-by: Ryan Brandenburg <rybrande@microsoft.com>
Co-authored-by: Nate McMaster <natemcmaster@users.noreply.github.com>
Co-authored-by: Ben Adams <thundercat@illyriad.co.uk>
Co-authored-by: Ryan Nowak <rynowak@microsoft.com>
Co-authored-by: John Luo <johluo@microsoft.com>
Co-authored-by: Sam Harwell <Sam.Harwell@microsoft.com>
Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>
JunTaoLuo pushed a commit to dotnet/aspnetcore that referenced this pull request Nov 17, 2020
@dougbu dougbu removed the blocked label Oct 5, 2021
@ghost ghost locked as resolved and limited conversation to collaborators May 29, 2023
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

7 participants