Skip to content

Commit 76e5715

Browse files
committed
refactor: convert span-timeline-events from always-loaded rule to on-demand skill
1 parent 1834da4 commit 76e5715

File tree

1 file changed

+7
-1
lines changed
  • .claude/skills/span-timeline-events

1 file changed

+7
-1
lines changed

.claude/rules/span-timeline-events.md renamed to .claude/skills/span-timeline-events/SKILL.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
name: span-timeline-events
3+
description: 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.
4+
allowed-tools: Read, Write, Edit, Glob, Grep, Bash
5+
---
6+
17
# Span Timeline Events
28

39
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.
@@ -22,7 +28,7 @@ The `SpanTimeline` component in `app/components/run/RunTimeline.tsx` renders:
2228
3. **Duration bar** (thick 7px line) - from "Started" to "Finished"
2329
4. **"Finished"** marker (thick cap) - at `startTime + duration`
2430

25-
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).
31+
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).
2632

2733
## Trace View Sort Order
2834

0 commit comments

Comments
 (0)