Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scope the shoryuken context to the current fiber. #765

Closed
wants to merge 1 commit into from

Conversation

ioquatix
Copy link

@ioquatix ioquatix commented Mar 6, 2024

I'd like to start a discussion about how to more efficiently manage the context during logging.

This exposes a proper interface for getting the current context.

In addition, I'd like to understand, do you expect if someone creates child fibers or threads, that the context should be shared? e.g. map-reduce / fan-out style workloads. I'm assuming the answer should be yes, but I'd like to know your opinion. In that case, it's better to use Fiber#storage.

Copy link

github-actions bot commented May 6, 2024

This PR is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.

@github-actions github-actions bot added the Stale label May 6, 2024
@ioquatix
Copy link
Author

ioquatix commented May 6, 2024

@phstc do you have time to review? Thanks!

@phstc
Copy link
Collaborator

phstc commented May 7, 2024

Hi @ioquatix

Sorry, I'm a bit out of the loop here. Are there any breaking changes here?

I'd like to start a discussion about how to more efficiently manage the context during logging.

Asking in case this is good to go as a patch version or if there is any concern with a specific version of Ruby or Rails.

@github-actions github-actions bot removed the Stale label May 7, 2024
@ioquatix
Copy link
Author

ioquatix commented May 7, 2024

In general, I don't believe this is a breaking change.

Copy link

github-actions bot commented Jul 7, 2024

This PR is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.

@github-actions github-actions bot added the Stale label Jul 7, 2024
Copy link

This PR was closed because it hasn't seen activity for a while.

@github-actions github-actions bot closed this Jul 14, 2024
@ioquatix
Copy link
Author

@phstc any update?

@phstc phstc reopened this Jul 22, 2024
@phstc
Copy link
Collaborator

phstc commented Jul 22, 2024

@ioquatix, Unfortunately, I'm not currently active with Ruby or Shoryuken. I'm mainly merging maintenance pull requests.

It would be nice to have input from an active user.

Can you try the Slack channel? https://join.slack.com/t/shoryuken/shared_invite/zt-19xjq3iqc-KmoJ6eU6~qvZNqcLzIrjww

@github-actions github-actions bot removed the Stale label Jul 23, 2024
Copy link

This PR is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.

@github-actions github-actions bot added the Stale label Sep 21, 2024
Copy link

This PR was closed because it hasn't seen activity for a while.

@github-actions github-actions bot closed this Sep 28, 2024
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