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

Ember-cli upgrade from ~3.8 to ~3.20 #9972

Merged
merged 149 commits into from Dec 3, 2020
Merged

Ember-cli upgrade from ~3.8 to ~3.20 #9972

merged 149 commits into from Dec 3, 2020

Conversation

Monkeychip
Copy link
Contributor

@Monkeychip Monkeychip commented Sep 16, 2020

This PR upgrades Ember from 3.8 to 3.22, effectively bringing us up to Octane. However, we do not octanify much in this PR other than the things required by the upgrade. This will allow us to develop/test before the 1.7 release to make sure no issues come up.

Used ember-cli-upgrade to run the update:

  1. npm install -g ember-cli-update
  2. ember-cli-update --to=~3.20

Note: Because the test suite appears to run faster we ran into a lot of race condition issues in the tests. Where we could solve for them we did, mostly adding in settled(). However, in the cases where we couldn't, we confirmed on the application they were not an issue and that individually the tests would pass. We then skipped the tests with notes/todos about coming back.

Additionally, this upgrade upgraded a lot of other devDependencies per the recommendation of Embermaps upgrade article here.

TODO's from within the code:

  • revisit once figure out how to replace, added during upgrade to 3.20 (ember/no-new-mixins & ember/no-mixins) No fix for now
  • double check for linter removed size, page, responsePath, pageFilter as unused
  • handle withTestWaiter() which no longer works in upgrade, remove package from package.json ARG
  • double check: remove get from import but used in computed
  • double check used brace expansion
  • something here fix
  • removed .volatile() but may have a consequence https://deprecations.emberjs.com/v3.x/#toc_computed-property-volatile CBS
  • handle clearNonGlobalModels() either refresh or find all models COLLAB
  • Check backend/credentials.hbs "if actions" (post to frontend channel)
  • Try bracket syntax on policies/index {{navigate-input}} CBS
  • handle no-private-routing-service CBS
  • secrets-details.hbs @secretType is not defined ARG
  • Review skipped tests BOTH

@Monkeychip Monkeychip added the ui label Sep 16, 2020
@Monkeychip Monkeychip added this to the 1.6 milestone Sep 16, 2020
chelshaw and others added 27 commits September 16, 2020 13:48
@@ -24,19 +25,18 @@ export default Controller.extend({

namespaceQueryParam: '',

/* eslint-disable-next-line ember/no-observers */
onQPChange: observer('namespaceQueryParam', function() {
Copy link
Contributor

Choose a reason for hiding this comment

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

This only needs to be an observer because it's based on a computed property, so we could potentially get away with computing on clusterController.namespaceQueryParam which is what namespaceQueryParam is an alias of

ui/codemods.log Outdated Show resolved Hide resolved
@Monkeychip Monkeychip merged commit 403b94e into master Dec 3, 2020
@Monkeychip Monkeychip deleted the ui/update-to-3.20 branch December 3, 2020 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants