Title: bug: useRealtimeRunsWithTag hides runs older than 24h even with createdAt: '1w' · Issue #3018 · triggerdotdev/trigger.dev · GitHub
Open Graph Title: bug: useRealtimeRunsWithTag hides runs older than 24h even with createdAt: '1w' · Issue #3018 · triggerdotdev/trigger.dev
X Title: bug: useRealtimeRunsWithTag hides runs older than 24h even with createdAt: '1w' · Issue #3018 · triggerdotdev/trigger.dev
Description: Provide environment information N/A Describe the bug Runs that have been running for 24+ hours (or created more than 24 hours ago) do not appear in useRealtimeRunsWithTag on the client, even when passing createdAt: '1w'. They are visible...
Open Graph Description: Provide environment information N/A Describe the bug Runs that have been running for 24+ hours (or created more than 24 hours ago) do not appear in useRealtimeRunsWithTag on the client, even when p...
X Description: Provide environment information N/A Describe the bug Runs that have been running for 24+ hours (or created more than 24 hours ago) do not appear in useRealtimeRunsWithTag on the client, even when p...
Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/3018
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: useRealtimeRunsWithTag hides runs older than 24h even with createdAt: '1w'","articleBody":"### Provide environment information\n\nN/A\n\n### Describe the bug\n\nRuns that have been running for 24+ hours (or created more than 24 hours ago) do not appear in `useRealtimeRunsWithTag` on the client, even when passing `createdAt: '1w'`. They are visible via `runs.list` and in the dashboard.\n\n**Expected:** With `createdAt: '1w'`, all runs with the given tag from the last week (including long-running ones) are streamed and appear in the hook.\n\n**Actual:** The realtime endpoint caps the `createdAt` filter to `REALTIME_MAXIMUM_CREATED_AT_FILTER_AGE_IN_MS` (default 24h). So only runs created in the last 24 hours are included; runs older than that are excluded regardless of the client's `createdAt` value.\n\n### Reproduction repo\n\nn/a\n\n### To reproduce\n\n1. Create a run with a tag and let it run (or sit in a waiting state) for 24+ hours.\n2. In the app, use `useRealtimeRunsWithTag('your-tag', { createdAt: '1w' })`.\n3. The run does not appear in the hook's `runs` array, but it does appear in `runs.list` and in the dashboard.\n\n### Additional information\n\n- Root cause: `apps/webapp/app/services/realtimeClient.server.ts` → `#calculateCreatedAtFilter` clamps the filter to `env.REALTIME_MAXIMUM_CREATED_AT_FILTER_AGE_IN_MS` (default 24h in `env.server.ts`).\n- No client-side workaround; the cap is applied server-side.\n- Fix: increase the default (or make it configurable), or allow the client's requested window up to a defined max.","author":{"url":"https://github.com/isshaddad","@type":"Person","name":"isshaddad"},"datePublished":"2026-02-09T22:40:50Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/3018"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e9b1db28-ebf2-feb0-9648-8320fc563c0b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C880:BD35:368F72:506450:6AFAE51A |
| html-safe-nonce | 0a00474fa1f84e62d270f749bbf16988498f2f0a6d60fa5b7158914fc0f68e08 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODgwOkJEMzU6MzY4RjcyOjUwNjQ1MDo2QUZBRTUxQSIsInZpc2l0b3JfaWQiOiI4ODc5MzU1MjQyODIzMjE0MzYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6aaf8c6079056afd0e964c0a942c0bd6080b95cb0a8a3bc08d22705131deea49 |
| hovercard-subject-tag | issue:3918498041 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/3018/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2302bae780eb7faaa321b7db72435a6ad68a30ba4118fcc3234f261b46a234e4/triggerdotdev/trigger.dev/issues/3018 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2302bae780eb7faaa321b7db72435a6ad68a30ba4118fcc3234f261b46a234e4/triggerdotdev/trigger.dev/issues/3018 |
| og:image:alt | Provide environment information N/A Describe the bug Runs that have been running for 24+ hours (or created more than 24 hours ago) do not appear in useRealtimeRunsWithTag on the client, even when p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | isshaddad |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913 |
| turbo-cache-control | no-preview |
| go-import | github.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git |
| octolytics-dimension-user_id | 95297378 |
| octolytics-dimension-user_login | triggerdotdev |
| octolytics-dimension-repository_id | 572570113 |
| octolytics-dimension-repository_nwo | triggerdotdev/trigger.dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572570113 |
| octolytics-dimension-repository_network_root_nwo | triggerdotdev/trigger.dev |
| 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 | 12fff95459b24b0f882a66698ee6a36a5934d247 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width