Conversation
jpnurmi
force-pushed
the
jpnurmi/perf/scope-batch-update
branch
from
September 17, 2026 14:08
5593400 to
a3ffce7
Compare
jpnurmi
added this pull request to stack #2092
September 17, 2026 14:08
jpnurmi
force-pushed
the
jpnurmi/perf/scope-batch-update
branch
from
September 17, 2026 14:18
a3ffce7 to
a38d913
Compare
jpnurmi
force-pushed
the
jpnurmi/perf/scope-batch-update
branch
from
September 17, 2026 15:37
a38d913 to
41100bf
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2107 +/- ##
==========================================
- Coverage 75.15% 75.14% -0.02%
==========================================
Files 103 103
Lines 27930 28050 +120
Branches 5094 5112 +18
==========================================
+ Hits 20990 21077 +87
- Misses 5596 5624 +28
- Partials 1344 1349 +5 🚀 New features to boost your workflow:
|
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 0083711. Configure here.
jpnurmi
force-pushed
the
jpnurmi/perf/scope-batch-update
branch
from
September 18, 2026 14:48
0083711 to
3852ecb
Compare
jpnurmi
force-pushed
the
jpnurmi/perf/scope-batch-update
branch
from
September 19, 2026 18:53
3852ecb to
cef816a
Compare
Keep the scope write lock across a batch while allowing the owning thread to use existing scope accessors without relocking. Defer backend scope flushes until the outermost batch completes.
jpnurmi
force-pushed
the
jpnurmi/perf/scope-batch-update
branch
from
September 20, 2026 06:28
aeed6d1 to
2c04bee
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.

Keep the scope read or write lock across a batch while allowing the owning thread to use existing scope accessors without relocking.
This tackles two use-cases: