Skip to content
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

explicitly create event log file for nodejs automation api #6730

Merged
merged 3 commits into from
Apr 8, 2021

Conversation

EvanBoyle
Copy link
Contributor

An attempt at fixing pulumi/actions#163

The current implementation just creates a temp dir and waits for the CLI to start writing to that file. If that process is delayed by more than 10s we fail. This change tries to be resilient to that case.

Copy link
Member

@komalali komalali left a comment

Choose a reason for hiding this comment

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

LGTM, the existing tests should be signal enough that it works as expected.

@komalali
Copy link
Member

komalali commented Apr 8, 2021

Should we update the readLines function to avoid the 10s poll for the file to exist since we're just creating it up front now?

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.

None yet

2 participants