span-timeline-events
Skill16k starsChanged 4 months agoApache-2.0View on GitHub
Use when adding, modifying, or debugging OTel span timeline events in the trace view. Covers event structure, ClickHouse storage constraints, rendering in SpanTimeline component, admin visibility, and the step-by-step process for adding new events.
Trending
More talk lately.about the whole repository
Who's talking about triggerdotdev/trigger.dev
- coollabsio/coolify“[Bug]: Various problems with Trigger template”GitHub · May 16, 2025 · 3 reactions
- @github-trending-js.bsky.social“📦 triggerdotdev / trigger.dev ⭐ 13,747 (+48) 🗒 TypeScript Trigger.dev – build and deploy fully‑managed AI …”Bluesky · Feb 21, 2026 · 2 likes
- @github-trending-js.bsky.social“📦 triggerdotdev / trigger.dev ⭐ 13,027 (+33) 🗒 TypeScript Trigger.dev – build and deploy fully‑managed AI …”Bluesky · Dec 18, 2025 · 2 likes
- @github-trending-js.bsky.social“📦 triggerdotdev / trigger.dev ⭐ 11,333 (+46) 🗒 TypeScript Trigger.dev – open source background jobs and …”Bluesky · Jun 3, 2025 · 2 likes
- coollabsio/coolify“[Bug]: Trigger.dev Error: Build failed: 401 "No authorization header provided"”GitHub · Jan 22, 2025 · 2 reactions
The biggest 5 of 60 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 60
Talked about on GitHub and Bluesky (60 times).
On GitHub · 50
- May 16, 2025[Bug]: Various problems with Trigger template — coollabsio/coolify3 reactions · 3 comments
- Jan 22, 2025[Bug]: Trigger.dev Error: Build failed: 401 "No authorization header provided" — coollabsio/coolify2 reactions · 1 comment
- Jan 8, 2026Strange error (i think) due to some git symlinked file that doesn't exist — nrjdalal/gitpick1 reaction · 2 comments
- Nov 2, 2026chore(deps): bump zod, @chronark/zod-bird, @trigger.dev/python, @trigger.dev/core, @trigger.dev/sdk, @trigger.dev/build and zod-openapi — HeliosEnergy/papermark0 reactions
- Nov 2, 2026chore(deps-dev): bump trigger.dev from 4.8.1 to 4.8.2 in the trigger-dev group — bodkul/faceit-deaf0 reactions · 1 comment
45 more on GitHub
- Nov 1, 2026Bump zod and @trigger.dev/sdk — caameliaz/Psi-dashboard-et-site-vitrine-0 reactions · 1 comment
- Oct 30, 2026The Trigger.dev pin is behind its newest release — Robbes/Ownpace0 reactions
- Oct 28, 2026● relit: triggerdotdev/trigger.dev — 🗺️ Observability Map — fitzyracing1/darks0 reactions · 1 comment
- Oct 26, 2026Bump the weekly group with 5 updates — markmoran/wushu-schools-scraper0 reactions
- Oct 26, 2026● relit: triggerdotdev/trigger.dev — 🦋 Changesets PR — fitzyracing1/darks0 reactions · 1 comment
- Oct 24, 2026Bump zod, @ai-sdk/openai, @trigger.dev/react-hooks, @trigger.dev/sdk and @trigger.dev/build in /vercel-ai-sdk-image-generator — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 21, 2026The Trigger.dev pin is behind its newest release — Robbes/Ownpace0 reactions · 3 comments
- Oct 20, 2026chore(deps-dev): bump trigger.dev from 4.3.3 to 4.5.9 in the security-development group across 1 directory — Dargon789/ethereum-org-website0 reactions · 2 comments
- Oct 19, 2026Port upstream Trigger.dev self-hosting changes (v4.7.3...v4.8.3) — dodi-smart/coolify-trigger-v40 reactions
- Oct 14, 2026● relit: triggerdotdev/trigger.dev — 🚀 Publish Trigger.dev Docker — fitzyracing1/darks0 reactions · 5 comments
- Oct 13, 2026○ dark: triggerdotdev/trigger.dev — 🛡️ E2E Tests: Webapp Auth (full) — fitzyracing1/darks0 reactions · 1 comment
- Oct 12, 2026Port upstream Trigger.dev self-hosting changes (v4.6.4...v4.7.3) — dodi-smart/coolify-trigger-v40 reactions
- Oct 10, 2026chore(deps-dev): bump trigger.dev from 4.5.1 to 4.5.9 in /clickhouse-chat-agent — triggerdotdev/examples0 reactions · 1 comment
- Oct 10, 2026chore(deps-dev): bump trigger.dev from 4.0.0-v4-beta.0 to 4.5.9 in /article-summary-workflow — triggerdotdev/examples0 reactions · 1 comment
- Oct 10, 2026chore(deps-dev): bump trigger.dev from 3.3.5 to 4.5.9 in /batch-llm-evaluator — triggerdotdev/examples0 reactions · 1 comment
- Oct 10, 2026Bump trigger.dev from 4.0.2 to 4.5.9 in /anchor-browser-web-scraper — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 10, 2026Bump trigger.dev from 4.1.0 to 4.5.9 in /claude-agent-github-wiki — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 10, 2026Bump trigger.dev from 4.0.0-v4-beta.0 to 4.5.9 in /article-summary-workflow — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 10, 2026Bump trigger.dev from 4.3.0 to 4.5.9 in /changelog-generator — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 10, 2026Bump trigger.dev from 3.3.9 to 4.5.9 in /realtime-csv-importer — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 10, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 — RothBlueprint/rbp-cal.diy0 reactions · 2 comments
- Oct 10, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 — forky-mcforkface/cal.com0 reactions
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 in /packages/features — forky-mcforkface/calcom-cal.com0 reactions
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 in /packages/features — codedeeply/cal.diy0 reactions · 1 comment
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 — forky-mcforkface/calcom-cal.com-e7578750 reactions
- Oct 9, 2026Bump trigger.dev from 3.3.5 to 4.5.9 in /batch-llm-evaluator — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 in /packages/features — RothBlueprint/rbp-cal.diy0 reactions · 2 comments
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 — forky-mcforkface/calcom-cal.com0 reactions
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 in /packages/features — forky-mcforkface/cal.com0 reactions
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 — codedeeply/cal.diy0 reactions · 1 comment
- Oct 9, 2026build(deps-dev): bump trigger.dev from 4.3.3 to 4.5.9 — beaconchain-horizon/ethereum-org-website0 reactions
- Oct 9, 2026Bump trigger.dev from 4.4.3 to 4.5.9 in /packages/jobs — appsmithorg/midday0 reactions
- Oct 9, 2026chore(deps): bump trigger.dev from 4.4.3 to 4.5.9 in /packages/jobs — KB-Helios/midday0 reactions · 2 comments
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 in /packages/features — forky-mcforkface/calcom-cal.com-e7578750 reactions
- Oct 5, 2026chore(deps): bump engine.io, @trigger.dev/python, @trigger.dev/core, @trigger.dev/sdk and @trigger.dev/build — HeliosEnergy/papermark0 reactions
- Sep 28, 2026chore(deps): bump the trigger-dev group with 4 updates — renatomf/nextjs-switchboard0 reactions · 2 comments
- Sep 20, 2026chore(deps): bump nanoid and @trigger.dev/sdk — shrikrishna-lab/noska0 reactions · 1 comment
- Sep 5, 2026chore(deps): bump nanoid, @trigger.dev/sdk, @trigger.dev/build and trigger.dev — evanjob2005-ux/savrio-dev-hq0 reactions
- Sep 5, 2026Bump nanoid, @trigger.dev/sdk, @trigger.dev/build and trigger.dev — andrewfowl/compound_app_data_api0 reactions
- Sep 5, 2026chore(deps): bump @trigger.dev/react-hooks from 4.5.12 to 4.6.3 — ameisw667/Casino0 reactions · 1 comment
- Sep 1, 2026Bump engine.io, @trigger.dev/python, @trigger.dev/core, @trigger.dev/sdk and @trigger.dev/build — aebq/papermark0 reactions · 1 comment
- Sep 1, 2026chore(deps): bump engine.io and @trigger.dev/sdk — shrikrishna-lab/noska0 reactions · 1 comment
- Sep 1, 2026chore(deps): bump engine.io, @trigger.dev/python, @trigger.dev/core, @trigger.dev/sdk and @trigger.dev/build — Ai-Systems-Australia/papermark0 reactions
- Sep 1, 2026chore(deps): bump engine.io, @trigger.dev/sdk and @trigger.dev/build in /trigger — Gabrielvilabracho/OCR-Prossesin-System0 reactions
- Sep 1, 2026Bump engine.io, @trigger.dev/sdk, @trigger.dev/build and trigger.dev — andrewfowl/compound_app_data_api0 reactions
On Bluesky · 10
- Feb 21, 2026📦 triggerdotdev / trigger.dev ⭐ 13,747 (+48) 🗒 TypeScript Trigger.dev – build and deploy fully‑managed AI agents and workflows — @github-trending-js.bsky.social2 likes and reposts
- Dec 18, 2025📦 triggerdotdev / trigger.dev ⭐ 13,027 (+33) 🗒 TypeScript Trigger.dev – build and deploy fully‑managed AI agents and workflows — @github-trending-js.bsky.social2 likes and reposts
- Jun 3, 2025📦 triggerdotdev / trigger.dev ⭐ 11,333 (+46) 🗒 TypeScript Trigger.dev – open source background jobs and AI infrastructure — @github-trending-js.bsky.social2 likes and reposts
- Aug 19, 2024📦 triggerdotdev / trigger.dev ⭐ 8,006 (+48) 🗒 TypeScript Trigger.dev is the open source background jobs platform for TypeScript. — @github-trending-js.bsky.social2 likes and reposts
- Dec 12, 2023📦 triggerdotdev / trigger.dev ⭐ 6,072 (+32) 🗒 TypeScript ✨ Trigger.dev is the open source background jobs framework for TypeScript. With… — @github-trending-js.bsky.social2 likes and reposts
5 more on Bluesky
- Apr 25, 2026https://github.com/triggerdotdev/trigger.dev — @tom-doerr.bsky.social1 likes and repost
- Nov 11, 2023📦 triggerdotdev / trigger.dev ⭐ 5,676 (+34) 🗒 TypeScript ✨ Trigger.dev is the open source background jobs framework for TypeScript. With… — @github-trending-js.bsky.social1 likes and repost
- Oct 4, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 triggerdotdev / trigger.dev ⭐ 4,774 (+170) 🗒 TypeScript ✨ Trigger.dev is the open source background… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Aug 26, 2023📦 triggerdotdev / trigger.dev ⭐ 4,159 (+52) 🗒 TypeScript ✨ Trigger.dev is an open-source platform to create long-running jobs directly in… — @github-trending-js.bsky.social1 likes and repost
- Aug 27, 2025⭐️ Check out and star our open source GitHub repo here: github.com/triggerdotd... — @triggerdev.bsky.social0 likes and reposts · 1 reply
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/executing-commands.mdcCursor rule
- .cursor/rules/migrations.mdcCursor rule
- .cursor/rules/otel-metrics.mdcCursor rule
- .cursor/rules/repo.mdcCursor rule
- .cursor/rules/webapp.mdcCursor rule
- .cursor/rules/writing-tasks.mdcCursor rule
- .cursor/rules/writing-tests.mdcCursor rule
- drizzleSkill
- errors-api-e2eSkill
- trigger-dev-tasksSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
When events are written to ClickHouse, spanEventsToTaskEventV1Input() filters out events whose start_time is not greater than the parent …
- Very specific: line 67
Add OTLP span event with name: "trigger.dev/<scope>" and properties.event: "<type>"
- Very specific: line 69
Add friendly name in getFriendlyNameForEvent() in app/utils/timelineSpanEvents.ts
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Span Timeline Events
The trace view's right panel shows a timeline of events for the selected span. These are OTel span events rendered by app/utils/timelineSpanEvents.ts and the SpanTimeline component.
How They Work
- Span events in OTel are attached to a parent span. In ClickHouse, they're stored as separate rows with
kind: "SPAN_EVENT"sharing the parent span'sspan_id. The#mergeRecordsIntoSpanDetailmethod reassembles them into the span'seventsarray at query time. - The timeline only renders events whose
namestarts withtrigger.dev/- all others are silently filtered out. - The display name comes from
properties.event(not the span event name), mapped throughgetFriendlyNameForEvent(). - Events are shown on the span they belong to - events on one span don't appear in another span's timeline.
ClickHouse Storage Constraint
When events are written to ClickHouse, spanEventsToTaskEventV1Input() filters out events whose start_time is not greater than the parent span's startTime. Events at or before the span start are silently dropped. This means span events must have timestamps strictly after the span's own startTimeUnixNano.
Timeline Rendering (SpanTimeline component)
The SpanTimeline component in app/components/run/RunTimeline.tsx renders:
- Events (thin 1px line with hollow dots) - all events from
createTimelineSpanEventsFromSpanEvents() - "Started" marker (thick cap) - at the span's
startTime - Duration bar (thick 7px line) - from "Started" to "Finished"
- "Finished" marker (thick cap) - at
startTime + duration
The thin line before "Started" only appears when there are events with timestamps between the span start and the first child span. For the Attempt span this works well (Dequeued -> Pod scheduled -> Launched -> etc. all happen before execution starts). Events all get lineVariant: "light" (thin) while the execution bar gets variant: "normal" (thick).
Trace View Sort Order
Sibling spans (same parent) are sorted by start_time ASC from the ClickHouse query. The createTreeFromFlatItems function preserves this order. Event timestamps don't affect sort order - only the span's own start_time.
Event Structure
// OTel span event format
{
name: "trigger.dev/run", // Must start with "trigger.dev/" to render
timeUnixNano: "1711200000000000000",
attributes: [
{ key: "event", value: { stringValue: "dequeue" } }, // The actual event type
{ key: "duration", value: { intValue: 150 } }, // Optional: duration in ms
]
}Admin-Only Events
getAdminOnlyForEvent() controls visibility. Events default to admin-only (true).
| Event | Admin-only | Friendly name |
dequeue | No | Dequeued |
fork | No | Launched |
import | No (if no fork event) | Importing task file |
create_attempt | Yes | Attempt created |
lazy_payload | Yes | Lazy attempt initialized |
pod_scheduled | Yes | Pod scheduled |
| (default) | Yes | (raw event name) |
Adding New Timeline Events
- Add OTLP span event with
name: "trigger.dev/<scope>"andproperties.event: "<type>" - Event timestamp must be strictly after the parent span's
startTimeUnixNano(ClickHouse drops earlier events) - Add friendly name in
getFriendlyNameForEvent()inapp/utils/timelineSpanEvents.ts - Set admin visibility in
getAdminOnlyForEvent() - Optionally add help text in
getHelpTextForEvent()
Key Files
app/utils/timelineSpanEvents.ts- filtering, naming, admin logicapp/components/run/RunTimeline.tsx-SpanTimelinecomponent (thin line + thick bar rendering)app/presenters/v3/SpanPresenter.server.ts- loads span data including eventsapp/v3/eventRepository/clickhouseEventRepository.server.ts-spanEventsToTaskEventV1Input()(storage filter),#mergeRecordsIntoSpanDetail(reassembly)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

