fix(runtime): preserve deterministic context identity

This commit is contained in:
morluto
2026-07-24 14:40:29 +00:00
parent 1bd65f68bc
commit 9bd2ac590c
4 changed files with 24 additions and 8 deletions
+3 -1
View File
@@ -110,7 +110,9 @@ export class V8InspectorProvider implements JavaScriptRuntimeObservationPort {
}
allowed.push({ ...target, location: decision.location });
}
allowed.sort((left, right) => left.id.localeCompare(right.id));
allowed.sort((left, right) =>
left.id < right.id ? -1 : left.id > right.id ? 1 : 0,
);
const items = allowed
.slice(input.offset, input.offset + input.limit)
.map(projectTarget);