René's URL Explorer Experiment


Title: Feat/improved logging by TheodoreSpeaks · Pull Request #3833 · simstudioai/sim · GitHub

Open Graph Title: Feat/improved logging by TheodoreSpeaks · Pull Request #3833 · simstudioai/sim

X Title: Feat/improved logging by TheodoreSpeaks · Pull Request #3833 · simstudioai/sim

Description: Summary We need additional observability into our system, even for successful calls. Add additional logs for the /execute endpoint with metadata for user id, workflow id, workspace id, execution id. Reverted change to upgrade mothership chat logs to error. I upgraded our logging system to INFO, so all logs should start showing up. New formatting: [2026-03-28T14:32:01.500Z] [DEBUG] [ExecutionLogger] {workflowId=wf-9f3e workspaceId=ws-7720 executionId=exec-88f2} Starting workflow execution [2026-03-28T14:32:01.512Z] [DEBUG] [ExecutionLogger] {workflowId=wf-9f3e workspaceId=ws-7720 executionId=exec-88f2} Created workflow log {"logId":"log-ab12"} [2026-03-28T14:32:02.200Z] [DEBUG] [ExecutionLogger] {executionId=exec-88f2} Completing workflow execution {"isResume":false} [2026-03-28T14:32:02.350Z] [ERROR] [ExecutionLogger] {workflowId=wf-9f3e executionId=exec-88f2} Workflow not found for user stats update Type of Change Bug fix New feature Breaking change Documentation Other: ___________ Testing Ran workflow execution and validated new metadata logs are shown 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) Screenshots/Videos

Open Graph Description: Summary We need additional observability into our system, even for successful calls. Add additional logs for the /execute endpoint with metadata for user id, workflow id, workspace id, execution id...

