vercel-queues

โดย sentry

สร้างและดำเนินการ Vercel Queues ด้วย @vercel/queue สำหรับผู้บริโภคแบบ push และ poll ใช้เมื่อผู้ใช้ถามเกี่ยวกับ "vercel queues", "@vercel/queue", "queue/v2beta",…

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.

Skills เพิ่มเติมจาก sentry

architecture-review
sentry
การตรวจสอบสุขภาพโค้ดเบสระดับทีมงาน ค้นหาโมดูลขนาดใหญ่ที่รวมทุกอย่างไว้ด้วยกัน ความล้มเหลวที่ไม่มีสัญญาณเตือน ช่องว่างด้านความปลอดภัยของชนิดข้อมูล ช่องโหว่ของความครอบคลุมการทดสอบ และปัญหาที่เป็นมิตรกับ LLM
pi-agent-integration
sentry
Integrate `@mariozechner/pi-agent-core` as the agent abstraction inside another library or runtime. Use when implementing or refactoring Pi Agent wrappers,…
sentry-debug-issue
sentry
ดีบักและแก้ไขปัญหาใน Sentry — ค้นหา (ด้วยลิงก์, ID หรือการค้นหา), ดึงข้อมูลบริบททั้งหมด (stack trace, breadcrumbs, trace, logs), เรียกใช้ Seer root-cause ได้ตามต้องการ /…
sentry-svelte-sdk
sentry
การตั้งค่า Sentry SDK อย่างสมบูรณ์สำหรับ Svelte และ SvelteKit ใช้เมื่อถูกขอให้ "เพิ่ม Sentry ใน Svelte", "เพิ่ม Sentry ใน SvelteKit", "ติดตั้ง @sentry/sveltekit" หรือกำหนดค่า…
sentry-svelte-sdk
sentry
การตั้งค่า Sentry SDK อย่างสมบูรณ์สำหรับ Svelte และ SvelteKit ใช้เมื่อถูกขอให้ "เพิ่ม Sentry ไปยัง Svelte", "เพิ่ม Sentry ไปยัง SvelteKit", "ติดตั้ง @sentry/sveltekit" หรือกำหนดค่า…
skill-scanner
sentry
สแกนทักษะของเอเจนต์เพื่อหาปัญหาด้านความปลอดภัย ใช้เมื่อถูกขอให้ "สแกนทักษะ
prompt-optimizer
sentry
สร้าง ปรับแต่ง และปรับปรุงพรอมต์ของเอเจนต์ พรอมต์ระบบ พรอมต์นักพัฒนา และเทมเพลตพรอมต์ที่ใช้ซ้ำได้อย่างต่อเนื่อง ใช้เมื่อถูกขอให้ปรับปรุง...
commit
sentry
commit — ทักษะที่สามารถติดตั้งได้สำหรับเอเจนต์ AI เผยแพร่โดย getsentry/sentry-docs