Skip to content

Commit 0dd996f

Browse files
authored
refactors server sent event handling in workbench-app to fix excessive reconnects; removes old workflows and interact ux (#261)
Elevates handling of SSE to route level component and adds hooks for adding/removing listeners from any child component without having to pass through props. Adds more logging as there was a swallowed error transforming events that was triggering retries even after new design - going forward, it'll be more obvious if there is an error causing this - or if there are 400/500 errors coming from the service. Instead of updating the old workflows & interact UX components, I went ahead and removed them since they are no longer needed.
1 parent de18b92 commit 0dd996f

66 files changed

Lines changed: 262 additions & 6270 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

libraries/python/assistant-extensions/.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@
3737
"**/__pycache__": true
3838
},
3939
"cSpell.words": [
40+
"asyncio",
4041
"deepmerge",
4142
"DMAIC",
4243
"endregion",
4344
"Excalidraw",
4445
"openai",
4546
"pdfplumber",
46-
"pydantic"
47+
"pydantic",
48+
"pytest"
4749
]
4850
}

libraries/python/skills/skill-library/.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@
4747
"cSpell.words": [
4848
"dotenv",
4949
"httpx",
50+
"metadrive",
5051
"openai",
5152
"pydantic",
5253
"pypdf",
5354
"runtimes",
55+
"subdrive",
5456
"tiktoken"
5557
],
5658
"python.testing.pytestArgs": ["skill_library"],

workbench-app/.vscode/settings.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@
199199
"reactflow",
200200
"reduxjs",
201201
"rehype",
202+
"retriable",
202203
"rjsf",
203204
"rootpath",
204205
"selectin",
@@ -226,9 +227,6 @@
226227
"westus",
227228
"winget",
228229
"workbenchservice",
229-
"workflowdefinition",
230-
"workflowrun",
231-
"workflowuserparticipant",
232230
"YYYYMMDDH"
233231
]
234232
}

workbench-app/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
"react-syntax-highlighter": "^15.5.0",
6464
"react-virtualized-auto-sizer": "^1.0.24",
6565
"react-virtuoso": "^4.10.4",
66-
"reactflow": "^11.11.4",
6766
"rehype-raw": "^7.0.0",
6867
"remark-gfm": "^4.0.0",
6968
"streamsaver": "^2.0.6"

0 commit comments

Comments
 (0)