You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bounty proposal] fix(notion): search and list_pages print truncated page ids that get/update/append cannot use #13862
In plugins/omi-notion-app/main.py, format_page_info prints each page id as page_id[:20] + "..." (line 202 on current main). Notion page ids are 36 character dashed UUIDs (Page object, id), so search and list_pages return ids like 59833787-2cf9-4fdf-8. get_page, update_page and append_content send page_id verbatim to /pages/{id} and /blocks/{id}/children, so reading, retitling, archiving or appending to a page found through chat ends in an object not found error.
Evidence
Hermetic round trip in the existing test_main.py suite driving the real handlers against a requests double that only resolves the complete id: 2 tests fail on unchanged main.py, every listed id rejected by get_page, update_page and append_content.
Fix
PR incoming: print the complete id (as get_page and create_page already do) plus the round trip tests in the already registered suite. Same defect class as #13860 in the Google Calendar plugin, kept separate because the plugins are independent.
Proposed bounty: US$25 under the contribution guide, at maintainer discretion. @josancamon19@kodjima33
Activity