perf(web): centralize batch handoff rotation
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-09-03 15:50:39 +08:00
parent d602a13e2b
commit 07e63efa25
6 changed files with 78 additions and 30 deletions

View File

@@ -451,7 +451,6 @@ def main() -> int:
# The root is a completed queue-enable record. Preparing its context again
# wastes budget and can fail solely because the parent manifest grew; only
# the active implementation batch needs a packet.
run_node("tools/web/check-task-context.mjs", "--task", module_task, "--write")
print(f"wbv2-successor-authorized root={root_task} next={module_task} module={batch['moduleId']} batchSize={len(batch['units'])} reused={len(batch.get('candidateUnits', batch['units'])) - len(batch['units'])} inventoryDelta=0")
return 0