Skip to content

feat(service): Show first observed on findings - #503

Merged
gricha merged 3 commits into
mainfrom
feat/finding-first-observed
Aug 16, 2026
Merged

feat(service): Show first observed on findings#503
gricha merged 3 commits into
mainfrom
feat/finding-first-observed

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Why

Finding detail only showed the latest observation. Bug bounty and investigation work also need first seen.

What

  • The finding API now exposes firstObservedAt and lastObservedAt
  • firstObservedAt uses the earliest finding_observations.observed_at for that finding row
  • lastObservedAt replaces the ambiguous observedAt field
  • Finding detail and the expanded feed row show First observed and Last observed

Scope note

This is first and last seen for the finding row. Findings have per-run identity today. Cross-run first seen needs stable finding identity across runs.

Checks

  • pnpm --filter @sentry/warden-service-api build
  • pnpm --filter @sentry/warden-service test
  • pnpm --filter @sentry/warden-service build
  • pnpm --filter warden-service-app test

Requested by greg.pstrucha.

--

View Junior Session [Sentry]

sentry-junior Bot and others added 2 commits August 16, 2026 05:12
Expose earliest observation timestamp as firstObservedAt so finding
detail can show first and last seen without a schema migration.

Co-Authored-By: Greg Pstrucha <greg.pstrucha@sentry.io>
Rename the finding API field from observedAt to lastObservedAt so it
matches firstObservedAt and removes timestamp ambiguity.

Co-Authored-By: Greg Pstrucha <greg.pstrucha@sentry.io>
@vercel

vercel Bot commented Aug 16, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
warden-prod Ready Ready Preview Aug 16, 2026 5:46am

Request Review

Add First observed next to Last observed in the explore table so
bug bounty review does not require opening each finding.

Co-Authored-By: Greg Pstrucha <greg.pstrucha@sentry.io>
@gricha
gricha merged commit b1333a5 into main Aug 16, 2026
22 checks passed
@gricha
gricha deleted the feat/finding-first-observed branch August 16, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant