Skip to content

Add debugging helper to pretty print history #287

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

Merged
merged 7 commits into from
Jun 11, 2021
Merged

Conversation

davidmrdavid
Copy link
Collaborator

Inspired by: #280

Certain bugs, especially those with strange logging behavior in production, are easier to diagnose if the end-user can provide us with a snapshot of their orchestration's internal history during replay.

This PR exposes an easy-to-access utility to help end-users pretty-print their orchestration history to do just that. I prefix the method name with an underscore, following python conventions, to flag it as an internal or debug-only utility.

Copy link

@ConnorMcMahon ConnorMcMahon left a comment

Choose a reason for hiding this comment

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

LGTM!

@davidmrdavid davidmrdavid merged commit da425a0 into dev Jun 11, 2021
@davidmrdavid davidmrdavid deleted the dajusto/debug-utils branch June 11, 2021 23:58
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