perf: read-write-locked scope data - #2042
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2042 +/- ##
==========================================
+ Coverage 74.74% 75.00% +0.25%
==========================================
Files 103 103
Lines 27449 27784 +335
Branches 4966 5055 +89
==========================================
+ Hits 20518 20838 +320
- Misses 5585 5587 +2
- Partials 1346 1359 +13 🚀 New features to boost your workflow:
|
jpnurmi
removed this pull request from stack #2010
September 9, 2026 10:32
jpnurmi
added this pull request to stack #2080
September 9, 2026 10:32
jpnurmi
removed this pull request from stack #2080
September 9, 2026 11:37
jpnurmi
force-pushed
the
jpnurmi/perf/rwscope
branch
from
September 9, 2026 19:53
aab5243 to
03a2558
Compare
jpnurmi
added this pull request to stack #2082
September 9, 2026 19:54
jpnurmi
force-pushed
the
jpnurmi/perf/rwscope
branch
2 times, most recently
from
September 10, 2026 11:51
8ed8d1c to
a13e8c5
Compare
jpnurmi
removed this pull request from stack #2082
September 10, 2026 11:51
jpnurmi
force-pushed
the
jpnurmi/perf/rwscope
branch
from
September 10, 2026 11:57
a13e8c5 to
a725ba4
Compare
jpnurmi
changed the base branch from
jpnurmi/ref/attachments
to
jpnurmi/ref/scope-data
September 10, 2026 11:58
jpnurmi
added this pull request to stack #2084
September 10, 2026 11:58
jpnurmi
force-pushed
the
jpnurmi/perf/rwscope
branch
from
September 11, 2026 13:14
a725ba4 to
173727a
Compare
jpnurmi
force-pushed
the
jpnurmi/perf/rwscope
branch
from
September 11, 2026 13:22
173727a to
d95babc
Compare
jpnurmi
force-pushed
the
jpnurmi/perf/rwscope
branch
2 times, most recently
from
September 14, 2026 07:04
aafa196 to
c837883
Compare
jpnurmi
removed this pull request from stack #2084
September 14, 2026 07:04
jpnurmi
added this pull request to stack #2092
September 14, 2026 07:07
jpnurmi
force-pushed
the
jpnurmi/perf/rwscope
branch
from
September 14, 2026 08:57
c837883 to
d9ba3e9
Compare
jpnurmi
force-pushed
the
jpnurmi/perf/rwscope
branch
2 times, most recently
from
September 14, 2026 09:24
61f639d to
01a68ec
Compare
jpnurmi
force-pushed
the
jpnurmi/perf/rwscope
branch
from
September 14, 2026 09:58
01a68ec to
a264a59
Compare
jpnurmi
force-pushed
the
jpnurmi/perf/rwscope
branch
from
September 15, 2026 06:45
a264a59 to
3b8bac9
Compare
limbonaut
approved these changes
Sep 15, 2026
mujacica
approved these changes
Sep 16, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1107fe2. Configure here.
jpnurmi
force-pushed
the
jpnurmi/perf/rwscope
branch
2 times, most recently
from
September 18, 2026 14:53
cbdb1be to
4b030e3
Compare
Protect scope data with per-scope read-write locks and retain stable values or snapshots when data must outlive a locked access. Keep the global scope mutex and existing observer synchronization in place so the data locking can be reviewed independently of removing global serialization.
jpnurmi
force-pushed
the
jpnurmi/perf/rwscope
branch
from
September 19, 2026 18:53
4b030e3 to
233ea8b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Protect scope data with read-write locks, allowing concurrent scope data readers for logs and metrics enrichment.
To be merged together with #2091 that removes the global scope mutex, which is the final step to actually allow parallel reads of the newly RW-locked scope data.
Ref: #1862
#skip-changelog (#2091)