Skip to content

Conversation

@asklar
Copy link
Member

@asklar asklar commented Apr 9, 2020

  • Surface msbuild errors (shows as undefined right now)
  • downloading nuget with Invoke-WebRequest will usually take a long time because of the PS progress bar (which sadly gets updated for every byte), so I'm disabling the progress bar (it only takes a second to download when the progress bar is turned off)
  • retry once if nuget failed since if you cancel at just the right time, you could end up with a truncated nuget.exe and are wedged unless you know which file to delete. Learned that the hard way.
  • factor out calling onto powershell functions
  • we were not exposing whether the function failed or not
Microsoft Reviewers: Open in CodeFlow

@asklar asklar requested a review from a team as a code owner April 9, 2020 02:25
@asklar asklar linked an issue Apr 9, 2020 that may be closed by this pull request
Copy link
Contributor

@NickGerleman NickGerleman left a comment

Choose a reason for hiding this comment

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

Requesting changes

@ghost ghost added Needs: Author Feedback The issue/PR needs activity from its author (label drives bot activity) and removed Needs: Author Feedback The issue/PR needs activity from its author (label drives bot activity) labels Apr 9, 2020
@asklar
Copy link
Member Author

asklar commented Apr 9, 2020

Requesting changes

addressed feedback

Copy link
Contributor

@kmelmon kmelmon left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Contributor

@NickGerleman NickGerleman left a comment

Choose a reason for hiding this comment

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

Left a couple comments about using synchronous file APIs in async functions where we should be able to use promise based.

I still don't quite like what we're doing with the stderr spinner. Like, if we always show the task as failed temporarily, but often say it succeeded by the end, seems like it could cause confusion or not be as valuable as we want?

Signing off

@asklar asklar merged commit ff6f8f5 into microsoft:master Apr 10, 2020
asklar added a commit to asklar/react-native-windows that referenced this pull request Apr 10, 2020
-Surface msbuild errors (shows as undefined right now)
-downloading nuget with Invoke-WebRequest will usually take a long time because of the PS progress bar (which sadly gets updated for every byte), so I'm disabling the progress bar (it only takes a second to download when the progress bar is turned off)
retry once if nuget failed since if you cancel at just the right time, you could end up with a truncated nuget.exe and are wedged unless you know which file to delete. Learned that the hard way.
-factor out calling onto powershell functions
-we were not exposing whether the function failed or not
@asklar asklar deleted the fork/localCLI branch April 11, 2020 02:33
ghost pushed a commit that referenced this pull request Apr 22, 2020
* Publish fix

* Creating new Microsoft.ReactNative.sln (#4535)

* Created new Microsoft.ReactNative.sln
* Update PR to build vnext/Microsoft.ReactNative.sln
* Add params to disable ReactUWP nuget pack during PR

* applying package updates ***NO_CI***

* Move playground app to use Microsoft.ReactNative (#4534)

* Move playground app to use Microsoft.ReactNative

* formatting

* Bunch of code review feedback

* Change files

* formatting

* Delete unneeded gitignore

* Minor removal of diff

* Minor changes to try to avoid having to update cert all the time

* Fix bundle command

* No need to build rntester seperately, the release build of playground will do it from msbuild

* Remove test property

* Bump beachball from 1.28.0 to 1.28.1 (#4539)

* applying package updates ***NO_CI***

* applying package updates ***NO_CI***

* Enabling managed unit tests in CI loop (#4532)

* Disable .net native for managed unit tests

* Change files

* Enable managed unit tests in ci loop

* re-merge unit test tasks, can't run arm anyway

* Remove prefer 32bit from 64bit flavors

* Update mstest dependencies

* Managed tests are separate again

* Add comment

* Add test adapter path

* x86 debug again

* Update test adapter folder

* Try again

* remove frameworkuap10

* Switch to appxrecipie

* Try to switch to installed version of vstest

* Remove installer task

* applying package updates ***NO_CI***

* Remove 'Delete Android SDK' from E2ETest (#4554)

* Enable WebSocketModule unit tests (#4538)

* Prototype mockable MessageQueueThread and JSExecutor

* Declare MockJSExecutor::CallFunctionFunctor

* Add missing using std::unique_ptr

* Use WebSocketModule::MethodId

* clang format

* Make WebSocketModule methods override instead of virtual.

* Allow WebSocketModule to use custom resource factory

* Rename *Impl to *Mock

* Move Instance mocks into separate source files

* Move Instance mocks into separate source files

* Change files

* clang format

* Define WebSocketModule::SetResourceFactory

* applying package updates ***NO_CI***

* Improve inner loop and error reporting (local CLI) (#4536)

-Surface msbuild errors (shows as undefined right now)
-downloading nuget with Invoke-WebRequest will usually take a long time because of the PS progress bar (which sadly gets updated for every byte), so I'm disabling the progress bar (it only takes a second to download when the progress bar is turned off)
retry once if nuget failed since if you cancel at just the right time, you could end up with a truncated nuget.exe and are wedged unless you know which file to delete. Learned that the hard way.
-factor out calling onto powershell functions
-we were not exposing whether the function failed or not

* applying package updates ***NO_CI***

* Don't set readyState on connection error (#4562)

* Don't set readyState on connection error

* Change files

* applying package updates ***NO_CI***

* Bump @babel/core from 7.8.4 to 7.9.0 (#4565)

* Simplified C++ macros and improved their comments (#4568)

* Simplified C++ macros and improved their comments

* Change files

* applying package updates ***NO_CI***

* Handle syntax errors in RedBox

* Change files

* format

* clean up

Co-authored-by: Andrew Coates (REDMOND) <acoates@microsoft.com>
Co-authored-by: Jon Thysell <jthysell@microsoft.com>
Co-authored-by: React-Native-Windows Bot <53619745+rnbot@users.noreply.github.com>
Co-authored-by: Andrew Coates <30809111+acoates-ms@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Julio César Rocha <JunielKatarn@users.noreply.github.com>
Co-authored-by: Vladimir Morozov <vmoroz@users.noreply.github.com>
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.

Improve dev inner loop

3 participants