Skip to content
Source
Docs
Explore
Skills
MCP servers
For agents
Search or jump to…
Sign in
Sign up
pingdotgg
/
t3code
Pull requests
pingdotgg
t3code
Public
Synced with GitHub
Popular #1
Fork
0
0
0
0
1
2
3
4
5
6
7
8
9
Code
Architecture
Issues
Pull requests
Community
Assets
CI
Agents
Settings
fix(client-runtime): opening a thread no longer freezes with thousands of threads
#25853
Send to my agent
Closed
juliusmarminge
wants to merge 5 commits into
main
from
fix/issue-25823
·
opened
last month
View on GitHub
Conversation
8
Commits
5
Files changed
2
Impact
Showing
2 changed files
with
70 additions
and
7 deletions
.
x
0 of 2 viewed, 2 left
Files
Hide whitespace
Unified
Split
47 additions and 2 deletions
+47
-2
packages/client-runtime/src/state/threadShell.test.ts
Modified
Diff
Before/After
Viewed
packages/client-runtime/src/state/threadShell.test.ts
View file
Expand up
Show all 21 lines
@@ -22,7 +22,10 @@
22
22
const
remoteEnvironmentId =
EnvironmentId
.
make
(
"remote-environment-v2"
);
23
23
const
otherProjectId =
ProjectId
.
make
(
"other-project"
);
24
24
25
-
function
makeHarness
(environmentIds:
ReadonlyArray
<
EnvironmentId
> = [environmentId]) {
25
+
function
makeHarness
(
26
+
environmentIds:
ReadonlyArray
<
EnvironmentId
> = [environmentId],
27
+
hiddenTags:
ReadonlyArray
<
string
> |
null
=
null
,
28
+
) {
26
29
const
snapshotAtom =
Atom
.
family
((_environmentId:
EnvironmentId
) =>
27
30
Atom
.
make
<
OrchestrationV2ShellSnapshot
|
null
>(v2ShellSnapshot),
28
31
);
Expand up
Expand down
Show all 22 lines
@@ -51,7 +54,7 @@
51
54
threads:
createEnvironmentThreadShellAtoms
({
52
55
catalogValueAtom,
53
56
snapshotAtom,
54
-
hiddenThreadTagsAtom
: () =>
Atom
.
make
(
null
),
57
+
hiddenThreadTagsAtom
: () =>
Atom
.
make
(hiddenTags),
55
58
}),
56
59
};
57
60
}
Expand up
Expand down
Show all 575 lines
@@ -633,4 +636,46 @@
633
636
harness.
registry
.
dispose
();
634
637
}
635
638
});
639
+
640
+
it
(
"delivers one quiet shell list per snapshot update that changes several threads"
, () => {
641
+
const
harness =
makeHarness
([environmentId], [
"private"
]);
Home
Search
Explore
Menu