Skip to content

fix(update_doc): ignore null created blocks#267

Open
Gujiassh wants to merge 1 commit intomondaycom:masterfrom
Gujiassh:fix/update-doc-null-blocks
Open

fix(update_doc): ignore null created blocks#267
Gujiassh wants to merge 1 commit intomondaycom:masterfrom
Gujiassh:fix/update-doc-null-blocks

Conversation

@Gujiassh
Copy link

Summary

  • treat create_doc_blocks: [null] the same as an empty result instead of letting null entries fall through to ID formatting
  • keep the existing error path but base it on non-null created blocks only
  • add regression coverage for the all-null mutation response path

Testing

  • npx jest src/core/tools/platform-api-tools/update-doc-tool/update-doc-tool.test.ts
  • npx eslint src/core/tools/platform-api-tools/update-doc-tool/update-doc-tool.ts src/core/tools/platform-api-tools/update-doc-tool/update-doc-tool.test.ts
  • npm run build

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
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.

1 participant