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

Fix ag-solo kernel reentrancy and fake-chain non-determinism #710

Merged
merged 5 commits into from
Mar 18, 2020

Conversation

michaelfig
Copy link
Member

@michaelfig michaelfig commented Mar 17, 2020

Fixes #268

This PR fixes a longstanding problem with anacrophobia in an ag-solo that had been subjected to HTTP calls and then restarted. It also fixes some other sources of nondeterminism in the ag-solo replay mechanism due to problems in the timer device integration.

Propagate inboundHandler errors better. Prevent asynchronous rejection errors. Synchronise the inbound messages calls.

@michaelfig michaelfig requested review from warner and FUDCo March 17, 2020 19:40
Copy link
Member

@warner warner left a comment

Choose a reason for hiding this comment

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

Please remove the test.only and make sure CI still passes afterwards.

packages/SwingSet/test/test-devices.js Outdated Show resolved Hide resolved
packages/cosmic-swingset/lib/ag-solo/start.js Outdated Show resolved Hide resolved
Copy link
Contributor

@FUDCo FUDCo left a comment

Choose a reason for hiding this comment

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

I'd like to see some extra explanation per my comment, but it's not worth blocking you if that's an issue.

packages/cosmic-swingset/lib/ag-solo/start.js Outdated Show resolved Hide resolved
Propagate inboundHandler errors better.  Prevent asynchronous
rejection errors.
@michaelfig michaelfig force-pushed the mfig/better-errors-and-sync branch from f82558d to c70b8a1 Compare March 17, 2020 21:30
@michaelfig michaelfig requested review from warner and FUDCo March 17, 2020 22:44
Copy link
Contributor

@FUDCo FUDCo left a comment

Choose a reason for hiding this comment

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

Well OK then.

@michaelfig michaelfig changed the title Improve command device support Fix ag-solo kernel reentrancy and fake-chain non-determinism Mar 18, 2020
@michaelfig michaelfig merged commit ec5be6c into master Mar 18, 2020
@michaelfig michaelfig deleted the mfig/better-errors-and-sync branch March 18, 2020 02:33
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.

anacrophobia error in restart with wallet UI
3 participants