fix(web-probe): wait for mdtodo DOM before sentinel screenshots

This commit is contained in:
Codex
2026-06-27 06:18:47 +00:00
parent c0c392caa6
commit 379bb64d57
5 changed files with 45 additions and 2 deletions
+1
View File
@@ -204,6 +204,7 @@ export interface NodeWebProbeObserveOptions {
commandExpectedSentinelRange: string | null;
commandExpectedActionWaitMs: number | null;
commandRequireComposerReady: boolean;
commandWaitProjectManagementReady: boolean;
commandFindingId: string | null;
commandBlocking: boolean | null;
commandAccountId: string | null;
+3 -1
View File
@@ -278,7 +278,7 @@ export function parseNodeWebProbeObserveOptions(
"--workspace-root",
"--workspace-root-ref",
"--root",
]), new Set(["--force", "--full", "--raw", "--text-stdin", "--require-composer-ready", "--blocking", "--non-blocking"]));
]), new Set(["--force", "--full", "--raw", "--text-stdin", "--require-composer-ready", "--wait-project-management-ready", "--blocking", "--non-blocking"]));
const commandTypeRaw = optionValue(args, "--type") ?? null;
const commandType = commandTypeRaw === null ? null : parseNodeWebProbeObserveCommandType(commandTypeRaw);
const stateDir = optionValue(args, "--state-dir") ?? indexed?.stateDir ?? null;
@@ -431,6 +431,7 @@ export function parseNodeWebProbeObserveOptions(
commandExpectedSentinelRange,
commandExpectedActionWaitMs,
commandRequireComposerReady: args.includes("--require-composer-ready"),
commandWaitProjectManagementReady: args.includes("--wait-project-management-ready"),
commandFindingId,
commandBlocking,
commandAccountId,
@@ -1500,6 +1501,7 @@ export function runNodeWebProbeObserveCommand(options: NodeWebProbeObserveOption
expectedSentinelRange: options.commandExpectedSentinelRange,
expectedActionWaitMs: options.commandExpectedActionWaitMs,
requireComposerReady: options.commandRequireComposerReady,
waitProjectManagementReady: options.commandWaitProjectManagementReady,
findingId: options.commandFindingId,
blocking: options.commandBlocking,
accountId: options.commandAccountId,