Skip to content

Add searchable_text support and upsert optimization#316

Merged
butschster merged 1 commit into
masterfrom
feature/dev-companion
Mar 27, 2026
Merged

Add searchable_text support and upsert optimization#316
butschster merged 1 commit into
masterfrom
feature/dev-companion

Conversation

@butschster
Copy link
Copy Markdown
Member

@butschster butschster commented Mar 27, 2026

Summary

  • Add toSearchableText() to EventTypeMapperInterface and implement in Sentry, Profiler, Inspector, Smtp mappers
  • Create new EventTypeMapper for Monolog and HttpDumps modules with toSearchableText() and pass-through toPreview()
  • Add searchable_text field to EventPreviewResource (HTTP) and EventWasReceivedMapper (WebSocket broadcast)
  • Replace ORM-based SELECT+persist with raw INSERT/UPDATE upsert in EventRepository::store()
  • Add upsert tests for EventRepository

Test plan

  • Unit tests pass (78/78)
  • Feature tests pass (pre-existing VarDumper line-ending failures only)
  • Verify searchable_text appears in preview API response
  • Verify searchable_text included in WS broadcast

🤖 Generated with Claude Code

- Add toSearchableText() to EventTypeMapperInterface and implement in
  Sentry, Profiler, Inspector, Smtp mappers
- Create new EventTypeMapper for Monolog and HttpDumps modules with
  toSearchableText() and pass-through toPreview()
- Add searchable_text field to EventPreviewResource and WS broadcast
- Replace ORM-based SELECT+persist with raw INSERT/UPDATE upsert
- Add upsert tests for EventRepository

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@butschster butschster merged commit 329509a into master Mar 27, 2026
1 of 7 checks passed
@butschster butschster deleted the feature/dev-companion branch March 27, 2026 17:31
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