dry-rb / dry-rb/dry-container

Problems with ActiveSupport tagged logging

Open
#74 2 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Ruby
Stars
339
Forks
41
PR merge metrics
No merged PRs in 30d

Description

A problem reported in [this reddit thread](https://www.reddit.com/r/ruby/comments/isgjfz/drysystem_why_from_manual_dependency_injection_to/g5hvmww/?utm_source=reddit&utm_medium=web2x&context=3)

> You should know that dry-container doesn't play well with activesupport tagged logging because of use of fibers. (Thread.current is fiber local, not thread local, and they rely on that)

Contributor guide

Open the contributing guide

Research direction

Start with the linked Reddit discussion and inspect how dry-container interacts with ActiveSupport tagged logging when fibers are used. Reproduce the reported Thread.current behavior in the repository, then identify the expected fiber-safe logging behavior and document or test the result before changing implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.