René's URL Explorer Experiment


Title: fix(logs): stabilize callbacks and memo-wrap components to eliminate re-render cascade by waleedlatif1 · Pull Request #3222 · simstudioai/sim · GitHub

Open Graph Title: fix(logs): stabilize callbacks and memo-wrap components to eliminate re-render cascade by waleedlatif1 · Pull Request #3222 · simstudioai/sim

X Title: fix(logs): stabilize callbacks and memo-wrap components to eliminate re-render cascade by waleedlatif1 · Pull Request #3222 · simstudioai/sim

Description: Summary Replace selectedLogId + isSidebarOpen useState with useReducer for stable dispatch Stabilize all callbacks (handleLogClick, handleNavigateNext/Prev, handleRefresh, handleToggleLive, loadMoreLogs, handleExport) via refs and stable dispatch Memo-wrap LogsToolbar, LogRowContextMenu, NotificationSettings, WorkflowOutputSection, Dashboard, SubBlockRow, ViewerInner Add custom areStatusBarPropsEqual comparator for structural segment comparison Add execution data stabilization layer in Dashboard to reuse previous references across polls Fix WorkflowsList/StatusBar barrel exports that were bypassing memo Add timer cleanup for all setTimeout calls to prevent unmounted state updates Remove dead code: scrollContainerRef, barsAreaRef, useAlertRule state, as any cast Fix relative import to absolute path Type of Change Bug fix Performance improvement Testing Tested manually with React Scan profiling 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 Replace selectedLogId + isSidebarOpen useState with useReducer for stable dispatch Stabilize all callbacks (handleLogClick, handleNavigateNext/Prev, handleRefresh, handleToggleLive, loadMo...

X Description: Summary Replace selectedLogId + isSidebarOpen useState with useReducer for stable dispatch Stabilize all callbacks (handleLogClick, handleNavigateNext/Prev, handleRefresh, handleToggleLive, loadMo...

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

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:949dc52d-d1e5-94dd-16b3-ab887eefe63f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE59A:1FFEE4:9176B8:CE82DF:6AFB515D
html-safe-noncecd690b0194a6d2d49cb8b444939c558f186f04a191ba91be5cf2bb4158693e33
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTlBOjFGRkVFNDo5MTc2Qjg6Q0U4MkRGOjZBRkI1MTVEIiwidmlzaXRvcl9pZCI6Ijc5MzI5OTU0MzE0OTM3NTExMzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac948767bfd2aa83ec0ee85d4adc4e8e70c40c24faf12d87b28f96d03c761eddff
hovercard-subject-tagpull_request:3285166386
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/3222/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 Replace selectedLogId + isSidebarOpen useState with useReducer for stable dispatch Stabilize all callbacks (handleLogClick, handleNavigateNext/Prev, handleRefresh, handleToggleLive, loadMo...
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/3222/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F3222%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%2F3222%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/3222/files
Reloadhttps://github.com/simstudioai/sim/pull/3222/files
Reloadhttps://github.com/simstudioai/sim/pull/3222/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/logs-loadinghttps://github.com/simstudioai/sim/tree/fix/logs-loading
Conversation 22 https://github.com/simstudioai/sim/pull/3222
Commits 5 https://github.com/simstudioai/sim/pull/3222/commits
Checks 11 https://github.com/simstudioai/sim/pull/3222/checks
Files changed https://github.com/simstudioai/sim/pull/3222/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3222/files
fix(logs): stabilize callbacks and memo-wrap components to eliminate re-render cascade https://github.com/simstudioai/sim/pull/3222/files#top
Show all changes 5 commits https://github.com/simstudioai/sim/pull/3222/files
72d613e fix(logs): instant log detail panel with initialData and hover prefetch waleedlatif1 Feb 14, 2026 https://github.com/simstudioai/sim/pull/3222/commits/72d613e92a8ebe23f6c98cdce7d7af728bad3dca
363ee59 fix(logs): stabilize callbacks and memo-wrap components to eliminate … waleedlatif1 Feb 14, 2026 https://github.com/simstudioai/sim/pull/3222/commits/363ee594fdee320f877fcc9aad2f2239e453cdd7
11b46bf fix(logs): sync logsQueryRef during render to prevent stale infinite … waleedlatif1 Feb 14, 2026 https://github.com/simstudioai/sim/pull/3222/commits/11b46bff6296f22e535212bd417c4a03b18126c9
9f98f59 fix(logs): sync refetch refs during render, fix handleToggleLive stal… waleedlatif1 Feb 14, 2026 https://github.com/simstudioai/sim/pull/3222/commits/9f98f59cc706662eecbc7353ee2cf932c93b595c
ca0105a ack PR comments waleedlatif1 Feb 15, 2026 https://github.com/simstudioai/sim/pull/3222/commits/ca0105acebd5d17218ca0662eecb60cc343bf030
Clear filters https://github.com/simstudioai/sim/pull/3222/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3222/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/3222/files
index.ts https://github.com/simstudioai/sim/pull/3222/files#diff-67c8578ca91d659b5b3381b0af99b985305a7f972525c2b78e2c95fb16843392
status-bar.tsx https://github.com/simstudioai/sim/pull/3222/files#diff-bf9171ca7e3c9a8a62f2db7796f1182832c3ff2473c7acb54428ff0c2d8fe0c7
index.ts https://github.com/simstudioai/sim/pull/3222/files#diff-c2402cdb9271b1f602ec0601edadb05df0e7deb6d3e31397ffbe54b41978d660
workflows-list.tsx https://github.com/simstudioai/sim/pull/3222/files#diff-7995827138d8399fb29ed645b2a788abb3dd4c167041110d2c30560206085f00
dashboard.tsx https://github.com/simstudioai/sim/pull/3222/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
log-details.tsx https://github.com/simstudioai/sim/pull/3222/files#diff-a0c3ab334c9c5dfb51e5b957a4df264e82a008965e06268dc8b8fad438b637ba
log-row-context-menu.tsx https://github.com/simstudioai/sim/pull/3222/files#diff-c06460aa4be706ce12b14ad437e6f486310690347f567b57131196b6fe7b47dc
logs-list.tsx https://github.com/simstudioai/sim/pull/3222/files#diff-2201c690363d97e41b24d309c6788ca496aad47ccdad2ab82ba1264ee3b113b2
notifications.tsx https://github.com/simstudioai/sim/pull/3222/files#diff-5f897be190c954a369dc4515cbdb088ff489d101a84a9c89472a643ccdc74b9f
logs-toolbar.tsx https://github.com/simstudioai/sim/pull/3222/files#diff-17726d7290226263b792d577d751b57718403b20ebcd2678f30d73d75a98fdc2
logs.tsx https://github.com/simstudioai/sim/pull/3222/files#diff-7e8687c87d3458a17d7dab33773b35cfe0c15b0efe5078d511cc6ea3f0d01bb9
block.tsx https://github.com/simstudioai/sim/pull/3222/files#diff-7998261b1cc0f8f2ab9f87319f660abb01447bac47e3b1cf5b456462d882a504
code.tsx https://github.com/simstudioai/sim/pull/3222/files#diff-2410b9d2e5387f5d7a020df2e08d15e4c0c3673f436d381dfee743025de53307
logs.ts https://github.com/simstudioai/sim/pull/3222/files#diff-722505727ce697191ca949b9489f37fc62dc6e71c72fd368a4cb745ec045e3ca
.../sim/app/workspace/[workspaceId]/logs/components/dashboard/components/status-bar/index.tshttps://github.com/simstudioai/sim/pull/3222/files#diff-67c8578ca91d659b5b3381b0af99b985305a7f972525c2b78e2c95fb16843392
View file https://github.com/simstudioai/sim/blob/ca0105acebd5d17218ca0662eecb60cc343bf030/apps/sim/app/workspace/%5BworkspaceId%5D/logs/components/dashboard/components/status-bar/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3222/{{ revealButtonHref }}
...pp/workspace/[workspaceId]/logs/components/dashboard/components/status-bar/status-bar.tsxhttps://github.com/simstudioai/sim/pull/3222/files#diff-bf9171ca7e3c9a8a62f2db7796f1182832c3ff2473c7acb54428ff0c2d8fe0c7
View file https://github.com/simstudioai/sim/blob/ca0105acebd5d17218ca0662eecb60cc343bf030/apps/sim/app/workspace/%5BworkspaceId%5D/logs/components/dashboard/components/status-bar/status-bar.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3222/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/3222/files#diff-bf9171ca7e3c9a8a62f2db7796f1182832c3ff2473c7acb54428ff0c2d8fe0c7
https://github.com/simstudioai/sim/pull/3222/files#diff-bf9171ca7e3c9a8a62f2db7796f1182832c3ff2473c7acb54428ff0c2d8fe0c7
https://github.com/simstudioai/sim/pull/3222/files#diff-bf9171ca7e3c9a8a62f2db7796f1182832c3ff2473c7acb54428ff0c2d8fe0c7
.../app/workspace/[workspaceId]/logs/components/dashboard/components/workflows-list/index.tshttps://github.com/simstudioai/sim/pull/3222/files#diff-c2402cdb9271b1f602ec0601edadb05df0e7deb6d3e31397ffbe54b41978d660
View file https://github.com/simstudioai/sim/blob/ca0105acebd5d17218ca0662eecb60cc343bf030/apps/sim/app/workspace/%5BworkspaceId%5D/logs/components/dashboard/components/workflows-list/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3222/{{ revealButtonHref }}
...pace/[workspaceId]/logs/components/dashboard/components/workflows-list/workflows-list.tsxhttps://github.com/simstudioai/sim/pull/3222/files#diff-7995827138d8399fb29ed645b2a788abb3dd4c167041110d2c30560206085f00
View file https://github.com/simstudioai/sim/blob/ca0105acebd5d17218ca0662eecb60cc343bf030/apps/sim/app/workspace/%5BworkspaceId%5D/logs/components/dashboard/components/workflows-list/workflows-list.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3222/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/3222/files#diff-7995827138d8399fb29ed645b2a788abb3dd4c167041110d2c30560206085f00
https://github.com/simstudioai/sim/pull/3222/files#diff-7995827138d8399fb29ed645b2a788abb3dd4c167041110d2c30560206085f00
https://github.com/simstudioai/sim/pull/3222/files#diff-7995827138d8399fb29ed645b2a788abb3dd4c167041110d2c30560206085f00
https://github.com/simstudioai/sim/pull/3222/files#diff-7995827138d8399fb29ed645b2a788abb3dd4c167041110d2c30560206085f00
apps/sim/app/workspace/[workspaceId]/logs/components/dashboard/dashboard.tsxhttps://github.com/simstudioai/sim/pull/3222/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
View file https://github.com/simstudioai/sim/blob/ca0105acebd5d17218ca0662eecb60cc343bf030/apps/sim/app/workspace/%5BworkspaceId%5D/logs/components/dashboard/dashboard.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/3222/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/3222/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
https://github.com/simstudioai/sim/pull/3222/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
Please reload this pagehttps://github.com/simstudioai/sim/pull/3222/files
https://github.com/simstudioai/sim/pull/3222/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
https://github.com/simstudioai/sim/pull/3222/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
Please reload this pagehttps://github.com/simstudioai/sim/pull/3222/files
https://github.com/simstudioai/sim/pull/3222/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
https://github.com/simstudioai/sim/pull/3222/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
https://github.com/simstudioai/sim/pull/3222/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
https://github.com/simstudioai/sim/pull/3222/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
https://github.com/simstudioai/sim/pull/3222/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
https://github.com/simstudioai/sim/pull/3222/files#diff-c31dceb7393dc4a082840be2091a9d4a299a463da3bcaef2bb0eeed29954e762
Please reload this pagehttps://github.com/simstudioai/sim/pull/3222/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.