Skip to content

Conversation

tgriesser
Copy link
Member

@tgriesser tgriesser commented Nov 28, 2021

  • Removes @packages/desktop-gui
  • Removes all event handling & associated code that is no-longer used
  • Comments out a few codeblocks in events.ts which we still might want to reference while building out the data-context layer

While working on the new codepaths, particularly around config management, I found a number of situations where we were working around legacy concepts in tests which were only referenced from the current desktop-gui. By going through and auditing the code-usage from this API layer, and removing all associated code, it reduces the surface area of the code significantly and thus means we can make changes without needing to worry about tests/code that doesn't matter. It also makes it more apparent what still needs to be added in the new codepaths.

If we need to reference any of this code, we can find it in develop / in the git history.

@tgriesser tgriesser requested a review from a team as a code owner November 28, 2021 01:41
@tgriesser tgriesser requested review from jennifer-shehane and removed request for a team November 28, 2021 01:41
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 28, 2021

Thanks for taking the time to open a PR!

@tgriesser tgriesser removed the request for review from jennifer-shehane November 28, 2021 01:44
@cypress
Copy link

cypress bot commented Nov 28, 2021



Test summary

12722 0 141 0Flakiness 2


Run details

Project cypress
Status Passed
Commit 57a1ff5
Started Nov 28, 2021 2:21 AM
Ended Nov 28, 2021 2:35 AM
Duration 13:52 💡
OS Linux Debian - 10.10
Browser Multiple

View run in Cypress Dashboard ➡️


Flakiness

commands/net_stubbing_spec.ts Flakiness
1 network stubbing > waiting and aliasing > can timeout waiting on a single request using "alias.request"
cypress/proxy-logging-spec.ts Flakiness
1 ... > works with forceNetworkError

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@tgriesser tgriesser changed the title chore: remove @packages/desktop-gui refactor: remove @packages/desktop-gui Nov 28, 2021
Copy link
Contributor

@lmiller1990 lmiller1990 left a comment

Choose a reason for hiding this comment

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

RIP desktop gui

I agree now is a good time to start aggressively
ereoving old code!

@lmiller1990 lmiller1990 merged commit d0cf250 into 10.0-release Nov 28, 2021
@lmiller1990 lmiller1990 deleted the tgriesser/chore/remove-desktop-gui branch November 28, 2021 22:58
tgriesser added a commit that referenced this pull request Nov 29, 2021
* 10.0-release:
  refactor: remove @packages/desktop-gui (#19127)
  feat: switch browser runner (#19048)
  fix: bump resource class for tests that require node_modules install (#19079)
  fix(unify): reporter styles (#19034)
  fix test
  feat(unify): add number of matches to specs search (#19076)
  feat(launchpad): open in IDE modal and feature (#18975)
  fix: 10.0 appveyor updateyaml (#19074)
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.

2 participants