René's URL Explorer Experiment


Title: fix(runtime-core): avoid MCP tool discovery after agent cancellation (#450) by tkislan · Pull Request #457 · deepnote/deepnote · GitHub

Open Graph Title: fix(runtime-core): avoid MCP tool discovery after agent cancellation (#450) by tkislan · Pull Request #457 · deepnote/deepnote

X Title: fix(runtime-core): avoid MCP tool discovery after agent cancellation (#450) by tkislan · Pull Request #457 · deepnote/deepnote

Description: Deepnote is a drop-in replacement for Jupyter with an AI-first design, sleek UI, new blocks, and native data integrations. Use Python, R, and SQL locally in your favorite IDE, then scale to Deepnote cloud for real-time collaboration, Deepnote agent, and deployable data apps. https://deepnote.com/ - fix(runtime-core): avoid MCP tool discovery after agent cancellation (#450) by tkislan · Pull Request #457 · deepnote/deepnote

Open Graph Description: Fixes #450 Problem When an agent run is cancelled while MCP clients are still being created or while client.tools() is in flight, the handler continued into tool discovery and/or model streaming af...

X Description: Fixes #450 Problem When an agent run is cancelled while MCP clients are still being created or while client.tools() is in flight, the handler continued into tool discovery and/or model streaming af...

Opengraph URL: https://github.com/deepnote/deepnote/pull/457

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:10861fc3-8786-952e-29ad-fe330f55f0fb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB038:3D8DDA:10AFA01:1636C5C:6AED5462
html-safe-nonce91ad14691f9bf326c59ea2b3be3a6dd72dfd0681638460215a86c457e76df12c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDM4OjNEOEREQToxMEFGQTAxOjE2MzZDNUM6NkFFRDU0NjIiLCJ2aXNpdG9yX2lkIjoiNzA0MTM1MDc1NDczNTMxNDAxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf9a27ece5b30d5c5c4027ac1d882615d97867d51cfbee4e7ba4b378c8f42f745
hovercard-subject-tagpull_request:4277597220
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/deepnote/deepnote/457/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c996ac83c4bed42f9b329d21b014c9d67d77ed14988491a8cc60914fe30a7048/deepnote/deepnote/pull/457
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c996ac83c4bed42f9b329d21b014c9d67d77ed14988491a8cc60914fe30a7048/deepnote/deepnote/pull/457
og:image:altFixes #450 Problem When an agent run is cancelled while MCP clients are still being created or while client.tools() is in flight, the handler continued into tool discovery and/or model streaming af...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametkislan
hostnamegithub.com
expected-hostnamegithub.com
None56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11
turbo-cache-controlno-cache
go-importgithub.com/deepnote/deepnote git https://github.com/deepnote/deepnote.git
octolytics-dimension-user_id45339858
octolytics-dimension-user_logindeepnote
octolytics-dimension-repository_id1066509034
octolytics-dimension-repository_nwodeepnote/deepnote
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1066509034
octolytics-dimension-repository_network_root_nwodeepnote/deepnote
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/deepnote/deepnote/pull/457#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F457
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F457
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=deepnote%2Fdeepnote
Reloadhttps://github.com/deepnote/deepnote/pull/457
Reloadhttps://github.com/deepnote/deepnote/pull/457
Reloadhttps://github.com/deepnote/deepnote/pull/457
deepnotehttps://github.com/deepnote
deepnotehttps://github.com/deepnote/deepnote
Codehttps://github.com/deepnote/deepnote
Issues13 (13)https://github.com/deepnote/deepnote/issues
Pull requests22 (22)https://github.com/deepnote/deepnote/pulls
Discussionshttps://github.com/deepnote/deepnote/discussions
Actionshttps://github.com/deepnote/deepnote/actions
Security and qualityhttps://github.com/deepnote/deepnote/security
Insightshttps://github.com/deepnote/deepnote/pulse
https://github.com/deepnote/deepnote
tkislanhttps://github.com/tkislan
mainhttps://github.com/deepnote/deepnote/tree/main
cursor/avoid-mcp-tool-discovery-after-cancel-7f81https://github.com/deepnote/deepnote/tree/cursor/avoid-mcp-tool-discovery-after-cancel-7f81
Conversationhttps://github.com/deepnote/deepnote/pull/457
Commits5 (5)https://github.com/deepnote/deepnote/pull/457/commits
Checkshttps://github.com/deepnote/deepnote/pull/457/checks
Files changedhttps://github.com/deepnote/deepnote/pull/457/files
fix(runtime-core): avoid MCP tool discovery after agent cancellation (#450)https://github.com/deepnote/deepnote/pull/457#top
tkislanhttps://github.com/tkislan
mainhttps://github.com/deepnote/deepnote/tree/main
cursor/avoid-mcp-tool-discovery-after-cancel-7f81https://github.com/deepnote/deepnote/tree/cursor/avoid-mcp-tool-discovery-after-cancel-7f81
https://github.com/tkislan
tkislanhttps://github.com/tkislan
Aug 14, 2026https://github.com/deepnote/deepnote/pull/457#issue-5149041440
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
#450https://github.com/deepnote/deepnote/issues/450
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
tkislanhttps://github.com/tkislan
August 14, 2026 06:37https://github.com/deepnote/deepnote/pull/457#commits-pushed-3175207
https://github.com/tkislan
feat(runtime-core): forward abort signal to agent block executionhttps://github.com/deepnote/deepnote/pull/457/commits/31752078909a12b26bc429387eff08cb567f5873
3175207https://github.com/deepnote/deepnote/pull/457/commits/31752078909a12b26bc429387eff08cb567f5873
https://github.com/tkislan
test(runtime-core): add abort guards and signal forwarding tests forhttps://github.com/deepnote/deepnote/pull/457/commits/b1ec9dbf6bcf2dbf3f1bfff66f3f4433e29596c1
#…https://github.com/deepnote/deepnote/issues/450
b1ec9dbhttps://github.com/deepnote/deepnote/pull/457/commits/b1ec9dbf6bcf2dbf3f1bfff66f3f4433e29596c1
…450https://github.com/deepnote/deepnote/issues/450
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 14, 2026https://github.com/deepnote/deepnote/pull/457#issuecomment-5290330847
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
https://app.coderabbit.ai/change-stack/deepnote/deepnote/pull/457
Learn how review limits workhttps://docs.coderabbit.ai/management/plans#rate-limits
8e08f16https://github.com/deepnote/deepnote/commit/8e08f16a6814f8652eeee6e2aa26d711d8eae1fc
07ac0d1https://github.com/deepnote/deepnote/commit/07ac0d1746f42d90bb04a3ba4c4339c5dc53aab5
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Aug 14, 2026https://github.com/deepnote/deepnote/pull/457#issuecomment-5290340540
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
Codecovhttps://app.codecov.io/gh/deepnote/deepnote/pull/457?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepnote
b551c12https://app.codecov.io/gh/deepnote/deepnote/commit/b551c12e20e6426716e35c8f8e33bc969c6c30db?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepnote
07ac0d1https://app.codecov.io/gh/deepnote/deepnote/commit/07ac0d1746f42d90bb04a3ba4c4339c5dc53aab5?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepnote
☔ View full report in Codecov by Harnesshttps://app.codecov.io/gh/deepnote/deepnote/pull/457?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepnote
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepnote
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 14, 2026 https://github.com/deepnote/deepnote/pull/457#pullrequestreview-4934635086
View reviewed changes https://github.com/deepnote/deepnote/pull/457/files/b1ec9dbf6bcf2dbf3f1bfff66f3f4433e29596c1
https://github.com/tkislan
https://github.com/claude
refactor(runtime-core): tighten abort signal docs and testshttps://github.com/deepnote/deepnote/pull/457/commits/8e08f16a6814f8652eeee6e2aa26d711d8eae1fc
8e08f16https://github.com/deepnote/deepnote/pull/457/commits/8e08f16a6814f8652eeee6e2aa26d711d8eae1fc
https://claude.ai/code/session_011sv77f7EDmiicvaxeRQ1yMhttps://claude.ai/code/session_011sv77f7EDmiicvaxeRQ1yM
https://github.com/tkislan
tkislanhttps://github.com/tkislan
coderabbitai[bot]https://github.com/apps/coderabbitai
stale reviewhttps://github.com/deepnote/deepnote/pull/457#pullrequestreview-4934635086
8e08f16https://github.com/deepnote/deepnote/commit/8e08f16a6814f8652eeee6e2aa26d711d8eae1fc
August 27, 2026 10:51https://github.com/deepnote/deepnote/pull/457#event-30098414087
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 27, 2026 https://github.com/deepnote/deepnote/pull/457#pullrequestreview-5039941537
View reviewed changes https://github.com/deepnote/deepnote/pull/457/files/8e08f16a6814f8652eeee6e2aa26d711d8eae1fc
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/deepnote/deepnote/pull/457#pullrequestreview-5039941537
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
b1ec9dbhttps://github.com/deepnote/deepnote/commit/b1ec9dbf6bcf2dbf3f1bfff66f3f4433e29596c1
8e08f16https://github.com/deepnote/deepnote/commit/8e08f16a6814f8652eeee6e2aa26d711d8eae1fc
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
packages/runtime-core/src/execution-engine.test.tshttps://github.com/deepnote/deepnote/pull/457/files/8e08f16a6814f8652eeee6e2aa26d711d8eae1fc#diff-0b627d37726333e896c042864adff1322f8bb6d41faa228b1a5f357d1ce805c0
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
https://github.com/tkislan
https://github.com/claude
test(runtime-core): pin abort precedence over MCP startup failurehttps://github.com/deepnote/deepnote/pull/457/commits/6c0871017c82bd1020a256c2bbcdc476b594c416
6c08710https://github.com/deepnote/deepnote/pull/457/commits/6c0871017c82bd1020a256c2bbcdc476b594c416
https://claude.ai/code/session_011sv77f7EDmiicvaxeRQ1yMhttps://claude.ai/code/session_011sv77f7EDmiicvaxeRQ1yM
https://github.com/tkislan
tkislanhttps://github.com/tkislan
Aug 28, 2026https://github.com/deepnote/deepnote/pull/457#issuecomment-5452080017
@coderabbitaihttps://github.com/coderabbitai
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
https://github.com/tkislan
Merge branch 'main' into cursor/avoid-mcp-tool-discovery-after-cancel…https://github.com/deepnote/deepnote/pull/457/commits/07ac0d1746f42d90bb04a3ba4c4339c5dc53aab5
07ac0d1https://github.com/deepnote/deepnote/pull/457/commits/07ac0d1746f42d90bb04a3ba4c4339c5dc53aab5
https://github.com/tkislan
tkislanhttps://github.com/tkislan
August 28, 2026 11:41https://github.com/deepnote/deepnote/pull/457#event-30162518091
https://github.com/tkislan
tkislanhttps://github.com/tkislan
code ownerhttps://github.com/deepnote/deepnote/blob/b551c12e20e6426716e35c8f8e33bc969c6c30db/.github/CODEOWNERS#L2
August 28, 2026 11:41https://github.com/deepnote/deepnote/pull/457#event-30162518467
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 28, 2026 https://github.com/deepnote/deepnote/pull/457#pullrequestreview-5050738921
View reviewed changes https://github.com/deepnote/deepnote/pull/457/files/07ac0d1746f42d90bb04a3ba4c4339c5dc53aab5
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 28, 2026https://github.com/deepnote/deepnote/pull/457#issuecomment-5452082122
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
https://github.com/dinohamzic
dinohamzichttps://github.com/dinohamzic
Aug 28, 2026 https://github.com/deepnote/deepnote/pull/457#pullrequestreview-5051018171
View reviewed changes https://github.com/deepnote/deepnote/pull/457/files/07ac0d1746f42d90bb04a3ba4c4339c5dc53aab5
dinohamzichttps://github.com/dinohamzic
https://github.com/deepnote/deepnote/pull/457#pullrequestreview-5051018171
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
https://github.com/tkislan
tkislanhttps://github.com/tkislan
1be4570https://github.com/deepnote/deepnote/commit/1be457010171ea687d52b45333c58c158f3330fb
Aug 28, 2026https://github.com/deepnote/deepnote/pull/457#event-30166019144
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
https://github.com/tkislan
tkislanhttps://github.com/tkislan
August 28, 2026 13:03https://github.com/deepnote/deepnote/pull/457#event-30166021513
https://github.com/voyti
voytihttps://github.com/voyti
Oct 5, 2026 https://github.com/deepnote/deepnote/pull/457#ref-pullrequest-5711554745
chore(release): bump package versions #552 https://github.com/deepnote/deepnote/pull/552
https://github.co/hiddenchars
https://github.com/deepnote/deepnote/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeepnote%2Fdeepnote%2Fpull%2F457
https://github.com/dinohamzic
dinohamzic https://github.com/dinohamzic
https://github.com/deepnote/deepnote/pull/457/files/07ac0d1746f42d90bb04a3ba4c4339c5dc53aab5
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/deepnote/deepnote/pull/457/files/07ac0d1746f42d90bb04a3ba4c4339c5dc53aab5
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
Avoid MCP tool discovery after agent cancellation https://github.com/deepnote/deepnote/issues/450
Please reload this pagehttps://github.com/deepnote/deepnote/pull/457
https://github.com/tkislan
https://github.com/dinohamzic
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.