Skip to content

feat: Add span event annotations to waterfall view#1523

Merged
kodiakhq[bot] merged 3 commits into
mainfrom
mikeshi/add-span-event-annotations
Dec 29, 2025
Merged

feat: Add span event annotations to waterfall view#1523
kodiakhq[bot] merged 3 commits into
mainfrom
mikeshi/add-span-event-annotations

Conversation

@MikeShi42
Copy link
Copy Markdown
Contributor

image

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Dec 24, 2025

🦋 Changeset detected

Latest commit: 28a4cb3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@hyperdx/app Minor
@hyperdx/api Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
hyperdx-v2-oss-app Ready Ready Preview, Comment Dec 29, 2025 4:39pm

@MikeShi42 MikeShi42 requested review from a team and brandon-pereira and removed request for a team December 24, 2025 07:44
@claude
Copy link
Copy Markdown

claude Bot commented Dec 24, 2025

Code Review

Critical Issues:

  • Type mismatch in SpanEventMarkerComponent (TimelineChart.tsx:56) → marker.timestamp expects ms offset from minOffset but receives absolute timestamp. Should be formatTime(new Date(marker.timestamp + eventStart)) or change marker type comment.

Important:

  • ⚠️ Potential rendering issue (TimelineChart.tsx:669) → marker.timestamp is calculated as absolute ms - minOffset, but SpanEventMarkerComponent uses it with formatTime as absolute timestamp. This will show wrong times in tooltips.

Suggested Fix:
In TimelineChart.tsx:56, change:

{formatTime(new Date(marker.timestamp), { format: 'withMs' })}

To:

{formatTime(new Date(eventStart + marker.timestamp), { format: 'withMs' })}

Otherwise the implementation looks solid - good job on the feature!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 24, 2025

E2E Test Results

All tests passed • 50 passed • 4 skipped • 664s

Status Count
✅ Passed 50
❌ Failed 0
⚠️ Flaky 1
⏭️ Skipped 4

Tests ran across 4 shards in parallel.

View full report →

Copy link
Copy Markdown
Member

@brandon-pereira brandon-pereira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kodiakhq kodiakhq Bot merged commit 39633f3 into main Dec 29, 2025
12 checks passed
@kodiakhq kodiakhq Bot deleted the mikeshi/add-span-event-annotations branch December 29, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants