Skip to content

fix(mastra): persist observability logs in postgres#1001

Merged
tataihono merged 1 commit into
mainfrom
codex/mastra-postgres-log-storage
May 22, 2026
Merged

fix(mastra): persist observability logs in postgres#1001
tataihono merged 1 commit into
mainfrom
codex/mastra-postgres-log-storage

Conversation

@tataihono
Copy link
Copy Markdown
Contributor

Summary

  • add a Postgres-backed Mastra observability log store for batchCreateLogs/listLogs
  • keep @mastra/pg for traces/spans while storing log records in mastra.mastra_logs
  • wire the custom observability domain into the Mastra composite store

Validation

  • pnpm --filter @forge/mastra test
  • pnpm --filter @forge/mastra typecheck
  • pnpm --filter @forge/mastra lint
  • pnpm --filter @forge/mastra build
  • git diff --check

@railway-app
Copy link
Copy Markdown

railway-app Bot commented May 22, 2026

🚅 Deployed to the forge-pr-1001 environment in forge

10 services not affected by this PR
  • @forge/web
  • @forge/admin/redis
  • @forge/cms/db
  • @forge/admin/db
  • @forge/roadmap
  • @forge/cms
  • @forge/agentic-studio
  • @forge/agentic
  • @forge/admin
  • @forge/manager

@tataihono tataihono merged commit ee33bea into main May 22, 2026
16 checks passed
@tataihono tataihono deleted the codex/mastra-postgres-log-storage branch May 22, 2026 11:21
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