fix windows bridge logs and mobile headers (#1198)

This commit is contained in:
ekko
2026-06-01 11:58:54 +08:00
committed by GitHub
parent 3f7242aee8
commit aa7c1c4fbb
4 changed files with 17 additions and 0 deletions
@@ -494,8 +494,12 @@ async function handleArchiveSelectedBoard() {
@media (max-width: $breakpoint-mobile) {
.page-header {
padding: 16px 12px 16px 52px;
position: sticky;
top: 0;
z-index: 20;
flex-direction: column;
align-items: flex-start;
background: $bg-primary;
gap: 10px;
}
@@ -466,6 +466,13 @@ onBeforeUnmount(() => {
flex-direction: column;
}
.page-header {
position: sticky;
top: 0;
z-index: 20;
background: $bg-primary;
}
.header-actions {
width: 100%;
}
@@ -2825,6 +2825,8 @@ class WorkerProcess:
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
text=True,
encoding="utf-8",
errors="replace",
bufsize=1,
**_hidden_subprocess_kwargs(),
)
@@ -600,6 +600,8 @@ class FakeProcess:
def fake_popen(args, **kwargs):
created["args"] = args
created["env"] = kwargs["env"]
created["encoding"] = kwargs.get("encoding")
created["errors"] = kwargs.get("errors")
return FakeProcess()
original_popen = bridge.subprocess.Popen
@@ -617,6 +619,8 @@ finally:
assert created["env"]["HERMES_AGENT_BRIDGE_BROKER_PID"] == "4242"
assert created["env"]["HERMES_AGENT_BRIDGE_WORKER_PROFILE"] == "default"
assert created["encoding"] == "utf-8"
assert created["errors"] == "replace"
stop_event = threading.Event()
seen_pids = []