feat: introduce Transcript debug module#754
Open
xepozz wants to merge 27 commits into
Open
Conversation
# Conflicts: # tests/Acceptance/App/TestCase.php # tests/Acceptance/bootstrap.php # tests/Acceptance/worker.php
…t WorkflowHistoryDumper
…egistry integration
…ling, and improved workflow history tracking
…d sorting, and enhanced error reporting
…nsistency throughout tests
…d in TranscriptStore
…ing\Transcript` namespace and streamline imports
…ing\Transcript` namespace and streamline imports
…ove merged transcript handling
…criptWriter and WorkflowHistoryDumper with advanced frame handling
…ng with failure summaries and delta timestamps
…st classes directly in State, remove unused method parameter
… `decodeSinglePayload` for improved readability and fallback handling
… `decodeSinglePayload` for improved readability and fallback handling
…ection in ActivityPausedTest for improved clarity
…yDumper, no longer relevant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was changed
In compact mode it shows that all transcripts are available in the runtime directory:
If we open the file or pass
TEMPORAL_TRANSCRIPT_DUMP_ON_FAIL=1ENV when run the test we'll see the following:Details
This is the full history of sdk communications and actions which is very helpful when we find bugs or implement new features.
Why?
This PR allows to find details more precisely and faster compared to regular debugging.
Checklist
Closes
How was this tested: