vercel-queues

tarafından sentry

@vercel/queue ile push ve poll tüketicileri arasında Vercel Queues oluşturun ve işletin. Kullanıcılar "vercel queues", "@vercel/queue", "queue/v2beta",… hakkında soru sorduğunda kullanın.

npx skills add https://github.com/getsentry/junior --skill vercel-queues

Implement queue producers and consumers using Vercel Queues docs and SDK contracts.

Step 1: Classify the request

Choose one path before writing code:

Request typePrimary reference
First-time setup, minimal producer + consumerreferences/quickstart.md
SDK usage, options, retries, transport behaviorreferences/sdk.md
API-level integration (custom clients, non-SDK consumers)references/api.md
Delivery semantics and architecture decisionsreferences/concepts.md
Polling workers and mixed push/poll designreferences/poll-mode.md
Local setup and debuggingreferences/local-dev.md

If the task spans multiple categories, read only the relevant files above.

Step 2: Apply core guardrails

  1. Design consumers as idempotent because delivery is at-least-once.
  2. Pick push mode by default on Vercel unless the task explicitly needs scheduled/batched/client-driven polling.
  3. For poll mode, pin an explicit region and use the same region for send and receive.
  4. Use bounded retry strategy for poison messages (acknowledge: true after threshold).
  5. Keep topic and consumer names within ^[A-Za-z0-9_-]+$.

Step 3: Implement with minimal surface

  1. Prefer top-level send and handleCallback for standard Vercel push mode.
  2. Use QueueClient only when you need custom options (transport, token, headers, deploymentId).
  3. Use PollingQueueClient for poll mode (receive) and handle { ok: false, reason: "empty" } explicitly.
  4. Keep vercel.json trigger mapping explicit and scoped to the consumer route.

Step 4: Validate behavior

  1. Verify producer returns messageId and treat nullable messageId as acceptable deferred acceptance.
  2. Verify consumer behavior across success, retry, and poison-message paths.
  3. Verify visibility timeout assumptions match workload duration.
  4. Verify region assumptions in poll mode.

Step 5: Troubleshoot from first principles

  1. Authentication issues: check OIDC/token source and env loading.
  2. Missing deliveries: verify topic name, trigger registration, and region alignment.
  3. Duplicate processing: verify idempotency key strategy and consumer idempotency.
  4. Backlog growth: inspect consumer throughput, retry policy, and visibility timeout.

sentry tarafından daha fazla skill

generate-frontend-forms
sentry
Sentry'in yeni form sistemini kullanarak form oluşturma kılavuzu. Formlar, form alanları, doğrulama veya otomatik kaydetme işlevselliği uygulanırken kullanılır.
official
sentry-snapshots-cocoa
sentry
Apple/Cocoa projeleri için tam Sentry Snapshots kurulumu. "SnapshotPreviews kurulumu yap", "Apple snapshot testi kurulumu yap", "Apple snapshot'larını yükle…" istendiğinde kullanılır.
official
architecture-review
sentry
Personel seviyesinde kod tabanı sağlık incelemesi. Monolitik modülleri, sessiz hataları, tip güvenliği açıklarını, test kapsama boşluklarını ve LLM dostluğu sorunlarını bulur.
official
linear-type-labeler
sentry
Linear sorunlarını sınıflandırır ve her sorunun başlığı ile açıklamasının içeriğine dayanarak Sentry çalışma alanının etiket taksonomisinden bir Tür etiketi uygular.
official
sentry-flutter-sdk
sentry
Flutter ve Dart için tam Sentry SDK kurulumu. "Flutter'a Sentry ekle", "sentry_flutter yükle", "Dart'ta Sentry kurulumu yap" veya hata yapılandırması istendiğinde kullanılır.
official
sentry-svelte-sdk
sentry
Svelte ve SvelteKit için tam Sentry SDK kurulumu. "Svelte'e Sentry ekle", "SvelteKit'e Sentry ekle", "@sentry/sveltekit'i yükle" dendiğinde veya yapılandırma istendiğinde kullanılır…
official
vercel-react-best-practices
sentry
Vercel Mühendisliği'nden React ve Next.js performans optimizasyonu yönergeleri. Bu yetenek, React/Next.js yazarken, gözden geçirirken veya yeniden düzenlerken kullanılmalıdır…
official
sentry-tanstack-start-sdk
sentry
TanStack Start React için tam Sentry SDK kurulumu. "TanStack Start'a Sentry ekle", "@sentry/tanstackstart-react'i yükle" veya hata yapılandırması yap denildiğinde kullanılır.
official