Skip to content

Reactor: avoid attaching context if it's already attached#11393

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
andrea.marziali/reactor
May 18, 2026
Merged

Reactor: avoid attaching context if it's already attached#11393
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
andrea.marziali/reactor

Conversation

@amarziali
Copy link
Copy Markdown
Contributor

@amarziali amarziali commented May 18, 2026

What Does This Do

Avoid unnecessary calls to activate the context if it's already attached in the subscriber advices. The same is done on the Publisher advices - especially for the OnNext this might result in a perf improvement

Motivation

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Note: Once your PR is ready to merge, add it to the merge queue by commenting /merge. /merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

@amarziali amarziali requested a review from a team as a code owner May 18, 2026 08:38
@amarziali amarziali added the type: enhancement Enhancements and improvements label May 18, 2026
@amarziali amarziali removed the request for review from a team May 18, 2026 08:38
@amarziali amarziali added the tag: performance Performance related changes label May 18, 2026
@amarziali amarziali requested a review from ygree May 18, 2026 08:38
@amarziali amarziali added the inst: reactor Reactor instrumentation label May 18, 2026
@amarziali amarziali requested a review from mcculls May 18, 2026 08:39
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a98730c4c3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@amarziali amarziali force-pushed the andrea.marziali/reactor branch from a98730c to f750179 Compare May 18, 2026 08:42
@amarziali
Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 18, 2026

View all feedbacks in Devflow UI.

2026-05-18 10:05:44 UTC ℹ️ Start processing command /merge


2026-05-18 10:05:49 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 1h (p90).


2026-05-18 11:14:10 UTC ℹ️ MergeQueue: This merge request was merged

@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot merged commit 5df3514 into master May 18, 2026
573 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot deleted the andrea.marziali/reactor branch May 18, 2026 11:14
@github-actions github-actions Bot added this to the 1.63.0 milestone May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

inst: reactor Reactor instrumentation tag: performance Performance related changes type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants