[GH-ISSUE #2132] Conversation Calls: calls-swarmui-video regression flakes in CI ('missing' !== 'ready') #1930

Closed
opened 2026-11-07 16:37:45 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

What happens

tests/calls-swarmui-video.regression.mjs failed once in the Catalog validation job on #2130. #2130 changes only otome-forge and touches no Conversation Calls or sources/ code. A re-run is pending.

AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
'missing' !== 'ready'
    at tests/calls-swarmui-video.regression.mjs:189:10

The test polls getConversationCallCharacterVideoManifest until generating is false, then expects the idle clip to be ready. generating became false, but the clip's status read missing.

The same test passed in the Catalog validation jobs on #2129 and #2131, on staging's recent runs, and in 5 of 5 local runs. So it looks like a timing race, not a regression.

Where to look

sources/engine/packages/server/src/services/conversation/call-character-videos.service.ts:

  • toPublicManifest reports missing when the clip file isn't there, or when the manifest's clip status is neither ready nor error, or when the avatar identity doesn't match.
  • runGenerationJob writes the file (tmp then rename) and then the ready manifest entry. The lock in GENERATION_LOCKS is cleared in the job's .finally.
  • Both temp names use ${file}.${process.pid}.${Date.now()}.tmp.

Worth checking:

  • whether a manifest read can land between the lock clearing and the ready write becoming visible;
  • whether the avatar identity can differ between startConversationCallCharacterVideoGeneration and the job on a slow runner.

Expected

The regression passes every time, or the service never reports a finished generation with a missing clip.

Package

conversation-calls (found while shipping an unrelated otome-forge PR)

Originally created by @SpicyMarinara on GitHub (Nov 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/2132 Originally assigned to: @SpicyMarinara on GitHub. ### What happens `tests/calls-swarmui-video.regression.mjs` failed once in the Catalog validation job on #2130. #2130 changes only `otome-forge` and touches no Conversation Calls or `sources/` code. A re-run is pending. ``` AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 'missing' !== 'ready' at tests/calls-swarmui-video.regression.mjs:189:10 ``` The test polls `getConversationCallCharacterVideoManifest` until `generating` is false, then expects the idle clip to be `ready`. `generating` became false, but the clip's status read `missing`. The same test passed in the Catalog validation jobs on #2129 and #2131, on staging's recent runs, and in 5 of 5 local runs. So it looks like a timing race, not a regression. ### Where to look `sources/engine/packages/server/src/services/conversation/call-character-videos.service.ts`: - `toPublicManifest` reports `missing` when the clip file isn't there, or when the manifest's clip status is neither `ready` nor `error`, or when the avatar identity doesn't match. - `runGenerationJob` writes the file (tmp then rename) and then the `ready` manifest entry. The lock in `GENERATION_LOCKS` is cleared in the job's `.finally`. - Both temp names use `${file}.${process.pid}.${Date.now()}.tmp`. Worth checking: - whether a manifest read can land between the lock clearing and the `ready` write becoming visible; - whether the avatar identity can differ between `startConversationCallCharacterVideoGeneration` and the job on a slow runner. ### Expected The regression passes every time, or the service never reports a finished generation with a missing clip. ### Package conversation-calls (found while shipping an unrelated otome-forge PR)
bsakaguchi 2026-11-07 16:37:45 +07:00
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#1930
No description provided.