-
Notifications
You must be signed in to change notification settings - Fork 212
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
refactor: move around some helpers before state-sync #7258
Conversation
96fd4ae
to
aa2fa8d
Compare
Sorry for the temporary churn, I mistakenly cherry-picked the wrong commit and pressed push too quickly. |
packages/internal/src/shutdown.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what to think about this. Part of me agrees that we can have platform dependencies in @agoric/internal
if we don't export those modules from '@agoric/internal'
, rather by using a deep import instead. But in practice, those platform dependencies are awfully hard to diagnose if an endo-bundled module accidentally imports one by contagion.
Could you instead move the Node.js dependents to internal/src/node/*
, so at least it is really obvious when we import them or decide to find them a new home?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done for shutdown
and other helpers relying on node
. PTAL
aa2fa8d
to
3eb54d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Onward and upward....
3eb54d5
to
bd8896e
Compare
@Mergifyio requeue |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
2440551
to
9607757
Compare
9607757
to
e6e4c8e
Compare
e6e4c8e
to
136f56d
Compare
136f56d
to
519d707
Compare
refs: #3769
Description
This extracts a few pure refactor commits from #7225 in an attempt to make that PR more digestible.
Security Considerations
None
Scaling Considerations
None
Documentation Considerations
None
Testing Considerations
None