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

Compatibility with older SDK without solo slog #48

Merged
merged 2 commits into from
Feb 2, 2022

Conversation

mhofman
Copy link
Member

@mhofman mhofman commented Jan 28, 2022

778b4e8 introduced the feature of saving the slog file of the ag-solo. However generating a slog file was only introduced in the SDK by Agoric/agoric-sdk#3611, so solos from older SDK would never open the slog FIFO, and the solo would have been considered as never fully started, ultimately timing out and failing.

This change makes the solo slog optional, and conditionally pipes the streams to avoid failures.

@mhofman mhofman requested review from warner and michaelfig January 28, 2022 04:30
Copy link
Member

@michaelfig michaelfig left a comment

Choose a reason for hiding this comment

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

LGTM! Sorry I left this longer than I would normally.

@mhofman mhofman merged commit 90474ae into main Feb 2, 2022
@mhofman mhofman deleted the mhofman/fix-solo-slog branch February 2, 2022 05:32
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