Skip to content

fix: include all list items in success responses (#85) - #88

Open
joyjit wants to merge 1 commit into
democratize-technology:mainfrom
joyjit:resubmit/fix-list-response-over-10
Open

fix: include all list items in success responses (#85)#88
joyjit wants to merge 1 commit into
democratize-technology:mainfrom
joyjit:resubmit/fix-list-response-over-10

Conversation

@joyjit

@joyjit joyjit commented Jul 26, 2026

Copy link
Copy Markdown

Summary

  • Fixes #85: formatSuccessMessage dropped collection items when length was over 10, leaving only a count with no recoverable data.
  • Always render all list items in the markdown success response.
  • Updates/adds tests for >10 tasks, exactly 10 tasks, and >10 non-task collections.

Replaces the accidental multi-commit PR #87 (closed when the shared head branch was deleted after merging the equivalent fix on the fork).

Test plan

  • npx jest tests/utils/simple-response.test.ts
  • npm run lint / typecheck / test:coverage on the fork equivalent
  • Upstream CI green

Remove the <=10 render cap that left large collections as
count-only markdown with no recoverable item data (democratize-technology#85).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Listing more than 10 items returns a count with no data (markdown renderer drops the collection)

1 participant