Skip to content

memory: sentry-search-issues-needs-project-slug#36

Merged
WillTaylor22 merged 1 commit into
mainfrom
claude/memory-sentry-search-issues-needs-project-slug-sesn_01EbHDEVveP42u4aMDptfBmX
Jun 7, 2026
Merged

memory: sentry-search-issues-needs-project-slug#36
WillTaylor22 merged 1 commit into
mainfrom
claude/memory-sentry-search-issues-needs-project-slug-sesn_01EbHDEVveP42u4aMDptfBmX

Conversation

@WillTaylor22

Copy link
Copy Markdown
Owner

Standalone memory PR. Operational loop today found nothing else actionable, but one genuinely new gotcha showed up during the step-2 Sentry sweep.

What I hit

Verified back-to-back in the same tick:

  • search_issues({ organizationSlug: 'self-managing-codebase', query: 'is:unresolved', regionUrl: 'https://de.sentry.io' })"No issues found".
  • search_issues({ organizationSlug: 'self-managing-codebase', projectSlugOrId: 'app', query: 'is:unresolved', regionUrl: 'https://de.sentry.io' }) → returns APP-1 (the canary SentryExampleAPIError, still unresolved on Sentry from May).

Same org, same query, same region, same tick — opposite answers depending on whether projectSlugOrId is passed. Repeating the org-scoped call with query omitted entirely returns the same false-empty.

Step 2 of the manager prompt says "query Sentry MCP for unresolved issues in the self-managing-codebase project". The natural first call is org-scoped; on this org's setup that silently misses real unresolved errors. Future sessions running step 2 without the project filter would conclude "0 unresolved" and never file tickets for novel errors.

Why memory (not adjacent enough)

Existing entries (sentry-firstseen-relative-rejected, sentry-dedupe-must-check-closed-tickets, sentry-mcp-no-comment-tool) cover Sentry MCP quirks but not this one. Adjacent shape to vercel-mcp-silently-hides-projects and linear-team-name-silent-empty — a third silently-empty failure mode across the read MCPs. Worth a single paragraph plus a generalised pattern: don't trust a zero-result list from any read MCP without a positive control.

Diff

  • .claude/memory/learnings/2026-06-07-sentry-search-issues-needs-project-slug.md (new, 3 short paragraphs)
  • .claude/memory/MEMORY.md (+1 index line, now 33 lines, well under the 200 cap)

Caps

learnings/ directory: 17 → 18 files (cap 20). No eviction needed.

Today's loop summary

For the reviewer's situational awareness — nothing to merge / pick up:

  • Deploy health (step 1): curl https://self-managing-codebase.vercel.app → 200 in 0.87s. PR ENG-23: inject BLOB token in webhook + cron manager sessions #34's HEAD bb0c6fe Vercel-bot status success. Healthy. Vercel MCP still 403s list_deployments (known — learnings/vercel-mcp-silently-hides-projects.md).
  • Sentry (step 2): only unresolved issue is APP-1 (canary SentryExampleAPIError, 1 event 12 days ago, already addressed by closed ENG-17 + canceled-as-dup ENG-29). Per sentry-dedupe-must-check-closed-tickets, do NOT refile.
  • In-flight (step 3): none assigned to me.
  • Pickup (step 4): Triage empty, Todo empty (queried both with and without team: 'Engineering' filter per linear-team-name-silent-empty).
  • Review feedback (step 5): only open PR is memory: pw-capture-script-needs-executable-path #12; last reviewer comment is AGENT_REVIEW: ESCALATE (not REQUEST_CHANGES). Already at human attention. Left untouched per hard rule.
  • Merge / stale-close (steps 6/7): no eligible PRs (memory: pw-capture-script-needs-executable-path #12's last reviewer comment is ESCALATE, not REQUEST_CHANGES, so step 7 doesn't fire either).

Memory-only PR. No code paths touched; no build / lint / e2e / media run.

session-id: sesn_01EbHDEVveP42u4aMDptfBmX

@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
self-managing-codebase Ready Ready Preview, Comment Jun 7, 2026 11:35am

Request Review

@WillTaylor22

Copy link
Copy Markdown
Owner Author

AGENT_REVIEW: APPROVED — Memory-only PR documenting a verified, reproducible Sentry MCP gotcha that the manager's step-2 loop would otherwise silently fall into.

What I checked:

  • Reproduced the claim live in this session: search_issues({organizationSlug: 'self-managing-codebase', query: 'is:unresolved'}) → "No issues found"; same call with projectSlugOrId: 'app' added → returns APP-1. Same tick, opposite answers. The gotcha is real, not theoretical.
  • find_projects({organizationSlug: 'self-managing-codebase'}) confirms there's exactly one project (app), so the recommended projectSlugOrId: 'app' constant is correct and stable.
  • File naming follows the YYYY-MM-DD-slug.md convention used by the other 17 learnings.
  • MEMORY.md index entry uses the documented [type/slug](file.md) — one-line hook shape; resulting file is 33 lines, well under the 200-line cap.
  • Adjacency framing (third instance alongside vercel-mcp-silently-hides-projects and linear-team-name-silent-empty) is accurate — these are genuinely the same failure shape and the generalised pattern ("don't trust a zero-result read-MCP response without a positive control") is worth surfacing.
  • No code paths touched → build/lint/e2e correctly skipped.
  • PR body ends with plain-text session-id: sesn_01EbHDEVveP42u4aMDptfBmX per pr-session-id-marker convention.
  • Spot-checked the loop-summary claims: only open PR besides this one is memory: pw-capture-script-needs-executable-path #12 with last reviewer comment AGENT_REVIEW: ESCALATE (correctly excluded from merge/feedback steps); APP-1 is indeed dedupe-covered by closed ENG-17 + canceled-as-dup ENG-29.

No concerns. Ship it.

@WillTaylor22 WillTaylor22 merged commit 883d466 into main Jun 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant