Skip to content

flow-connector-picker: a committed action's Input section stays a generic untyped key/value repeater — the descriptor's inputSchema is never consumed #4305

Description

@huangyiirene

Symptom

In the flow connector picker, after committing an action the Input section renders a generic untyped key/value repeater, with no field derived from the descriptor's inputSchema. The picker is otherwise correct — it follows the runtime registry (its options diff name-by-name against GET /automation/connectors), refuses undispatchable descriptors (does not offer the catalog-only showcase_erp_catalog), annotates provenance exactly, and derives actions end-to-end — this is the sole PARTIAL gap.

Root cause

Nothing in app-shell consumes the descriptor inputSchema. git grep inputSchema over packages/app-shell hits only views/metadata-admin/default-schemas.ts (a field declaration) and a comment in views/metadata-admin/previews/flow-canvas-layout.ts — on both the served console pin and origin/main. No code path turns an action's inputSchema into typed input fields, so the Input section falls back to the generic repeater. Not fixed upstream.

Reproduction

  1. Open the flow builder, add a connector node, and pick an action whose descriptor declares an inputSchema.
  2. Commit the action and inspect the Input section.

Expected: input fields typed from the descriptor's inputSchema. Actual: a generic untyped key/value repeater with no schema-derived fields.

Source

Extracted from the QA run objectstack-ai/objectstack#7690 (framework 92f26f75, console 09987b6).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions