feat: use relative frame filenames#214
Conversation
posthog-ruby Compliance ReportDate: 2026-07-03 12:09:00 UTC ✅ All Tests Passed!46/46 tests passed Capture Tests✅ 29/29 tests passed View Details
Feature_Flags Tests✅ 17/17 tests passed View Details
|
|
d78da7c to
3a109f6
Compare
💡 Motivation and Context
Use project-relative stack frame
filenamevalues while keeping the raw path inabs_path. Cymbal usesfilenameas the source path for Ruby raw frames, so this keeps fingerprints stable across deploy directories without dropping the original absolute path.Stacked on #213.
Fixes: #212
💚 How did you test it?
Not run successfully locally.
bundle exec rspec spec/posthog/exception_capture_spec.rb spec/posthog/client_spec.rb spec/posthog/rails/exception_mechanism_spec.rbfailed because therspecexecutable is not installed in the local bundle.📝 Checklist
If releasing new changes
pnpm changesetto generate a changeset file🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Implemented with Pi. This follow-up PR keeps the path-stabilization changes separate from the exception-chain work and aligns Ruby raw frame payloads with Cymbal's
filename/abs_pathexpectations.