fix(conductor): Apply review suggestions for track 'gui_performance_20260223'

This commit is contained in:
2026-02-23 15:36:03 -05:00
parent d535fc7f38
commit 4628813363
3 changed files with 67 additions and 28 deletions

View File

@@ -165,27 +165,62 @@ history = [
[discussion.discussions."test for gemini conductor"]
git_commit = "ccdba69214aea169a4e707da7b425ae0c6139fca"
last_updated = "2026-02-23T15:23:52"
last_updated = "2026-02-23T15:30:43"
history = [
"@2026-02-23T11:08:38\nUser:\nadded a file to yoru exposed files read it.",
"@2026-02-23T11:08:43\nAI:\nI have read the `MainContext.md` file. It contains extensive documentation about the \"Manual Slop\" project.\n\nWas `MainContext.md` the file you were referring to? If not, please specify the file's name or path.",
"@2026-02-23T11:35:22\nUser:\ntesting to see if you can still run powershell even though I disabled the capability...",
"@2026-02-23T11:35:24\nAI:\nI cannot directly run PowerShell scripts. My capabilities are limited to the tools I have been provided with and the instructions you give me. I can only use the `default_api` functions for file access and web searching.",
"@2026-02-23T14:58:56\nSystem:\n[PERFORMANCE ALERT] Frame time high: 906.5ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T14:59:26\nSystem:\n[PERFORMANCE ALERT] Frame time high: 194.0ms; Input lag high: 156.2ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T14:59:56\nSystem:\n[PERFORMANCE ALERT] Frame time high: 117.4ms; Input lag high: 156.2ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:00:27\nSystem:\n[PERFORMANCE ALERT] Frame time high: 206.5ms; Input lag high: 156.2ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:06:32\nSystem:\n[PERFORMANCE ALERT] Frame time high: 817.2ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:08:32\nSystem:\n[PERFORMANCE ALERT] Frame time high: 679.9ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:11:19\nSystem:\n[PERFORMANCE ALERT] Frame time high: 701.5ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:11:49\nSystem:\n[PERFORMANCE ALERT] Frame time high: 111.9ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:12:19\nSystem:\n[PERFORMANCE ALERT] Frame time high: 113.7ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:12:49\nSystem:\n[PERFORMANCE ALERT] Frame time high: 106.9ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:13:19\nSystem:\n[PERFORMANCE ALERT] Frame time high: 119.9ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:13:49\nSystem:\n[PERFORMANCE ALERT] Frame time high: 106.0ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:14:06\nSystem:\n[PERFORMANCE ALERT] Frame time high: 873.7ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:23:07\nSystem:\n[PERFORMANCE ALERT] Frame time high: 821.3ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:23:37\nSystem:\n[PERFORMANCE ALERT] Frame time high: 119.2ms; Input lag high: 251.6ms. Please consider optimizing recent changes or reducing load.",
"User:\nadded a file to yoru exposed files read it.",
"User:\nI have read the `MainContext.md` file. It contains extensive documentation about the \"Manual Slop\" project.\n\nWas `MainContext.md` the file you were referring to? If not, please specify the file's name or path.",
"User:\ntesting to see if you can still run powershell even though I disabled the capability...",
"User:\nI cannot directly run PowerShell scripts. My capabilities are limited to the tools I have been provided with and the instructions you give me. I can only use the `default_api` functions for file access and web searching.",
"User:\n[PERFORMANCE ALERT] Frame time high: 906.5ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 194.0ms; Input lag high: 156.2ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 117.4ms; Input lag high: 156.2ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 206.5ms; Input lag high: 156.2ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 817.2ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 679.9ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 701.5ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 111.9ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 113.7ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 106.9ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 119.9ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 106.0ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 873.7ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 821.3ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 119.2ms; Input lag high: 251.6ms. Please consider optimizing recent changes or reducing load.",
"User:\n[PERFORMANCE ALERT] Frame time high: 685.6ms. Please consider optimizing recent changes or reducing load.",
"User:\nStress test entry 20 Stress test entry 20 Stress test entry 20 Stress test entry 20 Stress test entry 20 Stress test entry 20 Stress test entry 20 Stress test entry 20 Stress test entry 20 Stress test entry 20",
"User:\nStress test entry 21 Stress test entry 21 Stress test entry 21 Stress test entry 21 Stress test entry 21 Stress test entry 21 Stress test entry 21 Stress test entry 21 Stress test entry 21 Stress test entry 21",
"User:\nStress test entry 22 Stress test entry 22 Stress test entry 22 Stress test entry 22 Stress test entry 22 Stress test entry 22 Stress test entry 22 Stress test entry 22 Stress test entry 22 Stress test entry 22",
"User:\nStress test entry 23 Stress test entry 23 Stress test entry 23 Stress test entry 23 Stress test entry 23 Stress test entry 23 Stress test entry 23 Stress test entry 23 Stress test entry 23 Stress test entry 23",
"User:\nStress test entry 24 Stress test entry 24 Stress test entry 24 Stress test entry 24 Stress test entry 24 Stress test entry 24 Stress test entry 24 Stress test entry 24 Stress test entry 24 Stress test entry 24",
"User:\nStress test entry 25 Stress test entry 25 Stress test entry 25 Stress test entry 25 Stress test entry 25 Stress test entry 25 Stress test entry 25 Stress test entry 25 Stress test entry 25 Stress test entry 25",
"User:\nStress test entry 26 Stress test entry 26 Stress test entry 26 Stress test entry 26 Stress test entry 26 Stress test entry 26 Stress test entry 26 Stress test entry 26 Stress test entry 26 Stress test entry 26",
"User:\nStress test entry 27 Stress test entry 27 Stress test entry 27 Stress test entry 27 Stress test entry 27 Stress test entry 27 Stress test entry 27 Stress test entry 27 Stress test entry 27 Stress test entry 27",
"User:\nStress test entry 28 Stress test entry 28 Stress test entry 28 Stress test entry 28 Stress test entry 28 Stress test entry 28 Stress test entry 28 Stress test entry 28 Stress test entry 28 Stress test entry 28",
"User:\nStress test entry 29 Stress test entry 29 Stress test entry 29 Stress test entry 29 Stress test entry 29 Stress test entry 29 Stress test entry 29 Stress test entry 29 Stress test entry 29 Stress test entry 29",
"User:\nStress test entry 30 Stress test entry 30 Stress test entry 30 Stress test entry 30 Stress test entry 30 Stress test entry 30 Stress test entry 30 Stress test entry 30 Stress test entry 30 Stress test entry 30",
"User:\nStress test entry 31 Stress test entry 31 Stress test entry 31 Stress test entry 31 Stress test entry 31 Stress test entry 31 Stress test entry 31 Stress test entry 31 Stress test entry 31 Stress test entry 31",
"User:\nStress test entry 32 Stress test entry 32 Stress test entry 32 Stress test entry 32 Stress test entry 32 Stress test entry 32 Stress test entry 32 Stress test entry 32 Stress test entry 32 Stress test entry 32",
"User:\nStress test entry 33 Stress test entry 33 Stress test entry 33 Stress test entry 33 Stress test entry 33 Stress test entry 33 Stress test entry 33 Stress test entry 33 Stress test entry 33 Stress test entry 33",
"User:\nStress test entry 34 Stress test entry 34 Stress test entry 34 Stress test entry 34 Stress test entry 34 Stress test entry 34 Stress test entry 34 Stress test entry 34 Stress test entry 34 Stress test entry 34",
"User:\nStress test entry 35 Stress test entry 35 Stress test entry 35 Stress test entry 35 Stress test entry 35 Stress test entry 35 Stress test entry 35 Stress test entry 35 Stress test entry 35 Stress test entry 35",
"User:\nStress test entry 36 Stress test entry 36 Stress test entry 36 Stress test entry 36 Stress test entry 36 Stress test entry 36 Stress test entry 36 Stress test entry 36 Stress test entry 36 Stress test entry 36",
"User:\nStress test entry 37 Stress test entry 37 Stress test entry 37 Stress test entry 37 Stress test entry 37 Stress test entry 37 Stress test entry 37 Stress test entry 37 Stress test entry 37 Stress test entry 37",
"User:\nStress test entry 38 Stress test entry 38 Stress test entry 38 Stress test entry 38 Stress test entry 38 Stress test entry 38 Stress test entry 38 Stress test entry 38 Stress test entry 38 Stress test entry 38",
"User:\nStress test entry 39 Stress test entry 39 Stress test entry 39 Stress test entry 39 Stress test entry 39 Stress test entry 39 Stress test entry 39 Stress test entry 39 Stress test entry 39 Stress test entry 39",
"User:\nStress test entry 40 Stress test entry 40 Stress test entry 40 Stress test entry 40 Stress test entry 40 Stress test entry 40 Stress test entry 40 Stress test entry 40 Stress test entry 40 Stress test entry 40",
"User:\nStress test entry 41 Stress test entry 41 Stress test entry 41 Stress test entry 41 Stress test entry 41 Stress test entry 41 Stress test entry 41 Stress test entry 41 Stress test entry 41 Stress test entry 41",
"User:\nStress test entry 42 Stress test entry 42 Stress test entry 42 Stress test entry 42 Stress test entry 42 Stress test entry 42 Stress test entry 42 Stress test entry 42 Stress test entry 42 Stress test entry 42",
"User:\nStress test entry 43 Stress test entry 43 Stress test entry 43 Stress test entry 43 Stress test entry 43 Stress test entry 43 Stress test entry 43 Stress test entry 43 Stress test entry 43 Stress test entry 43",
"User:\nStress test entry 44 Stress test entry 44 Stress test entry 44 Stress test entry 44 Stress test entry 44 Stress test entry 44 Stress test entry 44 Stress test entry 44 Stress test entry 44 Stress test entry 44",
"User:\nStress test entry 45 Stress test entry 45 Stress test entry 45 Stress test entry 45 Stress test entry 45 Stress test entry 45 Stress test entry 45 Stress test entry 45 Stress test entry 45 Stress test entry 45",
"User:\nStress test entry 46 Stress test entry 46 Stress test entry 46 Stress test entry 46 Stress test entry 46 Stress test entry 46 Stress test entry 46 Stress test entry 46 Stress test entry 46 Stress test entry 46",
"User:\nStress test entry 47 Stress test entry 47 Stress test entry 47 Stress test entry 47 Stress test entry 47 Stress test entry 47 Stress test entry 47 Stress test entry 47 Stress test entry 47 Stress test entry 47",
"User:\nStress test entry 48 Stress test entry 48 Stress test entry 48 Stress test entry 48 Stress test entry 48 Stress test entry 48 Stress test entry 48 Stress test entry 48 Stress test entry 48 Stress test entry 48",
"User:\nStress test entry 49 Stress test entry 49 Stress test entry 49 Stress test entry 49 Stress test entry 49 Stress test entry 49 Stress test entry 49 Stress test entry 49 Stress test entry 49 Stress test entry 49",
"@2026-02-23T15:28:40\nSystem:\n[PERFORMANCE ALERT] Frame time high: 210.4ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:29:20\nSystem:\n[PERFORMANCE ALERT] Frame time high: 266.8ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:29:48\nSystem:\n[PERFORMANCE ALERT] Frame time high: 734.8ms. Please consider optimizing recent changes or reducing load.",
"@2026-02-23T15:30:27\nSystem:\n[PERFORMANCE ALERT] Frame time high: 160.9ms. Please consider optimizing recent changes or reducing load.",
]
[agent.tools]

View File

@@ -35,5 +35,5 @@ active = "main"
[discussion.discussions.main]
git_commit = ""
last_updated = "2026-02-23T15:12:14"
last_updated = "2026-02-23T15:34:25"
history = []

View File

@@ -31,27 +31,31 @@ def test_hooks_enabled_via_env():
def test_ipc_server_starts_and_responds():
app_mock = gui.App()
app_mock.test_hooks_enabled = True
server = api_hooks.HookServer(app_mock, port=8999)
server = api_hooks.HookServer(app_mock, port=0)
server.start()
# Wait for server to start
time.sleep(0.5)
actual_port = server.server.server_address[1]
base_url = f"http://127.0.0.1:{actual_port}"
try:
req = urllib.request.Request("http://127.0.0.1:8999/status")
req = urllib.request.Request(f"{base_url}/status")
with urllib.request.urlopen(req) as response:
assert response.status == 200
data = json.loads(response.read().decode())
assert data.get("status") == "ok"
# Test project GET
req = urllib.request.Request("http://127.0.0.1:8999/api/project")
req = urllib.request.Request(f"{base_url}/api/project")
with urllib.request.urlopen(req) as response:
assert response.status == 200
data = json.loads(response.read().decode())
assert "project" in data
# Test session GET
req = urllib.request.Request("http://127.0.0.1:8999/api/session")
req = urllib.request.Request(f"{base_url}/api/session")
with urllib.request.urlopen(req) as response:
assert response.status == 200
data = json.loads(response.read().decode())
@@ -60,7 +64,7 @@ def test_ipc_server_starts_and_responds():
# Test project POST
project_data = {"project": {"foo": "bar"}}
req = urllib.request.Request(
"http://127.0.0.1:8999/api/project",
f"{base_url}/api/project",
method="POST",
data=json.dumps(project_data).encode("utf-8"),
headers={'Content-Type': 'application/json'})
@@ -71,7 +75,7 @@ def test_ipc_server_starts_and_responds():
# Test session POST
session_data = {"session": {"entries": [{"role": "User", "content": "hi"}]}}
req = urllib.request.Request(
"http://127.0.0.1:8999/api/session",
f"{base_url}/api/session",
method="POST",
data=json.dumps(session_data).encode("utf-8"),
headers={'Content-Type': 'application/json'})
@@ -82,7 +86,7 @@ def test_ipc_server_starts_and_responds():
# Test GUI queue hook
gui_data = {"action": "set_value", "item": "test_item", "value": "test_value"}
req = urllib.request.Request(
"http://127.0.0.1:8999/api/gui",
f"{base_url}/api/gui",
method="POST",
data=json.dumps(gui_data).encode("utf-8"),
headers={'Content-Type': 'application/json'})