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(swingset-xsnap-supervisor): Add missing promise-kit dependency #10878

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

kriskowal
Copy link
Member

Description

Toward better format preservation in Endo bundles, this change fixes a missing dependency in the XSnap SwingSet supervisor bundle that the current bundler tolerates and the upcoming bundler will not.

Security Considerations

None.

Scaling Considerations

None.

Documentation Considerations

None.

Testing Considerations

This missing dependency should have been discovered by our linter, and it’s not clear how it was not.

Upgrade Considerations

This change is safe, but implies certain risks for swapping out the internals of nestedEvaluate and getExport bundle generators since the new bundler is more sensitive, which is a breaking change. Landing changes like this make it less of a practically breaking change, but a risk none-the-less. We may need to ramp the major version of @endo/bundle-source.

@kriskowal kriskowal requested a review from a team as a code owner January 23, 2025 01:54
Copy link

cloudflare-workers-and-pages bot commented Jan 23, 2025

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9d6dbc4
Status:🚫  Build failed.

View logs

@kriskowal kriskowal added the automerge:rebase Automatically rebase updates, then merge label Jan 23, 2025
@kriskowal kriskowal force-pushed the kriskowal-fix-supervisor-missing-promise-kit branch from 90b2231 to 5791d6b Compare January 23, 2025 17:53
Copy link
Contributor

mergify bot commented Jan 23, 2025

This pull request has been removed from the queue for the following reason: checks failed.

The merge conditions cannot be satisfied due to failing checks:

You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it.

If you want to requeue this pull request, you need to post a comment with the text: @mergifyio requeue

@kriskowal kriskowal force-pushed the kriskowal-fix-supervisor-missing-promise-kit branch from 5791d6b to 9d6dbc4 Compare January 23, 2025 20:14
@mergify mergify bot merged commit 4a47b35 into master Jan 23, 2025
82 of 83 checks passed
@mergify mergify bot deleted the kriskowal-fix-supervisor-missing-promise-kit branch January 23, 2025 21:08
mergify bot added a commit that referenced this pull request Jan 24, 2025
_incidental_

## Description
In #10878 I noticed,
> This missing dependency should have been discovered by our linter, and it’s not clear how it was not.

The package had disabled `import/no-extraneous-dependencies` for some reason. That was carried forward in the recent v9 upgrade: https://github.com/Agoric/agoric-sdk/pull/10846/files#diff-9ab4ae5d071b94a2d5dd874ceb3b9a1e85913fe7ee92e4956cb9801e59777002

This removes the special case and declares the deps so the rule passes.

### Security Considerations
none

### Scaling Considerations
none


### Documentation Considerations
none

### Testing Considerations
CI

### Upgrade Considerations
none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:rebase Automatically rebase updates, then merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants