fix(firmware): separate analysis and publication deadlines (#4602)

Separate extraction/inventory and caller-selectable publication budgets in the shared firmware workflow. Preserve phase, selected timeout, verified progress, caller cancellation identity and committed observations through cleanup. Enforce monotonic expiry even before timer callbacks run.

Validated with 101 targeted tests, full static checks, documentation checks and real OpenWrt CLI/MCP workflows with digest and cleanup verification. Existing main CI failures are documented separately.

Fixes #4176.
This commit is contained in:
Nitin Kushwaha authored and GitHub committed 2026-10-20 13:57:20 +00:00
1 parent 52d1a72af0
commit cf5194f68e
11 files changed
+726 -102

No files matched your search

+2
View File
@@ -73,6 +73,7 @@ export const registerFirmwareCommands = (
maxDepth: extractInput.max_depth,
maxOutputBytes: extractInput.max_output_bytes,
maxOutputFiles: extractInput.max_output_files,
publicationTimeoutMs: extractInput.publication_timeout_ms,
}),
run: ({ args, options }) =>
execute(CLI_COMMANDS.extractFirmware, "extract_firmware", {
@@ -84,6 +85,7 @@ export const registerFirmwareCommands = (
max_depth: options.maxDepth,
max_output_bytes: options.maxOutputBytes,
max_output_files: options.maxOutputFiles,
publication_timeout_ms: options.publicationTimeoutMs,
}),
});
};