Skip to content

Fix IReplyAbortContent type - #2981

Merged
agoose77 merged 3 commits into
jupyter-book:mainfrom
stefanv:fix-aborted-status
Jul 4, 2026
Merged

agoose77 merged 3 commits into
jupyter-book:mainfrom
stefanv:fix-aborted-status

Conversation

@stefanv

@stefanv stefanv commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

@jupyterlab/services@7.6 widened IReplyAbortContent.status to
'abort' | 'aborted'; the local variable type needs to match.

@changeset-bot

changeset-bot Bot commented Jul 1, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 70ae122

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
myst-execute Patch
myst-cli Patch
mystmd Patch
myst-migrate Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@stefanv

stefanv commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

See #2982 for CI fix

Comment thread packages/myst-execute/src/kernel.ts Outdated
}
};
let status: 'abort' | 'error' | 'ok' | undefined;
let status: 'abort' | 'aborted' | 'error' | 'ok' | undefined;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we just pull the type from the upstream?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

That's a good idea!

stefanv added 3 commits July 2, 2026 22:47
@jupyterlab/services@7.6 widened IReplyAbortContent.status to
'abort' | 'aborted'; the local variable type needs to match.
Better than specifying by hand, like we did before, which can get out
of sync.
@stefanv
stefanv force-pushed the fix-aborted-status branch from 70ae122 to 2c1008a Compare July 3, 2026 05:47
@stefanv

stefanv commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator Author

@agoose77 Now implements your suggestion.

@agoose77
agoose77 merged commit bde9e9c into jupyter-book:main Jul 4, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants