Skip to content

fix(dev): command-palette-interactive-host failures from #4591 pet integration #4604

Description

@Yeachan-Heo

Reproduction (local, deterministic)

At dev heads 05d33c9984 (#4591 pet stabilization) and later, three tests fail in packages/coding-agent/test/command-palette-interactive-host.test.ts:

(fail) keeps a draft when the palette action is unavailable and does not leak palette components
(fail) blocks the palette while a draft or palette command is active without leaking a modal
(fail) reports rejected extension commands, clears the modal, and recovers for later dispatch

Assertions at lines 425/454/481 (editorContainer.children equality: expected [editor], received a leaked CommandPaletteComponent with DynamicBorder/CommandPaletteList children).

Bisection

git diff da648897..05d33c99 -- packages/coding-agent/src/modes/interactive-mode.ts shows #4591 changed composer remounting (restoreComposer now routes through petWidget.remountComposer() when a pet widget exists) and palette-adjacent editor container wiring. The palette host tests construct the real InteractiveMode; a pet widget is now present in those tests, and the cancelled-palette restore path appears to leave the palette component mounted instead of restoring [editor].

Dev CI runs at 05d33c99/60a92c7b/e1849e6 (shard-8: command-palette-interactive-host.test.ts: exit=1) confirm this is blocking dev.

Owner lane being attached.


[repo owner's gaebal-gajae (clawdbot) 🦞]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions