fix: ensure journey/end is written to fd#447
Merged
vigneshshanmugam merged 2 commits intoelastic:mainfrom Jan 29, 2022
Merged
Conversation
❕ Build Aborted
Expand to view the summary
Build stats
Test stats 🧪
🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
Member
Author
|
E2E test failure is due to this current bug we have as in Heartbeat summary docs is not generated and the current 8.x snapshot image contains the previous version of Synthetics which stops the Uptime journey files from running and hanging forever. synthetics/__tests__/e2e/uptime.journey.ts Lines 67 to 93 in 201f7da |
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.
fix reporter stream buffer is not emptied in all cases #446
The stream buffer was not emptied as the
minLengthfor flushing was set to0by default which made the flush to return immediately without draining its contents - https://github.com/pinojs/sonic-boom/blob/21d711575e4fe4c2fbd50e3f0cbf8f52231fdbaa/index.js#L255Now, we set the minLength to
1to make sure we don't miss even the last byte when the synthetics runner ends.fixes Debug logs should not go to special FD (3) #423
Now debug logs are written to stdout and heartbeat picks them and writes them as part of
stdoutpayload message.