X Description: Summary We need additional observability into our system, even for successful calls. Add additional logs for the /execute endpoint with metadata for user id, workflow id, workspace id, execution id...

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

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:16fd5d2c-17ae-9db9-fb9f-737d9a35ed23
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC996:2F3575:BF2CBF:10FF06F:6AFB5F00
html-safe-nonce4f956ca288d24329539bc1e434d1d19624a77369936c8d8f90f22e3004993aaa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTk2OjJGMzU3NTpCRjJDQkY6MTBGRjA2Rjo2QUZCNUYwMCIsInZpc2l0b3JfaWQiOiIyODc5MzAyNjk3ODYzNTY5MTUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac89dae7a21d79edd31c1517809c1048e25d74b41bc06a9bb16a965df1f2df1bd4
hovercard-subject-tagpull_request:3461434014
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/3833/files
twitter:imagehttps://avatars.githubusercontent.com/u/19564703?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/19564703?s=400&v=4
og:image:altSummary We need additional observability into our system, even for successful calls. Add additional logs for the /execute endpoint with metadata for user id, workflow id, workspace id, execution id...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/3833/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3833%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%2F3833%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/3833/files
Reloadhttps://github.com/simstudioai/sim/pull/3833/files
Reloadhttps://github.com/simstudioai/sim/pull/3833/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
TheodoreSpeakshttps://github.com/TheodoreSpeaks
staginghttps://github.com/simstudioai/sim/tree/staging
feat/improved-logginghttps://github.com/simstudioai/sim/tree/feat/improved-logging
Conversation 13 https://github.com/simstudioai/sim/pull/3833
Commits 11 https://github.com/simstudioai/sim/pull/3833/commits
Checks 11 https://github.com/simstudioai/sim/pull/3833/checks
Files changed https://github.com/simstudioai/sim/pull/3833/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3833/files
Feat/improved logging https://github.com/simstudioai/sim/pull/3833/files#top
Show all changes 11 commits https://github.com/simstudioai/sim/pull/3833/files
1235625 feat(logs): add additional metadata for workflow execution logs Mar 28, 2026 https://github.com/simstudioai/sim/pull/3833/commits/12356252e0561728b663d2980a5a8c002bb6545d
584ac10 Revert "Feat(logs) upgrade mothership chat messages to error (#3772)" Mar 28, 2026 https://github.com/simstudioai/sim/pull/3833/commits/584ac10fb88b2903679c95ae5a0d78be13f8b189
c64795b Fix lint, address greptile comments Mar 28, 2026 https://github.com/simstudioai/sim/pull/3833/commits/c64795b50db618caac18ea7211565c274ea0abd1
dc6d0e9 improvement(sidebar): expand sidebar by hovering and clicking the edg… waleedlatif1 Mar 28, 2026 https://github.com/simstudioai/sim/pull/3833/commits/dc6d0e94d8b41e4d1ba5a51375c4493b2f3db3bd
223e2d8 feat(ui): handle image paste (#3826) TheodoreSpeaks Mar 28, 2026 https://github.com/simstudioai/sim/pull/3833/commits/223e2d831e6c3342c0ad901b1191005e9958ce4b
f181d1f feat(files): interactive markdown checkbox toggling in preview (#3829) waleedlatif1 Mar 28, 2026 https://github.com/simstudioai/sim/pull/3833/commits/f181d1f049d9c0a3a67a3abf5d9c6b086208b126
de8f53e improvement(home): position @ mention popup at caret and fix icon con… waleedlatif1 Mar 28, 2026 https://github.com/simstudioai/sim/pull/3833/commits/de8f53ee827f218551a953d811185190ad75ac3b
eaaf644 improvement(ui): sidebar (#3832) waleedlatif1 Mar 28, 2026 https://github.com/simstudioai/sim/pull/3833/commits/eaaf644f1f07c802483c6aa514a74668bab59d79
f8fe447 Fix logger tests Mar 29, 2026 https://github.com/simstudioai/sim/pull/3833/commits/f8fe4479c0dbc520a1e15a2e2fd8ce6040b6a4b3
822f7a6 Add metadata to mothership logs Mar 30, 2026 https://github.com/simstudioai/sim/pull/3833/commits/822f7a617cef262c50419b77962bb5d35c6291c9
bb5702a Merge branch 'staging' into feat/improved-logging Mar 30, 2026 https://github.com/simstudioai/sim/pull/3833/commits/bb5702ae2907cec5d9266651ce0234ab6c1d29e0
Clear filters https://github.com/simstudioai/sim/pull/3833/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3833/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3833/files
route.ts https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
route.ts https://github.com/simstudioai/sim/pull/3833/files#diff-67550e26df6fbd5420afe28d70064a844ce74d9de2e939acf2f0516ab0846f8d
route.ts https://github.com/simstudioai/sim/pull/3833/files#diff-d395799e1832a78abe482908ee9d11258195ed5a102a98aba269c3f022186115
route.ts https://github.com/simstudioai/sim/pull/3833/files#diff-4c5e8c40518ea807e723d9aa9ba2b447c98e3ac89dbcb79481be95192b4aef2b
route.ts https://github.com/simstudioai/sim/pull/3833/files#diff-1036208adcde3ef6e85de1660e2984953d1984a15fcb53965879ebb32bdefe18
route.ts https://github.com/simstudioai/sim/pull/3833/files#diff-cce65898fa7da12ab1a7a461639c3a27afc8684e6a18d1605cb2e0b43e6ed582
route.async.test.ts https://github.com/simstudioai/sim/pull/3833/files#diff-4fdd9c4e95852b855ff84d9c22a98a20cd5d8bcba347038993756118cd80e9f5
route.ts https://github.com/simstudioai/sim/pull/3833/files#diff-66f204feb589208a932d4b6c514237d545b8f1e9746092bbc35345f49570a9be
block-executor.ts https://github.com/simstudioai/sim/pull/3833/files#diff-56a5432011895e99101ab4af087446b215bca1a2b216e3c44a5087a11223000d
engine.ts https://github.com/simstudioai/sim/pull/3833/files#diff-8fc33da0f336e4f8e9c4cef6bdcb2297ffb3bc693d739245b28cde225130de22
executor.ts https://github.com/simstudioai/sim/pull/3833/files#diff-749f8b453a93eaba5cab96f549bbc618400c2aead886a3444c868730c511dc1b
chat-payload.test.ts https://github.com/simstudioai/sim/pull/3833/files#diff-10b6b7cbc51d0ac625c40ed9356221e5182ece201ab04f9f3a1b28175d5cbbef
chat-payload.ts https://github.com/simstudioai/sim/pull/3833/files#diff-73ab03e3b309504005a2dd5e62ff85fe02b6617264c7814042a0cb694ffdfa60
chat-streaming.ts https://github.com/simstudioai/sim/pull/3833/files#diff-fb0a2ed8d90a7106ff709552dea6371a9b8b67889a33906a5274d15def63c298
index.ts https://github.com/simstudioai/sim/pull/3833/files#diff-b9848d6cffbd9b76ee7a0fb2909f66bd74c2e217855065a5f6f95ada14067c44
handlers.ts https://github.com/simstudioai/sim/pull/3833/files#diff-aa129d53ccbe2f476dcdbf4716339b16a18a6daf9ccbf22cbba2bb3705b8ee92
tool-execution.ts https://github.com/simstudioai/sim/pull/3833/files#diff-776121b24510728db01d7f484492deb3dc6b8f2826e93e70b469da134267da22
core.ts https://github.com/simstudioai/sim/pull/3833/files#diff-6d20f279aab9358d63e145264ce586c2ce1c23183155b0ceec18f78af30b4481
index.ts https://github.com/simstudioai/sim/pull/3833/files#diff-a2a9b6dfce15894f15ccf852fdfd171e1854c54f84904cb6c2af8810c264b34e
download-to-workspace-file.ts https://github.com/simstudioai/sim/pull/3833/files#diff-3fc6af181999bc2565442281b7e98c9593ac7629caf2f0685106cda2cdceeb0a
workspace-file.ts https://github.com/simstudioai/sim/pull/3833/files#diff-6a374a17820848e0319c0803d12a4c2973a76b3833f1e2d573e37d6529c3270a
generate-image.ts https://github.com/simstudioai/sim/pull/3833/files#diff-9f2aaaedcd84917b4bdfa3369dd592523796bc2b567b557e142cc18545303643
get-job-logs.ts https://github.com/simstudioai/sim/pull/3833/files#diff-8543ec1a172d5374db0e0c090324112e59640e0ee64cad730c40bd3cf7dae038
knowledge-base.ts https://github.com/simstudioai/sim/pull/3833/files#diff-8d982a6c91da9f185f677492a89351171826dc834b3bb5c5923e776986d5027a
router.ts https://github.com/simstudioai/sim/pull/3833/files#diff-ce5afc681051e0e65ece70cc68c705dc5b621d85bfc9e97867984501c58dd369
user-table.ts https://github.com/simstudioai/sim/pull/3833/files#diff-f226f84ebf59d60c85e117fec4b44d258fed6a0a424dc27695e921ceee6a1d41
generate-visualization.ts https://github.com/simstudioai/sim/pull/3833/files#diff-77c01651e0c8b3592fed25603660f1c71324a878afbb356d666c32cf89f2eaa7
logger.ts https://github.com/simstudioai/sim/pull/3833/files#diff-c93eef5145bbe011ec0c231c435952a4a5d8f1826332935030595b98b5980ee6
index.test.ts https://github.com/simstudioai/sim/pull/3833/files#diff-77afe35db02ed4a3b948b79b41c5de9f96366ffdd050a5a4ac2bec8aaaa9017a
index.ts https://github.com/simstudioai/sim/pull/3833/files#diff-28fa80c3ade4a6f73b01125812c6da6d545508404cea375af71fac932fd5595a
logger.mock.ts https://github.com/simstudioai/sim/pull/3833/files#diff-56ae39103f37a43fd14cd22a4212e4057996141e348c48ce089b8884ab5e0052
apps/sim/app/api/copilot/chat/route.tshttps://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
View file https://github.com/simstudioai/sim/blob/bb5702ae2907cec5d9266651ce0234ab6c1d29e0/apps/sim/app/api/copilot/chat/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3833/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
https://github.com/simstudioai/sim/pull/3833/files#diff-3863cae4091e0a53eb3fefdf49429a5ef0cbe411bd7ff5913190717e5eecfa9b
Please reload this pagehttps://github.com/simstudioai/sim/pull/3833/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3833/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.