Skip to content

Conversation

@vcarl
Copy link
Member

@vcarl vcarl commented Dec 10, 2025

No description provided.

@vcarl vcarl marked this pull request as ready for review December 10, 2025 22:18
vcarl and others added 3 commits December 10, 2025 18:24
Implements the foundation for gradual Effect-TS migration:
- Install effect package
- Create tagged error types for typed error handling
- Create runtime helpers to bridge Effect with Promise-based code
- Create observability bridge for Sentry span integration
- Create Database Service wrapping Kysely with typed errors
- Convert userThreads model as first Effect-based model example

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Upgrade @sentry/node to v8 with skipOpenTelemetrySetup
- Add @effect/opentelemetry and OpenTelemetry SDK packages
- Add @sentry/opentelemetry for span export
- Add posthog-node for future server-side analytics
- Create tracing.ts with SentrySpanProcessor, SentrySampler, SentryPropagator
- Update runtime.ts to provide TracingLive layer to all effects

Effects using Effect.withSpan will now have their spans exported to Sentry
for visualization in the Performance dashboard.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Updates modLog.ts to use the Effect-based userThreads implementation
via the legacy wrapper functions. This validates the Effect migration
approach while maintaining backward compatibility.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@github-actions
Copy link

@vcarl vcarl marked this pull request as draft December 16, 2025 06:57
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.

2 participants