Skip to content

feat(0.18.0): yank production-trace-sink — no live Langfuse, no consumer#43

Merged
tangletools merged 1 commit into
mainfrom
chore/yank-production-trace-sink
May 23, 2026
Merged

feat(0.18.0): yank production-trace-sink — no live Langfuse, no consumer#43
tangletools merged 1 commit into
mainfrom
chore/yank-production-trace-sink

Conversation

@tangletools
Copy link
Copy Markdown
Contributor

Summary

`createProductionTraceSink` shipped sanitized OTLP to Langfuse and composed a canonical `ProductionRunRecord`. The four production consumers (tax/legal/creative/gtm) have all removed the runtime chat backend. Langfuse is not deployed. The sink has zero callers.

Changes

  • Deleted: `src/agent/production-trace-sink.ts` (306 LOC) + `tests/production-trace-sink.test.ts` (322 LOC) + `examples/production-trace-sink/`
  • Dropped exports: `ProductionTraceSink`, `ProductionTraceSinkOpts`, `ProductionRunRecord`, `ProductionRunRecordStore`, `RecordFeedbackInput`, `createProductionTraceSink`
  • README + examples/README: trace-sink entries removed
  • package.json: bump to 0.18.0 (breaking — type/export removal)

Diff stats

741 lines deleted, 1 added.

Verification

  • Typecheck clean
  • 129 tests pass (10 files)
  • Build clean (ESM + DTS)

Consumer impact

All current consumers pin to `^0.17.2` (caret range, won't auto-bump to 0.18.x). No active product references the dropped types. Follow-up PRs will clean up the dead `trace-capture.ts` wrappers in legal-agent + creative-agent and bump them to 0.18.

…ction consumer

createProductionTraceSink shipped sanitized OTLP to Langfuse and composed a
canonical ProductionRunRecord. The four production consumers (tax-agent,
legal-agent, creative-agent, gtm-agent) have all removed the runtime chat
backend in favor of router/sandbox direct paths. Langfuse is not deployed.
The sink has no caller — production or otherwise.

- src/agent/production-trace-sink.ts: removed (306 LOC)
- src/agent/index.ts: drop ProductionTraceSink, ProductionTraceSinkOpts,
  ProductionRunRecord, ProductionRunRecordStore, RecordFeedbackInput types
  + createProductionTraceSink export
- tests/production-trace-sink.test.ts: removed (322 LOC)
- examples/production-trace-sink/: removed
- README + examples/README: dropped trace-sink entries

Net: 741 lines deleted, 1 added. Typecheck + 129 tests pass. Build clean.

Consumers pinned to ^0.17.2 stay on 0.17.x; the type/export removal in
0.18 is breaking but no current consumer references it.
@tangletools tangletools merged commit e8d3f21 into main May 23, 2026
1 check passed
@tangletools tangletools deleted the chore/yank-production-trace-sink branch May 23, 2026 21:24
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