René's URL Explorer Experiment


Title: fix(search): preserve Google sync diagnostics and retry transient failures by waleedlatif1 · Pull Request #7895 · simstudioai/sim · GitHub

Open Graph Title: fix(search): preserve Google sync diagnostics and retry transient failures by waleedlatif1 · Pull Request #7895 · simstudioai/sim

X Title: fix(search): preserve Google sync diagnostics and retry transient failures by waleedlatif1 · Pull Request #7895 · simstudioai/sim

Description: Summary Preserve Google API operation, HTTP status, and allowlisted error reasons without storing provider payloads. Keep Directory permission failures distinct from file access failures. Retry Gmail and Calendar server errors and structured rate-limit responses within the existing transport budget. Preserve authentication, missing-document, and incomplete-directory behavior. Store and report database driver codes instead of query text, bound parameters, or raw database causes in both Trigger and in-process document workers. Update Google connector troubleshooting docs. Type of Change Bug fix Testing 569 targeted connector, Directory, diagnostics, and document-processing tests passed, including regressions for retries, bounded error parsing, admission hooks, nested-group denials, both worker paths, and SQL redaction. TypeScript, lint, API-contract validation, all 46 repository audits, block-registry validation, and docs-manifest checks passed. Reviewed all eight cleanup passes; no client state or UI changes. Runtime diagnostics still require verification after deployment; this does not claim to resolve unclassified upstream access errors. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Preserve Google API operation, HTTP status, and allowlisted error reasons without storing provider payloads. Keep Directory permission failures distinct from file access failures. Retry Gm...

X Description: Summary Preserve Google API operation, HTTP status, and allowlisted error reasons without storing provider payloads. Keep Directory permission failures distinct from file access failures. Retry Gm...

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

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:0ae20c6b-43e6-c749-c7d1-3f91b039a2ef
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA6D0:73CE1:4C5893:69F1D8:6AFB3A16
html-safe-nonce6498d817b4d9535ac4166f437f7a7e32d6d731a9a3bc6dc8ec02c08e182d023e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkQwOjczQ0UxOjRDNTg5Mzo2OUYxRDg6NkFGQjNBMTYiLCJ2aXNpdG9yX2lkIjoiMzQxMDE2MTA4NTE0NTg4OTMwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9dbd439c07c7eb55a82c56d5ff931c9e47ce374e397e309210c2d7dad132880a
hovercard-subject-tagpull_request:4552748236
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/7895/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 Preserve Google API operation, HTTP status, and allowlisted error reasons without storing provider payloads. Keep Directory permission failures distinct from file access failures. Retry Gm...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2169b0dfbef67ed6b128074a5ed45bb7d5d1859783b10178b09a7765ad5f3693
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
release3b4fc8df5ef1c6757e733a23e6b81b6725021823
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7895/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7895%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%2F7895%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/7895/files
Reloadhttps://github.com/simstudioai/sim/pull/7895/files
Reloadhttps://github.com/simstudioai/sim/pull/7895/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)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
codex/google-sync-diagnosticshttps://github.com/simstudioai/sim/tree/codex/google-sync-diagnostics
Conversation 8 https://github.com/simstudioai/sim/pull/7895
Commits 2 https://github.com/simstudioai/sim/pull/7895/commits
Checks 33 https://github.com/simstudioai/sim/pull/7895/checks
Files changed https://github.com/simstudioai/sim/pull/7895/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7895/files
fix(search): preserve Google sync diagnostics and retry transient failures https://github.com/simstudioai/sim/pull/7895/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/7895/files
50d9df6 fix(search): preserve Google sync diagnostics and retry transient fai… waleedlatif1 Sep 16, 2026 https://github.com/simstudioai/sim/pull/7895/commits/50d9df67cddbe92216b1e5f747d1ff00d2cacf02
51c655e fix(search): sanitize in-process database failure logs waleedlatif1 Sep 16, 2026 https://github.com/simstudioai/sim/pull/7895/commits/51c655e5e5c91161747b2e7703ae0b5982c24dca
Clear filters https://github.com/simstudioai/sim/pull/7895/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7895/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7895/files
gmail.mdx https://github.com/simstudioai/sim/pull/7895/files#diff-ad477738db8a6931a5bdea24e35428b32a4c782eeced1b7a1e4c23b58360de3a
google-calendar.mdx https://github.com/simstudioai/sim/pull/7895/files#diff-7edd827a8d2fcbd0ec4eee35db66a07d5a5b8c7fabcdd99a96889c8581edec40
google-drive.mdx https://github.com/simstudioai/sim/pull/7895/files#diff-252bef68695667a41c6c1eb0616e93c646498bc8afa3c485c3a442043127c639
knowledge-processing.test.ts https://github.com/simstudioai/sim/pull/7895/files#diff-aaf9905be5fe36e82320cdc33a518d0acb21ee35d54ebfc80fddcefb4ece2150
knowledge-processing.ts https://github.com/simstudioai/sim/pull/7895/files#diff-3f4102c851bc01170c71054100d270ba20a2d444e99d32cbf6450a1f0152138e
company-crawl.test.ts https://github.com/simstudioai/sim/pull/7895/files#diff-f2af0ba5edcd354c10c532311433a12d09605d9b3b1c2c7bb45985f84c7b095b
gmail.test.ts https://github.com/simstudioai/sim/pull/7895/files#diff-2015d76c06ae8ede41ca47189bb078baa6a2cde7161ef444be5cad6ed76f02f0
gmail.ts https://github.com/simstudioai/sim/pull/7895/files#diff-964bead70eb6cb464699f4a10af9db86082ca098ef99d0a24483f3e3edb0bf9e
google-calendar.ts https://github.com/simstudioai/sim/pull/7895/files#diff-0079aaeb6934c4a3144e3d04608272e301a90b4ed82254ee8d01d3563197022a
directory.test.ts https://github.com/simstudioai/sim/pull/7895/files#diff-fa271cef71c051a664bfa431c27df7edcf010a708c97e8f7faa29f030c2aadd9
directory.ts https://github.com/simstudioai/sim/pull/7895/files#diff-281c890b6fe8f50649a76ba01d7433a0f5cbe82992694ac949deb6e4bbcaf352
google-drive-errors.ts https://github.com/simstudioai/sim/pull/7895/files#diff-b16e8134ce4d7afb56c4c65bd11c4e88174355bbd5d50905bb09a0ad3d795df9
google-drive.test.ts https://github.com/simstudioai/sim/pull/7895/files#diff-85817908f98112923f415de954345df320723512bebc138b313f59afba839ca3
google-drive.ts https://github.com/simstudioai/sim/pull/7895/files#diff-a7820fe9749a8ab70e16ce3488df54419d326c6619f6d0b62382bc27d0c94cfd
workspace-drives.ts https://github.com/simstudioai/sim/pull/7895/files#diff-b3c10e35997884032655b3e8ac8451801c213be0cf04f239f83541b1e9e813c0
api-errors.test.ts https://github.com/simstudioai/sim/pull/7895/files#diff-dcfc2a2c2ea02c8f66d1c4bc4d55e955986e645d9852c761831679b04f852cdd
api-errors.ts https://github.com/simstudioai/sim/pull/7895/files#diff-b26f73423b28266cf0e1b5b8f2c93327afd5a047ec6f3fe5660482c9e9091ebf
users.ts https://github.com/simstudioai/sim/pull/7895/files#diff-5dedab8a1513c6fde7e1718eff2a47acad02b4acce7030aa092f32227ce15211
source-error.ts https://github.com/simstudioai/sim/pull/7895/files#diff-35ae691102faab11f57c9b44eb4fc6e9eaa0c1cb15d5b69080e5afb5ce9d69a8
connector-error.test.ts https://github.com/simstudioai/sim/pull/7895/files#diff-e96c9b4d8f02b9a7dafe4353deff29d1dec49acf85ca83250edec40ee73de006
connector-error.ts https://github.com/simstudioai/sim/pull/7895/files#diff-4007697991b0177ed4324b3f46c9bcd17e12a0d7595a0eab2f21b01bd3a4a67a
external-group-sync.test.ts https://github.com/simstudioai/sim/pull/7895/files#diff-47802eb751a970b756fca227679827a8755a99e065c0bd9cc79995af30045a7c
external-group-sync.ts https://github.com/simstudioai/sim/pull/7895/files#diff-a1b958a2ebf15709feabd85e3b9cafa1300742db2ed77ff9e592dd4747f02591
document-processing-source.test.ts https://github.com/simstudioai/sim/pull/7895/files#diff-5b6e93417c23c69dd607283ad630cf19fce90751f3480053378e133760b97633
service.ts https://github.com/simstudioai/sim/pull/7895/files#diff-12adff6ec055d413ec20f1debed4ca207b994d23df6de9aa4ef79bf47f2857b2
apps/docs/content/docs/search/gmail.mdxhttps://github.com/simstudioai/sim/pull/7895/files#diff-ad477738db8a6931a5bdea24e35428b32a4c782eeced1b7a1e4c23b58360de3a
View file https://github.com/simstudioai/sim/blob/51c655e5e5c91161747b2e7703ae0b5982c24dca/apps/docs/content/docs/search/gmail.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7895/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7895/files#diff-ad477738db8a6931a5bdea24e35428b32a4c782eeced1b7a1e4c23b58360de3a
https://github.com/simstudioai/sim/pull/7895/files#diff-ad477738db8a6931a5bdea24e35428b32a4c782eeced1b7a1e4c23b58360de3a
apps/docs/content/docs/search/google-calendar.mdxhttps://github.com/simstudioai/sim/pull/7895/files#diff-7edd827a8d2fcbd0ec4eee35db66a07d5a5b8c7fabcdd99a96889c8581edec40
View file https://github.com/simstudioai/sim/blob/51c655e5e5c91161747b2e7703ae0b5982c24dca/apps/docs/content/docs/search/google-calendar.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7895/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7895/files#diff-7edd827a8d2fcbd0ec4eee35db66a07d5a5b8c7fabcdd99a96889c8581edec40
https://github.com/simstudioai/sim/pull/7895/files#diff-7edd827a8d2fcbd0ec4eee35db66a07d5a5b8c7fabcdd99a96889c8581edec40
apps/docs/content/docs/search/google-drive.mdxhttps://github.com/simstudioai/sim/pull/7895/files#diff-252bef68695667a41c6c1eb0616e93c646498bc8afa3c485c3a442043127c639
View file https://github.com/simstudioai/sim/blob/51c655e5e5c91161747b2e7703ae0b5982c24dca/apps/docs/content/docs/search/google-drive.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7895/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7895/files#diff-252bef68695667a41c6c1eb0616e93c646498bc8afa3c485c3a442043127c639
https://github.com/simstudioai/sim/pull/7895/files#diff-252bef68695667a41c6c1eb0616e93c646498bc8afa3c485c3a442043127c639
apps/sim/background/knowledge-processing.test.tshttps://github.com/simstudioai/sim/pull/7895/files#diff-aaf9905be5fe36e82320cdc33a518d0acb21ee35d54ebfc80fddcefb4ece2150
View file https://github.com/simstudioai/sim/blob/51c655e5e5c91161747b2e7703ae0b5982c24dca/apps/sim/background/knowledge-processing.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7895/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7895/files#diff-aaf9905be5fe36e82320cdc33a518d0acb21ee35d54ebfc80fddcefb4ece2150
https://github.com/simstudioai/sim/pull/7895/files#diff-aaf9905be5fe36e82320cdc33a518d0acb21ee35d54ebfc80fddcefb4ece2150
https://github.com/simstudioai/sim/pull/7895/files#diff-aaf9905be5fe36e82320cdc33a518d0acb21ee35d54ebfc80fddcefb4ece2150
apps/sim/background/knowledge-processing.tshttps://github.com/simstudioai/sim/pull/7895/files#diff-3f4102c851bc01170c71054100d270ba20a2d444e99d32cbf6450a1f0152138e
View file https://github.com/simstudioai/sim/blob/51c655e5e5c91161747b2e7703ae0b5982c24dca/apps/sim/background/knowledge-processing.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7895/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7895/files#diff-3f4102c851bc01170c71054100d270ba20a2d444e99d32cbf6450a1f0152138e
https://github.com/simstudioai/sim/pull/7895/files#diff-3f4102c851bc01170c71054100d270ba20a2d444e99d32cbf6450a1f0152138e
https://github.com/simstudioai/sim/pull/7895/files#diff-3f4102c851bc01170c71054100d270ba20a2d444e99d32cbf6450a1f0152138e
https://github.com/simstudioai/sim/pull/7895/files#diff-3f4102c851bc01170c71054100d270ba20a2d444e99d32cbf6450a1f0152138e
apps/sim/connectors/gmail/company-crawl.test.tshttps://github.com/simstudioai/sim/pull/7895/files#diff-f2af0ba5edcd354c10c532311433a12d09605d9b3b1c2c7bb45985f84c7b095b
View file https://github.com/simstudioai/sim/blob/51c655e5e5c91161747b2e7703ae0b5982c24dca/apps/sim/connectors/gmail/company-crawl.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7895/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7895/files#diff-f2af0ba5edcd354c10c532311433a12d09605d9b3b1c2c7bb45985f84c7b095b
https://github.com/simstudioai/sim/pull/7895/files#diff-f2af0ba5edcd354c10c532311433a12d09605d9b3b1c2c7bb45985f84c7b095b
https://github.com/simstudioai/sim/pull/7895/files#diff-f2af0ba5edcd354c10c532311433a12d09605d9b3b1c2c7bb45985f84c7b095b
https://github.com/simstudioai/sim/pull/7895/files#diff-f2af0ba5edcd354c10c532311433a12d09605d9b3b1c2c7bb45985f84c7b095b
apps/sim/connectors/gmail/gmail.test.tshttps://github.com/simstudioai/sim/pull/7895/files#diff-2015d76c06ae8ede41ca47189bb078baa6a2cde7161ef444be5cad6ed76f02f0
View file https://github.com/simstudioai/sim/blob/51c655e5e5c91161747b2e7703ae0b5982c24dca/apps/sim/connectors/gmail/gmail.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7895/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7895/files#diff-2015d76c06ae8ede41ca47189bb078baa6a2cde7161ef444be5cad6ed76f02f0
https://github.com/simstudioai/sim/pull/7895/files#diff-2015d76c06ae8ede41ca47189bb078baa6a2cde7161ef444be5cad6ed76f02f0
https://github.com/simstudioai/sim/pull/7895/files#diff-2015d76c06ae8ede41ca47189bb078baa6a2cde7161ef444be5cad6ed76f02f0
https://github.com/simstudioai/sim/pull/7895/files#diff-2015d76c06ae8ede41ca47189bb078baa6a2cde7161ef444be5cad6ed76f02f0
https://github.com/simstudioai/sim/pull/7895/files#diff-2015d76c06ae8ede41ca47189bb078baa6a2cde7161ef444be5cad6ed76f02f0
https://github.com/simstudioai/sim/pull/7895/files#diff-2015d76c06ae8ede41ca47189bb078baa6a2cde7161ef444be5cad6ed76f02f0
Please reload this pagehttps://github.com/simstudioai/sim/pull/7895/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7895/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.