Sparta v0.20.4 Release Notes

    • 💥 :warning: BREAKING
      • Changed step.NewStateMachine signature to include StateMachineName as first argument per Nov 15th, 2017 release
    • :checkered_flag: CHANGES

      • Add profile command
      • Profile snapshots are enabled via:
      sparta.ScheduleProfileLoop(nil, 5*time.Second, 30*time.Second, "heap")
      
      • Profile snapshots are published to S3 and are locally aggregated across all lambda instance publishers. To view the ui, run the profile Sparta command.
      • See the SpartaPProf sample for a service that installs profiling hooks.
      • Ensure you have the latest pprof UI via go get -u -v github.com/google/pprof
      • The standard profile names are available, as well as a cpu type implied by a non-zero time.Duration supplied as the third parameter to ScheduleProfileLoop.
      • Eliminate unnecessary logging in AWS lambda environment
      • Log NodeJS process.uptime()
    • 🛠 :bug: FIXED

      • Added more constructive message when working directory for go build doesn't contain main package.