Title: bug: Slack alert sends more context that is needed · Issue #2097 · triggerdotdev/trigger.dev · GitHub
Open Graph Title: bug: Slack alert sends more context that is needed · Issue #2097 · triggerdotdev/trigger.dev
X Title: bug: Slack alert sends more context that is needed · Issue #2097 · triggerdotdev/trigger.dev
Description: Provide environment information I only test this on production, and im running latest version of v3 Describe the bug I use Slack alerts to send notifications about failing runs. When I receive an error, I receive a lot of context of trig...
Open Graph Description: Provide environment information I only test this on production, and im running latest version of v3 Describe the bug I use Slack alerts to send notifications about failing runs. When I receive an e...
X Description: Provide environment information I only test this on production, and im running latest version of v3 Describe the bug I use Slack alerts to send notifications about failing runs. When I receive an e...
Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/2097
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: Slack alert sends more context that is needed","articleBody":"### Provide environment information\n\nI only test this on production, and im running latest version of v3\n\n### Describe the bug\n\nI use Slack alerts to send notifications about failing runs. When I receive an error, I receive a lot of context of trigger that is not useful for debugging, so when I receive a lot of notifications, it gets really hard to read because they all trigger stack trace errors.\n\n### Reproduction repo\n\ntrigger v3\n\n### To reproduce\n\nI just created an Slack alarm and had a run fail, here are some examples\n\n```\nError: Failed to fetch image: Bad Request\n at fetchMediaContent (file:///src/modules/webhooks/utils.ts:83:11)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at getMediaContent (file:///src/modules/trigger/utils.ts:132:20)\n at run (file:///src/modules/trigger/createDocumentFromWhapi.ts:67:32)\n at _RunTimelineMetricsAPI.measureMetric (file:///.npm/_npx/f35930adf21a2162/node_modules/@trigger.dev/core/src/v3/runTimelineMetrics/index.ts:67:22)\n at file:///.npm/_npx/f35930adf21a2162/node_modules/@trigger.dev/core/src/v3/workers/taskExecutor.ts:128:28\n at ConsoleInterceptor.intercept (file:///.npm/_npx/f35930adf21a2162/node_modules/@trigger.dev/core/src/v3/consoleInterceptor.ts:36:14)\n at result._tracer.startActiveSpan.kind (file:///.npm/_npx/f35930adf21a2162/node_modules/@trigger.dev/core/src/v3/workers/taskExecutor.ts:90:16)\n at file:///.npm/_npx/f35930adf21a2162/node_modules/@trigger.dev/core/src/v3/tracer.ts:132:18\n at TaskExecutor.execute (file:///.npm/_npx/f35930adf21a2162/node_modules/@trigger.dev/core/src/v3/workers/taskExecutor.ts:87:20)\n at EXECUTE_TASK_RUN (file:///.npm/_npx/f35930adf21a2162/node_modules/trigger.dev/src/entryPoints/deploy-run-worker.ts:390:30)\n at ZodIpcMessageHandler.handleMessage (file:///.npm/_npx/f35930adf21a2162/node_modules/@trigger.dev/core/src/v3/zodIpc.ts:88:17)\n at ZodIpcConnection.#handlePacket (file:///.npm/_npx/f35930adf21a2162/node_modules/@trigger.dev/core/src/v3/zodIpc.ts:238:24)\nrun_dp9op98aa2htxwaa85fae | create-document-from-whapi | 20250522.1.prod | Financiera-casper\n\n```\n\nwhere the only \"useful\" for me is \n\nError: Failed to fetch image: Bad Request\n at fetchMediaContent (file:///src/modules/webhooks/utils.ts:83:11)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at getMediaContent (file:///src/modules/trigger/utils.ts:132:20)\n at run (file:///src/modules/trigger/createDocumentFromWhapi.ts:67:32)\n\n\nAnd like this, I have ALL the errors. I always thought that it was like this, but I posted this on Discord, and it says it was a bug, so I should report it.\n\nMatt point me that the code where trigger filter is in \n\nhttps://github.com/triggerdotdev/trigger.dev/blob/e19bf2abafee4c1802947e4e6af35de7910179d7/packages/core/src/v3/errors.ts#L273\n\nI tried to understand why is the problem but in the code, it has the case to delete the logs that have \"/@trigger.dev\\/core/\" so not sure what is happening.\n\n\n\n### Additional information\n\nHere more examples:\n\n\n\n","author":{"url":"https://github.com/gabrielcardetti","@type":"Person","name":"gabrielcardetti"},"datePublished":"2025-05-23T09:50:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2097/trigger.dev/issues/2097"}
| 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:0a4c5fc2-0973-d0a2-80fc-0f77d1b9236a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B912:1873B:460B4B:6233ED:696501C1 |
| html-safe-nonce | 0c0e0b812d99bf5bf37b8e855ffc4e3b927c46445ca894f4fc93859b2a06b372 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTEyOjE4NzNCOjQ2MEI0Qjo2MjMzRUQ6Njk2NTAxQzEiLCJ2aXNpdG9yX2lkIjoiMjY2MTk5NTU5NzY4MDQxMTA3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c8d3df98f1354c9821156600b8344b39e4d0129c9434c0d95b1946458353e342 |
| hovercard-subject-tag | issue:3085837066 |
| 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/2097/issue_layout |
| twitter:image | https://opengraph.githubassets.com/979606a387856c01cd879bc9600d9c802dd536872576923b7917d91ea2d9c56f/triggerdotdev/trigger.dev/issues/2097 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/979606a387856c01cd879bc9600d9c802dd536872576923b7917d91ea2d9c56f/triggerdotdev/trigger.dev/issues/2097 |
| og:image:alt | Provide environment information I only test this on production, and im running latest version of v3 Describe the bug I use Slack alerts to send notifications about failing runs. When I receive an e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gabrielcardetti |
| hostname | github.com |
| expected-hostname | github.com |
| None | 409eef8307c7b2774ef22b51d9c9bea7aae00b7c42378f10825b0de95e35b3d8 |
| 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 | 0f2726e2829a4524ee45b32f55dabe51189d33b0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width