René's URL Explorer Experiment


Title: fix(search): return actionable live read errors and drop unreadable Confluence matches by waleedlatif1 · Pull Request #8888 · simstudioai/sim · GitHub

Open Graph Title: fix(search): return actionable live read errors and drop unreadable Confluence matches by waleedlatif1 · Pull Request #8888 · simstudioai/sim

X Title: fix(search): return actionable live read errors and drop unreadable Confluence matches by waleedlatif1 · Pull Request #8888 · simstudioai/sim

Description: Summary read_document turned every provider-side read failure into the generic "Knowledge operation failed", because NativeSearchError escaped readLiveDocument without being classified. Reads now return errors the model can act on: a 404 or 410 becomes not_found, with a hint to search again or read a different result; a revoked grant becomes unauthorized, naming the provider to reconnect; rate limits, 5xx responses, provider timeouts, MCP request timeouts and the 15 s read deadline become a retryable LiveReadError. The Assistant read_document tool now reports retryable (and retryAfterSeconds when set), the same way search_workspace does. The Search MCP read_document returns the classified message instead of the generic text. Confluence search labeled every non-blogpost CQL hit a page. Native CQL that matched attachments, comments, whiteboards, folders or databases therefore produced references whose v2 page read returns 404. Those kinds are now dropped, and the result message says so. Test plan application.test.ts: covers 404, reconnect, rate limit, 503 and MCP timeout. All five fail with the fix reverted. atlassian.test.ts: covers native CQL matches that a page read can't open. It fails with the fix reverted. Focused suites pass locally: application, atlassian, policy, workspace-search, mcp server. CI 🤖 Generated with Claude Code

Open Graph Description: Summary read_document turned every provider-side read failure into the generic "Knowledge operation failed", because NativeSearchError escaped readLiveDocument without being classified. ...

X Description: Summary read_document turned every provider-side read failure into the generic "Knowledge operation failed", because NativeSearchError escaped readLiveDocument without being clas...

Opengraph URL: https://github.com/simstudioai/sim/pull/8888

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:70dfa13a-8bb2-398f-769d-291ba55a8318
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD29E:29C55F:C7E239:110FD30:6AFB56F2
html-safe-noncef157bb3a8eaba235aaac4764b8ec16ebf977ddd20eedc0b1448916ac1ca8290c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjlFOjI5QzU1RjpDN0UyMzk6MTEwRkQzMDo2QUZCNTZGMiIsInZpc2l0b3JfaWQiOiIyNTMzNjEyMDg0NTYyNDUwMTYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdff81cce7853dc5ebb11cb3f37e8744e6508476e094a9a627ad8dca3768b69df
hovercard-subject-tagpull_request:4808917306
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/8888/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary read_document turned every provider-side read failure into the generic "Knowledge operation failed", because NativeSearchError escaped readLiveDocument without being classified. ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/8888/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8888%2Ffiles
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%2Fsimstudioai%2Fsim%2Fpull%2F8888%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/8888/files
Reloadhttps://github.com/simstudioai/sim/pull/8888/files
Reloadhttps://github.com/simstudioai/sim/pull/8888/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
fix/live-read-errorshttps://github.com/simstudioai/sim/tree/fix/live-read-errors
Conversation 22 https://github.com/simstudioai/sim/pull/8888
Commits 6 https://github.com/simstudioai/sim/pull/8888/commits
Checks 47 https://github.com/simstudioai/sim/pull/8888/checks
Files changed https://github.com/simstudioai/sim/pull/8888/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8888/files
fix(search): return actionable live read errors and drop unreadable Confluence matches https://github.com/simstudioai/sim/pull/8888/files#top
Show all changes 6 commits https://github.com/simstudioai/sim/pull/8888/files
03254cd fix(search): return actionable live read errors and drop unreadable C… waleedlatif1 Oct 10, 2026 https://github.com/simstudioai/sim/pull/8888/commits/03254cd3720c8ff106e02cd9c4cd4df6049c0406
bb7a5be test(search): drop a non-null assertion from the live read error test waleedlatif1 Oct 10, 2026 https://github.com/simstudioai/sim/pull/8888/commits/bb7a5be826a0cf32766ca3c735e7ffa9e81f6906
587bb52 test(search): expect the classified reconnect error from a revoked ma… waleedlatif1 Oct 10, 2026 https://github.com/simstudioai/sim/pull/8888/commits/587bb52e8fe224b205ec1a741fee90cbaf82cc70
1288c12 refactor(search): flatten live read failure classification waleedlatif1 Oct 10, 2026 https://github.com/simstudioai/sim/pull/8888/commits/1288c12a3237988d5d752b101e9abe0ede2b0469
71767ed fix(search): retry native read socket timeouts and mark excluded Conf… waleedlatif1 Oct 10, 2026 https://github.com/simstudioai/sim/pull/8888/commits/71767ed1f462b1309d9f5642fd8c9a717911da5f
3c25750 fix(search): treat a provider 408 as a retryable read timeout waleedlatif1 Oct 10, 2026 https://github.com/simstudioai/sim/pull/8888/commits/3c257501e9942721ce0a0a337c133809d71ee509
Clear filters https://github.com/simstudioai/sim/pull/8888/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8888/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8888/files
server.ts https://github.com/simstudioai/sim/pull/8888/files#diff-d7f9fc7f4ff0ad3e5e9044d67adf163cb9b3d861c6694ab3e73859ec79948955
workspace-search.ts https://github.com/simstudioai/sim/pull/8888/files#diff-7ef5812c4d610230b289789cf84f57d77cdd7e65a49ba8ed628523c536e80713
application.test.ts https://github.com/simstudioai/sim/pull/8888/files#diff-af2d21accc00823b671d6bf1cb0dda2f0f273ebdb911e7ec9cdd52ea034a5c20
application.ts https://github.com/simstudioai/sim/pull/8888/files#diff-151e464c65b5447415809287c8c227355b3d21309f26c9399b2e49c0cdd59608
atlassian.test.ts https://github.com/simstudioai/sim/pull/8888/files#diff-a5e5c4de4a705675638a1e40d31970ced00ed9f0de21d796b592e95c45f0ae17
atlassian.ts https://github.com/simstudioai/sim/pull/8888/files#diff-b8b159edb12e6c2ab2739e31f1b112265416f612fbae1b0961631d22157e385f
managed-mcp.integration.ts https://github.com/simstudioai/sim/pull/8888/files#diff-4fbd14f621b352b1dc5e2717a97fd1faede738817c12d121cf1ebd61e8aac71f
read-error.ts https://github.com/simstudioai/sim/pull/8888/files#diff-fc8f13fab3f5f33c93dbe8a285482ef60147cf457d38ab1b4ee3ed06c712484e
apps/sim/lib/knowledge/mcp/server.tshttps://github.com/simstudioai/sim/pull/8888/files#diff-d7f9fc7f4ff0ad3e5e9044d67adf163cb9b3d861c6694ab3e73859ec79948955
View file https://github.com/simstudioai/sim/blob/3c257501e9942721ce0a0a337c133809d71ee509/apps/sim/lib/knowledge/mcp/server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8888/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8888/files#diff-d7f9fc7f4ff0ad3e5e9044d67adf163cb9b3d861c6694ab3e73859ec79948955
https://github.com/simstudioai/sim/pull/8888/files#diff-d7f9fc7f4ff0ad3e5e9044d67adf163cb9b3d861c6694ab3e73859ec79948955
https://github.com/simstudioai/sim/pull/8888/files#diff-d7f9fc7f4ff0ad3e5e9044d67adf163cb9b3d861c6694ab3e73859ec79948955
https://github.com/simstudioai/sim/pull/8888/files#diff-d7f9fc7f4ff0ad3e5e9044d67adf163cb9b3d861c6694ab3e73859ec79948955
apps/sim/lib/mothership/tools/server/knowledge/workspace-search.tshttps://github.com/simstudioai/sim/pull/8888/files#diff-7ef5812c4d610230b289789cf84f57d77cdd7e65a49ba8ed628523c536e80713
View file https://github.com/simstudioai/sim/blob/3c257501e9942721ce0a0a337c133809d71ee509/apps/sim/lib/mothership/tools/server/knowledge/workspace-search.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8888/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8888/files#diff-7ef5812c4d610230b289789cf84f57d77cdd7e65a49ba8ed628523c536e80713
https://github.com/simstudioai/sim/pull/8888/files#diff-7ef5812c4d610230b289789cf84f57d77cdd7e65a49ba8ed628523c536e80713
https://github.com/simstudioai/sim/pull/8888/files#diff-7ef5812c4d610230b289789cf84f57d77cdd7e65a49ba8ed628523c536e80713
https://github.com/simstudioai/sim/pull/8888/files#diff-7ef5812c4d610230b289789cf84f57d77cdd7e65a49ba8ed628523c536e80713
apps/sim/lib/sim-search/live/application.test.tshttps://github.com/simstudioai/sim/pull/8888/files#diff-af2d21accc00823b671d6bf1cb0dda2f0f273ebdb911e7ec9cdd52ea034a5c20
View file https://github.com/simstudioai/sim/blob/3c257501e9942721ce0a0a337c133809d71ee509/apps/sim/lib/sim-search/live/application.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8888/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8888/files#diff-af2d21accc00823b671d6bf1cb0dda2f0f273ebdb911e7ec9cdd52ea034a5c20
https://github.com/simstudioai/sim/pull/8888/files#diff-af2d21accc00823b671d6bf1cb0dda2f0f273ebdb911e7ec9cdd52ea034a5c20
https://github.com/simstudioai/sim/pull/8888/files#diff-af2d21accc00823b671d6bf1cb0dda2f0f273ebdb911e7ec9cdd52ea034a5c20
apps/sim/lib/sim-search/live/application.tshttps://github.com/simstudioai/sim/pull/8888/files#diff-151e464c65b5447415809287c8c227355b3d21309f26c9399b2e49c0cdd59608
View file https://github.com/simstudioai/sim/blob/3c257501e9942721ce0a0a337c133809d71ee509/apps/sim/lib/sim-search/live/application.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8888/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8888/files#diff-151e464c65b5447415809287c8c227355b3d21309f26c9399b2e49c0cdd59608
https://github.com/simstudioai/sim/pull/8888/files#diff-151e464c65b5447415809287c8c227355b3d21309f26c9399b2e49c0cdd59608
https://github.com/simstudioai/sim/pull/8888/files#diff-151e464c65b5447415809287c8c227355b3d21309f26c9399b2e49c0cdd59608
https://github.com/simstudioai/sim/pull/8888/files#diff-151e464c65b5447415809287c8c227355b3d21309f26c9399b2e49c0cdd59608
https://github.com/simstudioai/sim/pull/8888/files#diff-151e464c65b5447415809287c8c227355b3d21309f26c9399b2e49c0cdd59608
https://github.com/simstudioai/sim/pull/8888/files#diff-151e464c65b5447415809287c8c227355b3d21309f26c9399b2e49c0cdd59608
Please reload this pagehttps://github.com/simstudioai/sim/pull/8888/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8888/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8888/files
https://github.com/simstudioai/sim/pull/8888/files#diff-151e464c65b5447415809287c8c227355b3d21309f26c9399b2e49c0cdd59608
https://github.com/simstudioai/sim/pull/8888/files#diff-151e464c65b5447415809287c8c227355b3d21309f26c9399b2e49c0cdd59608
https://github.com/simstudioai/sim/pull/8888/files#diff-151e464c65b5447415809287c8c227355b3d21309f26c9399b2e49c0cdd59608
https://github.com/simstudioai/sim/pull/8888/files#diff-151e464c65b5447415809287c8c227355b3d21309f26c9399b2e49c0cdd59608
apps/sim/lib/sim-search/live/atlassian.test.tshttps://github.com/simstudioai/sim/pull/8888/files#diff-a5e5c4de4a705675638a1e40d31970ced00ed9f0de21d796b592e95c45f0ae17
View file https://github.com/simstudioai/sim/blob/3c257501e9942721ce0a0a337c133809d71ee509/apps/sim/lib/sim-search/live/atlassian.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8888/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8888/files#diff-a5e5c4de4a705675638a1e40d31970ced00ed9f0de21d796b592e95c45f0ae17
apps/sim/lib/sim-search/live/atlassian.tshttps://github.com/simstudioai/sim/pull/8888/files#diff-b8b159edb12e6c2ab2739e31f1b112265416f612fbae1b0961631d22157e385f
View file https://github.com/simstudioai/sim/blob/3c257501e9942721ce0a0a337c133809d71ee509/apps/sim/lib/sim-search/live/atlassian.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8888/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8888/files#diff-b8b159edb12e6c2ab2739e31f1b112265416f612fbae1b0961631d22157e385f
https://github.com/simstudioai/sim/pull/8888/files#diff-b8b159edb12e6c2ab2739e31f1b112265416f612fbae1b0961631d22157e385f
https://github.com/simstudioai/sim/pull/8888/files#diff-b8b159edb12e6c2ab2739e31f1b112265416f612fbae1b0961631d22157e385f
https://github.com/simstudioai/sim/pull/8888/files#diff-b8b159edb12e6c2ab2739e31f1b112265416f612fbae1b0961631d22157e385f
https://github.com/simstudioai/sim/pull/8888/files#diff-b8b159edb12e6c2ab2739e31f1b112265416f612fbae1b0961631d22157e385f
Please reload this pagehttps://github.com/simstudioai/sim/pull/8888/files
https://github.com/simstudioai/sim/pull/8888/files#diff-b8b159edb12e6c2ab2739e31f1b112265416f612fbae1b0961631d22157e385f
apps/sim/lib/sim-search/live/managed-mcp.integration.tshttps://github.com/simstudioai/sim/pull/8888/files#diff-4fbd14f621b352b1dc5e2717a97fd1faede738817c12d121cf1ebd61e8aac71f
View file https://github.com/simstudioai/sim/blob/3c257501e9942721ce0a0a337c133809d71ee509/apps/sim/lib/sim-search/live/managed-mcp.integration.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8888/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8888/files#diff-4fbd14f621b352b1dc5e2717a97fd1faede738817c12d121cf1ebd61e8aac71f
https://github.com/simstudioai/sim/pull/8888/files#diff-4fbd14f621b352b1dc5e2717a97fd1faede738817c12d121cf1ebd61e8aac71f
apps/sim/lib/sim-search/live/read-error.tshttps://github.com/simstudioai/sim/pull/8888/files#diff-fc8f13fab3f5f33c93dbe8a285482ef60147cf457d38ab1b4ee3ed06c712484e
View file https://github.com/simstudioai/sim/blob/3c257501e9942721ce0a0a337c133809d71ee509/apps/sim/lib/sim-search/live/read-error.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8888/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/8888/files
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.