Skip to content

fix(components): drop whitespace-only and empty entries in PUT /catalogue - #379

Merged
davidmckayv merged 2 commits into
CopilotKit:mainfrom
Ayush7614:fix/catalogue-whitespace-entries
Sep 5, 2026
Merged

fix(components): drop whitespace-only and empty entries in PUT /catalogue#379
davidmckayv merged 2 commits into
CopilotKit:mainfrom
Ayush7614:fix/catalogue-whitespace-entries

Conversation

@Ayush7614

Copy link
Copy Markdown
Contributor

PUT /catalogue rejected '' for name/description but not ' ', and never checked title/kind at all, so blank rows reached syncCatalogue.

Change: require trimmed non-empty name/title/kind/description, otherwise skip the entry as with other invalid rows.

Verified: tsc clean; logic check keeps 1 of 4 mixed entries; bun test server/tests/component-decision.test.ts 5 pass. channel-routes 29 failures are pre-existing on clean upstream/main.

@davidmckayv davidmckayv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed diff against current main; resolved CHANGELOG keep-both; validated locally (format + composed test run). CI green.

@davidmckayv
davidmckayv merged commit 077b854 into CopilotKit:main Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants