Skip to content

Merge + Fix Bug - #4412

Closed
erikerikson wants to merge 14 commits into
serverless:circular-varsfrom
erikerikson:circular-vars
Closed

erikerikson wants to merge 14 commits into
serverless:circular-varsfrom
erikerikson:circular-vars

Conversation

@erikerikson

Copy link
Copy Markdown
Contributor

What did you implement:

  1. Merges the latest master
  2. Fixes the bug that @amberlion reports

How did you implement it:

See changes in commits erikerikson@2fd0f23, erikerikson@48bc0d2, and erikerikson@5a8269b

!NOTE! this removes the fail package on missing file behavior that was introduced. This breaks our hello-retail projects when the call to fse.realpathSync fails to find the path at https://github.com/erikerikson/serverless/blob/circular-vars/lib/classes/Variables.js#L245.

How can we verify it:

@eahefnawy it would be wonderful to get some tests catching some of these tests. Perhaps we need a truly rigorous definition of the requirements constellation around these features. We have an increasing set of people that are on increasingly old builds because of these issues (to be clear, not just the serverless team).

@pmuens can you help get this moving? This has been stalled for a long time now.

Todos:

  • Write tests
  • Write documentation
  • Fix linting errors
  • Make sure code coverage hasn't dropped
  • Provide verification config / commands / resources
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: NO
Is it a breaking change?: NO

@erikerikson

Copy link
Copy Markdown
Contributor Author

Just to be clear, I'm not asking you to work the weekend or anything... Just would love to get this unstuck

@pmuens

pmuens commented Nov 2, 2017 •

Copy link
Copy Markdown
Contributor

Thanks for PRing the changes @erikerikson 👍

Is there any chance to untangle the PR a little bit since it includes 199 files which were changed? Maybe we can rebase @eahefnawy PR on top of master and then open up your PR against his so that we only get the small fraction of changes without the changes from master.

This would make the review-process a lot easier.

/cc @serverless/framework-maintainers

@HyperBrain

Copy link
Copy Markdown
Contributor

@pmuens Fully agree. First the circular-varsbranch should be rebased onto master (or better master merged in because there is a dependent branch), and then the dependent branch can be rebased.

@erikerikson

Copy link
Copy Markdown
Contributor Author

Yea. That's why I called out the commits that represented the actual changes. I don't believe I have rights to do what you ask but would be happy to close this and separate it into two PRs which I can do.

@erikerikson

Copy link
Copy Markdown
Contributor Author

BTW - congratulations @HyperBrain on being invited to be a maintainer!

@HyperBrain

Copy link
Copy Markdown
Contributor

@erikerikson Thanks 😄

@erikerikson

Copy link
Copy Markdown
Contributor Author

If anyone can find some time to do this rebase, it would be appreciated. Thank you!

@erikerikson

Copy link
Copy Markdown
Contributor Author

i.e. of @eahefnawy 's branch, to be clear. I'm raring to adjust this one :D

@erikerikson

Copy link
Copy Markdown
Contributor Author

FWIW, this bug has been in place since '1.11.0': '2017-04-12T16:05:40.693Z'

@erikerikson

Copy link
Copy Markdown
Contributor Author

sorry. correction: '1.12.0': '2017-04-26T16:01:23.822Z' . It still worked in 1.11.0

@HyperBrain

HyperBrain commented Nov 8, 2017 •

Copy link
Copy Markdown
Contributor

@erikerikson I can have a look and try if I can get the base circular-vars branch rebased or at least how to carefully clean up the mess 😄 . I don't wanna do anything that destructs your PR completely.

@erikerikson

Copy link
Copy Markdown
Contributor Author

ping

@HyperBrain

Copy link
Copy Markdown
Contributor

@erikerikson pong!

Sorry Erik, I was a bit loaded the last days, but I'm sure I can try the rebase tomorrow - promised 😃

@HyperBrain

Copy link
Copy Markdown
Contributor

@erikerikson You don't have to wait anymore - I did a rebase locally onto the current master.

We have to test somehow if your branch / changes can be rebased onto that again.
I'll run the unit tests right now and update package-lock again as it got broken during the rebase.

@HyperBrain

HyperBrain commented Nov 16, 2017 •

Copy link
Copy Markdown
Contributor

The base branch is rebased onto the current master now.
https://github.com/serverless/serverless/tree/circular-vars
8 commits ahead of master

@erikerikson erikerikson mentioned this pull request Nov 18, 2017
7 tasks
@erikerikson

Copy link
Copy Markdown
Contributor Author

Thanks @HyperBrain !
Closing in preference for #4478

@pmuens pmuens added this to the 1.25 milestone Nov 20, 2017
@erikerikson
erikerikson deleted the circular-vars branch December 5, 2017 00:11
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.

4 participants