Skip to content

Conversation

@zah
Copy link
Member

@zah zah commented Jun 29, 2025

Summary

  • implement KernelPatches.reset in both recorders to uninstall all tracers
  • use KernelPatches.reset in tests
  • add regression test for reset functionality

Testing

  • just build-extension
  • just test

https://chatgpt.com/codex/tasks/task_e_6861c44692008329a152423f3b139d89

Implemented KernelPatches.reset in both recorder gems to uninstall
all active tracers and restore original Kernel methods. Tests now use
this helper in setup and teardown. Added dedicated test verifying that
reset leaves no tracers installed and methods restored.
@github-actions
Copy link

Benchmark Report
BenchmarkRuby (no tracing)JSONCAPNPJSON (PureRuby)
heavy_work70ms✓ 457ms 78,110,688B820ms 25,149,319B✓ 34,760ms 211,728,983B

@zah zah merged commit 800965f into main Jun 29, 2025
4 of 5 checks passed
@zah zah deleted the codex/implement-self.reset-and-update-tests branch June 29, 2025 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants