fix(browser): keep code absence unknown without worker inventory

This commit is contained in:
morluto
2026-10-24 03:00:02 +08:00
parent b4502be51a
commit 209c42c346
5 changed files with 59 additions and 1 deletions
@@ -70,7 +70,9 @@ const classifyLayer = (
options.reconciliationComplete &&
layer.graph.coverage.status === "complete" &&
scopedEntities.length > 0 &&
scopedEntities.every(({ capture }) => capture.scriptsCompleteWithinScope);
scopedEntities.every(
({ capture }) => capture.codeInventoryCompleteWithinScope,
);
const states = nodes.map((node) => {
const runtimeNodeIds = uniqueSorted(direct.get(node.node_id) ?? []);
if (runtimeNodeIds.length > 0)