| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:1b835f74-6c5a-0b5b-41ee-9883630dbce1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B2E4:27DCD7:8B00CD:BE559E:6AFB478A |
| html-safe-nonce | 3765f21bfa833448884a1860bbb1b429e83390b3c85994cfc4cfcdf5110a20b7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkU0OjI3RENENzo4QjAwQ0Q6QkU1NTlFOjZBRkI0NzhBIiwidmlzaXRvcl9pZCI6IjE1MzQ3MDYxMTAwMzAzNjY2MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 720427695b0dfe61322526515cf327757e362b3b6bcb711caf812dabde86facd |
| hovercard-subject-tag | pull_request:4010234404 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/simstudioai/sim/5492/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/129888662ef6f3490b4b851095a2e8ca7a50cc206295e8afcb59aa8d2d03c8ca/simstudioai/sim/pull/5492 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/129888662ef6f3490b4b851095a2e8ca7a50cc206295e8afcb59aa8d2d03c8ca/simstudioai/sim/pull/5492 |
| og:image:alt | Summary
Make the "X running" badge server-authoritative: drop the fragile per-event ±1 client deltas and the dead dispatch-scope runningCellCount; refetch the run-state snapshot on a lea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TheodoreSpeaks |
| hostname | github.com |
| expected-hostname | github.com |
| None | acf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1 |
| turbo-cache-control | no-cache |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 26504db649b58525278f77a52b80ba5f10d5f4de |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/simstudioai/sim/pull/5492#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5492 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5492 |
| Sign up | https://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=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/5492 |
| Reload | https://github.com/simstudioai/sim/pull/5492 |
| Reload | https://github.com/simstudioai/sim/pull/5492 |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests199 (199) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| https://github.com/simstudioai/sim |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/table-running-number | https://github.com/simstudioai/sim/tree/fix/table-running-number |
| Conversation | https://github.com/simstudioai/sim/pull/5492 |
| Commits8 (8) | https://github.com/simstudioai/sim/pull/5492/commits |
| Checks | https://github.com/simstudioai/sim/pull/5492/checks |
| Files changed | https://github.com/simstudioai/sim/pull/5492/files |
| fix(tables): server-authoritative run badge, tail SSE from latest, harden Stop-all | https://github.com/simstudioai/sim/pull/5492#top |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/table-running-number | https://github.com/simstudioai/sim/tree/fix/table-running-number |
|
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5492#issue-4832580419 |
| Contributor License Agreement (CLA) | https://github.com/simstudioai/sim/pull/CONTRIBUTING.md#contributor-license-agreement-cla |
| Claude Code | https://claude.com/claude-code |
| https://claude.ai/code/session_013d4zXsMMwVBmXk33JBok7d | https://claude.ai/code/session_013d4zXsMMwVBmXk33JBok7d |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
|
| https://github.com/TheodoreSpeaks |
| fix(tables): server-authoritative run badge, tail SSE from latest, ha… | https://github.com/simstudioai/sim/pull/5492/commits/e8b705b63f93dc348e0d8a3e425b817deca338c0 |
| e8b705b | https://github.com/simstudioai/sim/pull/5492/commits/e8b705b63f93dc348e0d8a3e425b817deca338c0 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5492#issuecomment-4909470532 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| Vercel for GitHub | https://vercel.link/github-learn-more |
| docs | https://vercel.com/sim-studio/docs |
| https://camo.githubusercontent.com/1bb29feed7826aff3191ae8ff19d3c61e80fc99f9cc9373030210090f890893b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f63616e63656c65642e737667 |
| Skipped | https://vercel.com/sim-studio/docs/H1avsX23wPpsGiQbLDNY83dApfCC |
| https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=5492 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5492#issuecomment-4909470986 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| Cursor Bugbot | https://cursor.com/bugbot |
| a5a39a8 | https://github.com/simstudioai/sim/commit/a5a39a86831628773d0923a0cc4223c66680df5e |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5492#pullrequestreview-4649322566 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5492/files/e8b705b63f93dc348e0d8a3e425b817deca338c0 |
| apps/sim/lib/table/workflow-columns.ts | https://github.com/simstudioai/sim/pull/5492/files/e8b705b63f93dc348e0d8a3e425b817deca338c0#diff-2d2727f03b87c89b81e1bc74ad4faea8bf94a1d679ddf9b1ec098a8b22c83019 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
|
| https://github.com/TheodoreSpeaks |
| fix(tables): return null dispatchId when Stop-all cancels a run durin… | https://github.com/simstudioai/sim/pull/5492/commits/ed3b78a74998db1bb9c521fd60aa0518548127b3 |
| ed3b78a | https://github.com/simstudioai/sim/pull/5492/commits/ed3b78a74998db1bb9c521fd60aa0518548127b3 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-nn2e6fb4h-sim-studio.vercel.app |
| July 7, 2026 22:12 | https://github.com/simstudioai/sim/pull/5492#event-27687962252 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5492#issuecomment-4909513492 |
| @greptile | https://github.com/greptile |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5492#issuecomment-4909527814 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
|
%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
participant C as Client
participant SQ as Dispatches API
participant SS as SSE Stream
participant DB as Database
Note over C,DB: Fresh mount
C->>SQ: GET /dispatches
SQ->>DB: countRunningCells + listActiveDispatches
DB-->>SQ: runningByRowId, hasRunning, dispatches
SQ-->>C: run-state snapshot
C->>SS: GET /events/stream (no from)
SS->>DB: getLatestTableEventId
DB-->>SS: latestId
SS-->>C: stream from latestId only
Note over C,DB: Cell events burst
SS-->>C: cell event N
C->>C: applyCell + scheduleDispatchInvalidate (leading)
C->>SQ: GET /dispatches (cancelRefetch false)
SQ-->>C: updated counts
SS-->>C: cell events N+1 to N+20
C->>C: trailing timer fires after 1s
C->>SQ: GET /dispatches
SQ-->>C: final counts
Note over C,DB: Stop-all
C->>C: cancelQueries + optimistic zero
C->>SQ: POST /cancel
SQ->>DB: markActiveDispatchesCancelled
SQ-->>C: 200 OK
C->>SQ: invalidateQueries onSettled
SQ-->>C: reconciled run-state
Note over C,DB: Reconnect after error
SS--xC: connection lost
C->>SS: "GET /events/stream?from=lastEventId"
SS-->>C: replay and resume
Loading
| https://github.com/simstudioai/sim/pull/5492#gh-light-mode-only |
|
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
participant C as Client
participant SQ as Dispatches API
participant SS as SSE Stream
participant DB as Database
Note over C,DB: Fresh mount
C->>SQ: GET /dispatches
SQ->>DB: countRunningCells + listActiveDispatches
DB-->>SQ: runningByRowId, hasRunning, dispatches
SQ-->>C: run-state snapshot
C->>SS: GET /events/stream (no from)
SS->>DB: getLatestTableEventId
DB-->>SS: latestId
SS-->>C: stream from latestId only
Note over C,DB: Cell events burst
SS-->>C: cell event N
C->>C: applyCell + scheduleDispatchInvalidate (leading)
C->>SQ: GET /dispatches (cancelRefetch false)
SQ-->>C: updated counts
SS-->>C: cell events N+1 to N+20
C->>C: trailing timer fires after 1s
C->>SQ: GET /dispatches
SQ-->>C: final counts
Note over C,DB: Stop-all
C->>C: cancelQueries + optimistic zero
C->>SQ: POST /cancel
SQ->>DB: markActiveDispatchesCancelled
SQ-->>C: 200 OK
C->>SQ: invalidateQueries onSettled
SQ-->>C: reconciled run-state
Note over C,DB: Reconnect after error
SS--xC: connection lost
C->>SS: "GET /events/stream?from=lastEventId"
SS-->>C: replay and resume
Loading
| https://github.com/simstudioai/sim/pull/5492#gh-dark-mode-only |
| "fix(tables): widen warm-cache remount ch..." | https://github.com/simstudioai/sim/commit/a5a39a86831628773d0923a0cc4223c66680df5e |
| Re-trigger Greptile | https://app.greptile.com/api/retrigger?id=42534629 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5492#pullrequestreview-4649359529 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5492/files/ed3b78a74998db1bb9c521fd60aa0518548127b3 |
| apps/sim/lib/table/workflow-columns.ts | https://github.com/simstudioai/sim/pull/5492/files/ed3b78a74998db1bb9c521fd60aa0518548127b3#diff-2d2727f03b87c89b81e1bc74ad4faea8bf94a1d679ddf9b1ec098a8b22c83019 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| apps/sim/app/workspace/[workspaceId]/tables/[tableId]/hooks/use-table-event-stream.ts | https://github.com/simstudioai/sim/pull/5492/files/ed3b78a74998db1bb9c521fd60aa0518548127b3#diff-c60c72baa945552c031a0f8e07bd9ed12985b66f2c59e482419816966baee8e6 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
|
| https://github.com/TheodoreSpeaks |
| improvement(tables): co-locate dispatcher imports, stamp throttle clo… | https://github.com/simstudioai/sim/pull/5492/commits/ab40f49075d347b90f60b001dd7891c2af73d730 |
| ab40f49 | https://github.com/simstudioai/sim/pull/5492/commits/ab40f49075d347b90f60b001dd7891c2af73d730 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5492#issuecomment-4909540699 |
| @greptile | https://github.com/greptile |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-4t5v34tst-sim-studio.vercel.app |
| July 7, 2026 22:17 | https://github.com/simstudioai/sim/pull/5492#event-27688102565 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5492#pullrequestreview-4649381010 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5492/files/ab40f49075d347b90f60b001dd7891c2af73d730 |
| apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table-grid/table-grid.tsx | https://github.com/simstudioai/sim/pull/5492/files/ab40f49075d347b90f60b001dd7891c2af73d730#diff-264141b75a0ee2c4464df4bb6f5722cd982587470cf162e5aae9de04c84fbc0e |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| apps/sim/app/api/table/[tableId]/events/stream/route.ts | https://github.com/simstudioai/sim/pull/5492/files/ab40f49075d347b90f60b001dd7891c2af73d730#diff-5ba6eb8f1aeb3ff155c4dc49896932a28480e428d17f6419f85eaf683947bc1a |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5492#issuecomment-4909566320 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
|
%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
participant Client
participant SSEHook as useTableEventStream
participant RQ as React Query Cache
participant Server as API / DB
Note over Client,Server: Fresh mount — tail from latest
Client->>Server: GET /dispatches (fetchTableRunState)
Server-->>RQ: "{ dispatches, runningByRowId }"
Client->>Server: GET /events/stream (no `from`)
Server->>Server: getLatestTableEventId()
Note over Server: lastEventId = N (no replay)
Server-->>SSEHook: stream starts at event N+1
Note over Client,Server: User clicks Run All
Client->>RQ: cancelQueries(activeDispatches)
Client->>RQ: setQueryData (optimistic bump)
Client->>Server: POST runWorkflowColumn
Server->>Server: insertDispatch (FIRST)
Server->>Server: cancelPriorRuns + bulkClear
Server->>Server: readDispatch (check not cancelled)
Server-->>Client: "{ dispatchId }"
Server-->>SSEHook: cell SSE events
SSEHook->>SSEHook: scheduleDispatchInvalidate (throttled)
SSEHook->>Server: GET /dispatches (refetch)
Server-->>RQ: updated runningByRowId
Note over Client,Server: User clicks Stop All
Client->>RQ: cancelQueries(activeDispatches)
Client->>RQ: setQueryData (optimistic zero)
Client->>Server: POST cancelTableRuns
Server->>Server: markActiveDispatchesCancelled
Server-->>SSEHook: dispatch cancelled SSE
SSEHook->>SSEHook: invalidateDispatchesNow (urgent)
Server-->>RQ: refetch on onSettled
Loading
| https://github.com/simstudioai/sim/pull/5492#gh-light-mode-only |
|
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
participant Client
participant SSEHook as useTableEventStream
participant RQ as React Query Cache
participant Server as API / DB
Note over Client,Server: Fresh mount — tail from latest
Client->>Server: GET /dispatches (fetchTableRunState)
Server-->>RQ: "{ dispatches, runningByRowId }"
Client->>Server: GET /events/stream (no `from`)
Server->>Server: getLatestTableEventId()
Note over Server: lastEventId = N (no replay)
Server-->>SSEHook: stream starts at event N+1
Note over Client,Server: User clicks Run All
Client->>RQ: cancelQueries(activeDispatches)
Client->>RQ: setQueryData (optimistic bump)
Client->>Server: POST runWorkflowColumn
Server->>Server: insertDispatch (FIRST)
Server->>Server: cancelPriorRuns + bulkClear
Server->>Server: readDispatch (check not cancelled)
Server-->>Client: "{ dispatchId }"
Server-->>SSEHook: cell SSE events
SSEHook->>SSEHook: scheduleDispatchInvalidate (throttled)
SSEHook->>Server: GET /dispatches (refetch)
Server-->>RQ: updated runningByRowId
Note over Client,Server: User clicks Stop All
Client->>RQ: cancelQueries(activeDispatches)
Client->>RQ: setQueryData (optimistic zero)
Client->>Server: POST cancelTableRuns
Server->>Server: markActiveDispatchesCancelled
Server-->>SSEHook: dispatch cancelled SSE
SSEHook->>SSEHook: invalidateDispatchesNow (urgent)
Server-->>RQ: refetch on onSettled
Loading
| https://github.com/simstudioai/sim/pull/5492#gh-dark-mode-only |
| link | https://github.com/simstudioai/sim/blob/ab40f49075d347b90f60b001dd7891c2af73d730/apps/sim/app/workspace/%5BworkspaceId%5D/tables/%5BtableId%5D/components/table-grid/table-grid.tsx#L441-L450 |
| https://github.com/simstudioai/sim/pull/5492 |
| link | https://github.com/simstudioai/sim/blob/ab40f49075d347b90f60b001dd7891c2af73d730/apps/sim/lib/table/workflow-columns.ts#L808-L822 |
| https://github.com/simstudioai/sim/pull/5492 |
| "improvement(tables): co-locate dispatche..." | https://github.com/simstudioai/sim/commit/ab40f49075d347b90f60b001dd7891c2af73d730 |
| Re-trigger Greptile | https://app.greptile.com/api/retrigger?id=42534629 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
|
| https://github.com/TheodoreSpeaks |
| fix(tables): table-wide hasRunning signal for Queueing label, fail fa… | https://github.com/simstudioai/sim/pull/5492/commits/f4a4bd315f4b1ab4090c13d4878e49e06c2a2616 |
| f4a4bd3 | https://github.com/simstudioai/sim/pull/5492/commits/f4a4bd315f4b1ab4090c13d4878e49e06c2a2616 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5492#issuecomment-4909586344 |
| @greptile | https://github.com/greptile |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-a24smqvj9-sim-studio.vercel.app |
| July 7, 2026 22:24 | https://github.com/simstudioai/sim/pull/5492#event-27688299333 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5492#pullrequestreview-4649407830 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5492/files/f4a4bd315f4b1ab4090c13d4878e49e06c2a2616 |
| apps/sim/hooks/queries/tables.ts | https://github.com/simstudioai/sim/pull/5492/files/f4a4bd315f4b1ab4090c13d4878e49e06c2a2616#diff-1d761ed5a7a2ed9ba4435d0f39c5f1f7ac13c177b301c401b38f5a6d731ac8cb |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| apps/sim/hooks/queries/tables.ts | https://github.com/simstudioai/sim/pull/5492/files/f4a4bd315f4b1ab4090c13d4878e49e06c2a2616#diff-1d761ed5a7a2ed9ba4435d0f39c5f1f7ac13c177b301c401b38f5a6d731ac8cb |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
|
| https://github.com/TheodoreSpeaks |
| fix(tables): clear hasRunning on table-wide stop, refetch rows when a… | https://github.com/simstudioai/sim/pull/5492/commits/64c85d1bdb498b59b4a9a3599036ea23efb0799b |
| 64c85d1 | https://github.com/simstudioai/sim/pull/5492/commits/64c85d1bdb498b59b4a9a3599036ea23efb0799b |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5492#issuecomment-4909611941 |
| @greptile | https://github.com/greptile |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-nh8no10wc-sim-studio.vercel.app |
| July 7, 2026 22:29 | https://github.com/simstudioai/sim/pull/5492#event-27688416197 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5492#pullrequestreview-4649425973 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5492/files/64c85d1bdb498b59b4a9a3599036ea23efb0799b |
| apps/sim/lib/table/workflow-columns.ts | https://github.com/simstudioai/sim/pull/5492/files/64c85d1bdb498b59b4a9a3599036ea23efb0799b#diff-2d2727f03b87c89b81e1bc74ad4faea8bf94a1d679ddf9b1ec098a8b22c83019 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
|
| https://github.com/TheodoreSpeaks |
| fix(tables): don't let dispatch-cancel cleanup mask the original prep… | https://github.com/simstudioai/sim/pull/5492/commits/188967c86c668999ce4d72fa22914eb9c38020a4 |
| 188967c | https://github.com/simstudioai/sim/pull/5492/commits/188967c86c668999ce4d72fa22914eb9c38020a4 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5492#issuecomment-4909627405 |
| @greptile | https://github.com/greptile |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-7gntrncu1-sim-studio.vercel.app |
| July 7, 2026 22:31 | https://github.com/simstudioai/sim/pull/5492#event-27688486743 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5492#pullrequestreview-4649451468 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5492/files/188967c86c668999ce4d72fa22914eb9c38020a4 |
| apps/sim/hooks/queries/tables.ts | https://github.com/simstudioai/sim/pull/5492/files/188967c86c668999ce4d72fa22914eb9c38020a4#diff-1d761ed5a7a2ed9ba4435d0f39c5f1f7ac13c177b301c401b38f5a6d731ac8cb |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
|
| https://github.com/TheodoreSpeaks |
| fix(tables): reconcile null-dispatch runs via invalidation, not stale… | https://github.com/simstudioai/sim/pull/5492/commits/0c7e829d938adecaec6eba98a38732cf7ff393b6 |
| 0c7e829 | https://github.com/simstudioai/sim/pull/5492/commits/0c7e829d938adecaec6eba98a38732cf7ff393b6 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5492#issuecomment-4909656799 |
| @greptile | https://github.com/greptile |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-2e9p0f5ge-sim-studio.vercel.app |
| July 7, 2026 22:36 | https://github.com/simstudioai/sim/pull/5492#event-27688612800 |
| https://github.com/apps/greptile-apps |
| greptile-apps | https://github.com/apps/greptile-apps |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5492#pullrequestreview-4649461457 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5492/files/0c7e829d938adecaec6eba98a38732cf7ff393b6 |
| apps/sim/lib/table/workflow-columns.ts | https://github.com/simstudioai/sim/pull/5492/files/0c7e829d938adecaec6eba98a38732cf7ff393b6#diff-2d2727f03b87c89b81e1bc74ad4faea8bf94a1d679ddf9b1ec098a8b22c83019 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Jul 7, 2026
| https://github.com/simstudioai/sim/pull/5492#pullrequestreview-4649471040 |
|
View reviewed changes
| https://github.com/simstudioai/sim/pull/5492/files/0c7e829d938adecaec6eba98a38732cf7ff393b6 |
| cursor | https://github.com/apps/cursor |
| https://github.com/simstudioai/sim/pull/5492#pullrequestreview-4649471040 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTo5ZjU4NTQ0ZC02YTVhLTRlMmItODYyOC02NGQ0MjNmN2FjODkiLCJlbmNyeXB0aW9uS2V5Ijoiei1nOXJRM2psTjczVGgxTVZmMFh5eEZMMHUzQ2hRTFRDcnNqVGoxRS1yOCIsImJyYW5jaCI6ImZpeC90YWJsZS1ydW5uaW5nLW51bWJlciIsInJlcG9Pd25lciI6InNpbXN0dWRpb2FpIiwicmVwb05hbWUiOiJzaW0ifX0 |
| Cursor dashboard | https://www.cursor.com/dashboard/bugbot |
| Cursor Bugbot | https://cursor.com/bugbot |
| 0c7e829 | https://github.com/simstudioai/sim/commit/0c7e829d938adecaec6eba98a38732cf7ff393b6 |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| apps/sim/app/api/table/[tableId]/events/stream/route.ts | https://github.com/simstudioai/sim/pull/5492/files/0c7e829d938adecaec6eba98a38732cf7ff393b6#diff-5ba6eb8f1aeb3ff155c4dc49896932a28480e428d17f6419f85eaf683947bc1a |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| apps/sim/app/workspace/[workspaceId]/tables/[tableId]/hooks/use-table-event-stream.ts | https://github.com/simstudioai/sim/pull/5492/files/0c7e829d938adecaec6eba98a38732cf7ff393b6#diff-c60c72baa945552c031a0f8e07bd9ed12985b66f2c59e482419816966baee8e6 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
|
| https://github.com/TheodoreSpeaks |
| fix(tables): widen warm-cache remount check to either query cache | https://github.com/simstudioai/sim/pull/5492/commits/a5a39a86831628773d0923a0cc4223c66680df5e |
| a5a39a8 | https://github.com/simstudioai/sim/pull/5492/commits/a5a39a86831628773d0923a0cc4223c66680df5e |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5492#issuecomment-4909687732 |
| @greptile | https://github.com/greptile |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| temporarily deployed | https://docs-8x7w10jit-sim-studio.vercel.app |
| July 7, 2026 22:41 | https://github.com/simstudioai/sim/pull/5492#event-27688746994 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| 60e3509 | https://github.com/simstudioai/sim/commit/60e3509811c9d44c404b9d05b32647b050b953e5 |
| Jul 7, 2026 | https://github.com/simstudioai/sim/pull/5492#event-27689233274 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| https://github.com/TheodoreSpeaks |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| July 7, 2026 23:01 | https://github.com/simstudioai/sim/pull/5492#event-27689234542 |
| https://github.com/waleedlatif1 |
| waleedlatif1 | https://github.com/waleedlatif1 |
|
Jul 8, 2026
| https://github.com/simstudioai/sim/pull/5492#ref-pullrequest-4833475398 |
|
v0.7.26: API block default headers fix, tables perf and correctness, landing redesign
#5500
| https://github.com/simstudioai/sim/pull/5500 |
| Deployed | https://docs-8x7w10jit-sim-studio.vercel.app |
| vercel[bot] | https://github.com/apps/vercel |
|
View deployment
| https://docs-8x7w10jit-sim-studio.vercel.app |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5492 |
|
| https://github.com/apps/greptile-apps |
|
greptile-apps[bot]
| https://github.com/apps/greptile-apps |
|
| https://github.com/simstudioai/sim/pull/5492/files/0c7e829d938adecaec6eba98a38732cf7ff393b6 |
|
| https://github.com/apps/cursor |
|
cursor[bot]
| https://github.com/apps/cursor |
|
| https://github.com/simstudioai/sim/pull/5492/files/0c7e829d938adecaec6eba98a38732cf7ff393b6 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
| Please reload this page | https://github.com/simstudioai/sim/pull/5492 |
|
| https://github.com/TheodoreSpeaks |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |