KlaasJan Elzinga
KlaasJan Elzinga
@Apakottur I stumbled on this as well. SQLAlchemy uses greenlet under the asyncio hood. You need to instruct coverage to take this into account, see https://github.com/nedbat/coveragepy/issues/841#issuecomment-1170098080
Hi, I ran into this issue and did some debugging. I came across the bug when using sqlalchemy asyncio, that uses greenlet under the hood (see #1216 ). I created...
Alright, I figured it out. Adding the `greenlet` to the concurrency options works! That was almost to easy. .coveragerc: ``` [run] concurrency=greenlet ```
Maybe it is an idea to get new maintainers on board who do have time?
good to see some activity again!
I worked around this by using `task_local!` in combination with the before_send hook. the before_send: ``` before_send: Some(Arc::new(|mut event| { SENTRY_THING_ID.with(|sentry_thing_id| { event.extra.insert("thing_id".to_string(), json!(sentry_thing_id)); }); Some(event) })), ``` and the...