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(agoric-cli): Remove conflicting AggregateError declaration comment #8898

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

erights
Copy link
Member

@erights erights commented Feb 12, 2024

closes: #XXXX
refs: endojs/endo#2042 (comment) #7937

Description

AggregateError has been part of standard JS for a long time. But endo's permits list does not yet list it, causing it to be omitted from SES. endojs/endo#2042 will support AggregateError together with the long delayed Promise.any, error.cause, and error.errors.

Trying both #7937 with the endojs/endo#2042 fork, we find one integration failure from line

/* global process AggregateError Buffer */

Deleting the AggregateError from this comment works with the endojs/endo#2042 fork according to #7937 CI, and works with the endo that agoric-sdk currently depends on, according to this PR's CI. Thus, we can delete the declaration now without breaking anything, and avoid breaking once agoric-sdk is synced with an endo incorporating endojs/endo#2042

Security Considerations

none

Scaling Considerations

none

Documentation Considerations

none

Testing Considerations

We originally did the #7937 in order to see if #2042 is compat with XS. It did not detect any such problems, but did detect this instead.

I'd say this corroborates the case that endo CI should at least run agoric-sdk CI lint jobs. Not all integration problems would have been caught be this, of course. But a surprising number would have.

Upgrade Considerations

none

@erights erights self-assigned this Feb 12, 2024
@erights erights marked this pull request as ready for review February 13, 2024 03:25
@erights erights added the automerge:squash Automatically squash merge label Feb 13, 2024
@mergify mergify bot merged commit 2044d22 into master Feb 13, 2024
83 checks passed
@mergify mergify bot deleted the markm-remove-conflicting-AggregateError-decl branch February 13, 2024 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:squash Automatically squash merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants