[GH-ISSUE #1692] Investigate Calls SwarmUI catalog test returning missing instead of ready #1666

Closed
opened 2026-10-26 04:02:29 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1692

Originally assigned to: @SpicyMarinara on GitHub.

Owner: @SpicyMarinara (Codex triage). Follow-up only; no Calls changes are included in Gacha recovery PR #1682.

Observed failure

Original Catalog validation attempt on exact PR #1682 head 9c07fb607a44f4f72cd9d023cdf5dcce6d8233d2 failed one of 67 commands:

node tests/calls-swarmui-video.regression.mjs
AssertionError [ERR_ASSERTION]: 'missing' !== 'ready'
at tests/calls-swarmui-video.regression.mjs:189:10

The test expects the generated idle clip to be ready after manifest.generating becomes false. All Gacha checks passed. The Calls test and its imported sources/engine Calls/video implementation are unchanged from staging c66ac802b0f2b7c8077d65ce23ba3f1ec4b04a8e.

An exact unchanged local replay passes:

node tests/calls-swarmui-video.regression.mjs
# Calls SwarmUI provider and character-clip regressions passed.

Hosted environment: Ubuntu, Node24.21.0. Local replay: macOS, Node24.22.1. The original failure log and unchanged local replay are retained. One unchanged failed-job rerun has been requested; its result must be reported separately.

Investigation hypothesis, not a confirmed cause

getConversationCallCharacterVideoManifest awaits a disk snapshot, then toPublicManifest reads the current generation lock. If the job writes ready metadata and clears the lock between those operations, an older disk generating snapshot could be combined with no live lock and exposed as missing. The current test exits its polling loop at !manifest.generating.

This timing sequence has not been reproduced under a controlled scheduler. Investigate it before changing production code or test waiting behavior; a retry passing would not establish this hypothesis as the cause.

Expected follow-up

  • Establish a controlled reproduction or another evidence-backed cause.
  • Preserve assertions for the real ready clip, provider workflow, generated bytes and cleanup. Do not hide a production state defect with a skip, timeout increase or weaker assertion.
  • If the shared host implementation is responsible, keep Engine/source-snapshot ownership aligned; keep this work separate from #1682.
Originally created by @SpicyMarinara on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1692 Originally assigned to: @SpicyMarinara on GitHub. Owner: @SpicyMarinara (Codex triage). Follow-up only; no Calls changes are included in Gacha recovery PR #1682. ## Observed failure [Original Catalog validation attempt](https://github.com/Pasta-Devs/Marinara-Agents/actions/runs/40206336988/attempts/1) on exact PR #1682 head `9c07fb607a44f4f72cd9d023cdf5dcce6d8233d2` failed one of 67 commands: ```text node tests/calls-swarmui-video.regression.mjs AssertionError [ERR_ASSERTION]: 'missing' !== 'ready' at tests/calls-swarmui-video.regression.mjs:189:10 ``` The test expects the generated idle clip to be ready after `manifest.generating` becomes false. All Gacha checks passed. The Calls test and its imported `sources/engine` Calls/video implementation are unchanged from staging `c66ac802b0f2b7c8077d65ce23ba3f1ec4b04a8e`. An exact unchanged local replay passes: ```sh node tests/calls-swarmui-video.regression.mjs # Calls SwarmUI provider and character-clip regressions passed. ``` Hosted environment: Ubuntu, Node24.21.0. Local replay: macOS, Node24.22.1. The original failure log and unchanged local replay are retained. One unchanged failed-job rerun has been requested; its result must be reported separately. ## Investigation hypothesis, not a confirmed cause `getConversationCallCharacterVideoManifest` awaits a disk snapshot, then `toPublicManifest` reads the current generation lock. If the job writes ready metadata and clears the lock between those operations, an older disk `generating` snapshot could be combined with no live lock and exposed as `missing`. The current test exits its polling loop at `!manifest.generating`. This timing sequence has not been reproduced under a controlled scheduler. Investigate it before changing production code or test waiting behavior; a retry passing would not establish this hypothesis as the cause. ## Expected follow-up - Establish a controlled reproduction or another evidence-backed cause. - Preserve assertions for the real ready clip, provider workflow, generated bytes and cleanup. Do not hide a production state defect with a skip, timeout increase or weaker assertion. - If the shared host implementation is responsible, keep Engine/source-snapshot ownership aligned; keep this work separate from #1682.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 25, 2026):

The unchanged hosted rerun, attempt 2 passed on the same 9c07fb607a44f4f72cd9d023cdf5dcce6d8233d2 candidate. No source, assertion, timeout or workflow change was made between the failed attempt and this successful replay. The original failure remains retained and linked above.

This establishes an intermittent hosted result; it does not confirm the proposed disk-snapshot/generation-lock timing sequence as its cause.

<!-- gh-comment-id:6399521490 --> @SpicyMarinara commented on GitHub (Oct 25, 2026): The [unchanged hosted rerun, attempt 2](https://github.com/Pasta-Devs/Marinara-Agents/actions/runs/40206336988/attempts/2) passed on the same `9c07fb607a44f4f72cd9d023cdf5dcce6d8233d2` candidate. No source, assertion, timeout or workflow change was made between the failed attempt and this successful replay. The original failure remains retained and linked above. This establishes an intermittent hosted result; it does **not** confirm the proposed disk-snapshot/generation-lock timing sequence as its cause.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1666
No description provided.