Repository navigation
feat(organization-search): list my chat history in the Organization Search block - #10548
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 15 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
Contributor
[High impact] The reviewed changes appear safe to merge. SummaryAdds List My Chat History to Organization Search, using the workflow runner’s own access.
Reviews (2) · Last reviewed commit: "fix(organization-search): chat history p..." · Reviewed by Greptile |
Collaborator
Author
Collaborator
Author
|
@cubic-dev-ai review this PR |
Contributor
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
6 tasks done
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
list_my_chat_history, toolorganization_list_my_chat_history(effect: 'read'), the same use case as the Search MCP and Assistant tool of that name (feat(search): list your own chat history on Search MCP and in the Assistant #10537)executor. A run with no person (schedule, webhook, workspace API key) fails before any readquestions(oldest first) andnextCursor. Chat-history dates have their own fields because Search's dates are advanced and optionaltool-ids.ts,tools/organization/list_my_chat_history.ts,tools/registry.ts,OPERATIONSinblocks/blocks/organization.ts; handler inlib/internal/organization-search/list-my-chat-history.ts; generated tool metadata regeneratedType of Change
Testing
lib/internal/organization-search/execute-tool.integration.tsagainst real Postgres: a run lists its person's own questions and never a colleague's (red withexecutorremoved from the operation); a scheduled run of either tool is refused with the no-person faultlib/knowledge/application/chat-history.integration.tsstill greenblocks,tools/organization,lib/internalbun run generate, lint,check:tool-effects,check:integration-catalog,check:canvas-sentences, block registry check againstorigin/stagingChecklist
test-auditauthoring gate)