feat(handlers): add agent metadata to logs and spans#69
Conversation
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (12)
📝 WalkthroughWalkthroughAdds ChangesAgent type telemetry propagation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Brings in upstream's agent-metadata support (PR DEVtheOPS#67, DEVtheOPS#69) and the fix/issue-45 probe validation/release commits, on top of the session-span-stays-open-across-idle fix merged from fix/session-span-spans-whole-session. Resolved conflicts in src/handlers/session.ts and tests/handlers/spans.test.ts by keeping the session span/totals open across session.idle (this fork's fix) while also recording the agent.type attribute introduced upstream.
Summary
agent.nameandagent.typevaluesTesting
bun run typecheckbun testSummary by CodeRabbit