Skip to content

Fix Cycles Crash (#4556) - #4572

Merged
HyperBrain merged 1 commit into
serverless:masterfrom
erikerikson:fix-crash-cycles-4556
Dec 25, 2017
Merged

HyperBrain merged 1 commit into
serverless:masterfrom
erikerikson:fix-crash-cycles-4556

Conversation

@erikerikson

Copy link
Copy Markdown
Contributor

What did you implement:

Fix #4556

How did you implement it:

Replace the existing service and clear the cache (which references the amended service).
Remove cycles in that service using json-cycle.
Dump the de-cycled object as YAML to console.

How can we verify it:

See additional test.

Todos:

  • Write tests
  • [n/a] 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?: YES
Is it a breaking change?: NO

Replace the existing service and clear the cache (which references the ammended service)
Remove cycles in that service using json-cycle.
Dump the decycled object as YAML to console.
@HyperBrain

Copy link
Copy Markdown
Contributor

@erikerikson @horike37 Missed this one completely. Is it the final fix for the print command?

We can release it in a 1.25.1 maybe in a week or so, as soon as we have enough feedback from 1.25 and know if we need to add other important things too.

@erikerikson

Copy link
Copy Markdown
Contributor Author

Exactly. I assumed you were just observing the PR freeze you'd discussed. Otherwise I'd have poked you about it. 😄

@HyperBrain
HyperBrain merged commit 923b2d5 into serverless:master Dec 25, 2017
@erikerikson
erikerikson deleted the fix-crash-cycles-4556 branch December 27, 2017 23:55
@pmuens pmuens added this to the 1.26 milestone Jan 24, 2018
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