search_issues agent strips punctuation from quoted phrases
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
Direção de pesquisa
Start with the search_issues path in search-issues.ts (around lines 195-244, where the query goes to Seer or the embedded agent) and the agent prompt in support/search-issues/config.ts (lines 11 and 25). Check whether a quoted phrase containing parentheses survives the agent's rewrite, and how rewriteSearchQuery treats it. Done means a quoted phrase like "organization step(s) failed" is passed through unchanged, or any rewrite is reported in the result notes.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Through the embedded repair agent, search_issues can rewrite a quoted literal phrase. In MCP-SERVER-GPC (opencode, server 0.42.0), "organization step(s) failed" was reported to run as organization step failed. It returned nothing, though a matching issue existed (a search for organization found it).
- Not verified from telemetry: the failing call isn't in the sampled spans, and the feedback trace is unsampled. The call path below comes from code and from the same caller's other calls.
- The deterministic rewrite keeps the phrase:
rewriteSearchQuery('"organization step(s) failed"', { issueSearch: true })returns it unchanged with no notes. A quoted phrase alone isn't structured syntax (looksLikeSentrySearchSyntax→ false), so it goes to Seer or the agent (search-issues.ts:195-244). - This org uses the agent path: the same user and org's earlier quoted
search_issuescall (tracee90e6dd4…, 2026-11-10,"timeout of 20000ms exceeded") shows the org feature-flag GET and thencallEmbeddedAgent, with no Seer translate call. That run kept the quotes, so the rewrite seems tied to the punctuation. - Likely trigger (inference): the agent prompt counts only
field:valueforms as explicit tokens (support/search-issues/config.ts:11), so a quoted free-text phrase is natural language that the agent may rewrite. It also says parentheses are "invalid in issue search even when written explicitly" (config.ts:25), which doesn't separate grouping parens from literal characters inside a quoted phrase. - The rewrite is silent: the result's
notesonly include rewrites fromrewriteIssueQuery(search-issues.ts:282-289). An agent rewrite shows up only as the changedexecutedSearch.query, and the explanation only appears withincludeExplanation.
Related: the same feedback's search_logs part (unknown attribute with no suggestions) is in #2211.
via Sentry.
--
- Linguagem predominante
- TypeScript
- Estrelas
- 961
- Forks
- 179
- Merge médio
- 15h 33min
- PRs com merge (30d)
- 476
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de getsentry/toolkit
-
MCP mcp-feedback-pattern
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
getsentry/toolkit#2276 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
CLI enhancement MCP
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 63/100
getsentry/toolkit#1908 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
getsentry/toolkit#1471 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
get_sentry_resource gives no guidance for Explore > Errors list URLsTalvez já em andamento @sentry-junior assumiu hoje. AbertaMCP mcp-feedback-pattern
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 32/100
getsentry/toolkit#2278 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 65/100
getsentry/toolkit#2275 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de getsentry/toolkit
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
AykutSarac/jsoncrack.com#616 ·
-
nip27: long hashtag swallows the rest of the content, lone # gives an empty hashtagTalvez já em andamento @bardrop assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
nbd-wtf/nostr-tools#578 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
backnotprop/plannotator#3427 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
microsoft/Power-CAT-Copilot-Studio-Kit#942 ·
Mantenedores costumam responder em até 1 dia
-
[BUG]: Duplicate preposition in heading and unformatted feedback text on Strengthen Argument pageAbertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
AOSSIE-Org/DebateAI#801 · 1 comentário ·
Mantenedores costumam responder em até 1 dia