Repository navigation
fix(search): independent Jira activity listings, Drive and Jira paging, cursor and citation fixes - #10583
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
There was a problem hiding this comment.
1 issue found across 21 files
Confidence score: 3/5
google.tsrestarts Drive listings from the first page because the continuation doesn’t carrypageToken, so pagination can repeat results instead of advancing. Carry the page token through the continuation and bound the query by edit time.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="apps/sim/lib/sim-search/live/google.ts">
<violation number="1" location="apps/sim/lib/sim-search/live/google.ts:189">
P2: `more: !reachedStart` now asks for a continuation, but the continuation restarts the Drive listing from the first page. `pageToken` is never carried in the bound, and the query has no upper edit-time bound, so each call re-reads the pages an earlier call already consumed against the 8-request cap. Windows with more edits than that stall with `no_progress` instead of resuming. Carry the Drive `nextPageToken` in the continuation bound, or bound the query by the resume instant so earlier pages are not re-read.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
Contributor
Confidence Score: 5/5
[Medium impact] The PR appears safe to merge; no new actionable issues remain. SummaryUpdates activity reads, chat citations, history labels, and cursor guidance.
Reviews (2) · Last reviewed commit: "fix(search): keep Jira outages account-w..." · Reviewed by Greptile |
waleedlatif1
force-pushed
the
fix/activity-post-merge-audit
branch
from
December 1, 2026 18:34
fe1ad15 to
884bda3
Compare
Collaborator
Author
|
@greptileai review |
…t pages, and name only Linear assignment as involved
waleedlatif1
force-pushed
the
fix/activity-post-merge-audit
branch
from
December 1, 2026 20:19
884bda3 to
677a2b2
Compare
|
Found 1 test failure on Blacksmith runners: Failure
|
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.
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-v2-3x.png)
Summary
Fixes from the post-merge audit of the activity, chat history and search tools, and from the staging smoke test.
Activity
WAS,CHANGED) take no functions, soassignee CHANGED TO currentUser()could be refused with a 400. That rejectedPromise.alland dropped all Jira activity, including created issues. The query now names the member by the account ID it already reads. The created and assigned listings are now independent: one the provider refuses leaves the other and marks the listing partial. Only when both fail does the account fail.more: truewithscannedToat the oldest edit read. Before, it returned nothing, did not resume, and only said to narrow the dates.slackAuthorNamesTSDoc is back on its function. Whenauth.testis refused, DM counterparts are not named, so the member is never listed among them.Search, chat, history
documentId(read from the full tool result; the saved compacted evidence still leaves IDs out), soread_documentcan read them.read_documentgiven a citation ID (live:<32 hex>) explains it is a citation ID and to read the citation'sdocumentIdorurl.chattool recordconfig.surface = search_mcp, andlist_my_chat_historylabels themsearch_mcpinstead ofassistant. Earlier conversations keepassistant: nothing on them tells them apart.Descriptions (contract change)
involvednow reads as the member's own participation in GitHub and Linear items, dated by the item's last update. This matches the GitLab relabel in fix(search): page GitLab activity through busy days #10580, where approvals becomeedited.Tests
Each fails with its change reverted:
activity-providers.test.ts, against a fake Jira that refuses functions in history operators, as Atlassian's JQL reference documents: the account-named assignment query; created issues kept when the assignment listing is refused; reading past a page created after the bound. It also covers the Drive request cap and the Slack refusedauth.test.application.test.ts: the refused-cursor message, and the syntax message kept without a cursor.reference.test.ts: the citation-ID hint.chat-citations.test.ts: citations carrydocumentId.chat-history.integration.ts: thesearch_mcplabel and the shared cursor wording.chat.integration.ts: the Search MCP chat records its surface.I could not verify the JQL change against a live Jira site; it follows the documented operator rules.