Code Room
Vibe codingHardvc-g325
Subject Ai build planLevel Senior–Staff~30 minCommon in Networking & APIs interviewsIndustries Software development, Technology

Question

Greenfield: direct an AI agent to build a background job runner in Python that pulls jobs from Postgres (no Redis/Celery allowed — single-binary deploy constraint), runs them with retries and backoff, and supports concurrent workers. Lay out the build plan: how you'd have it claim jobs safely, the retry/dead-letter model, and the acceptance criteria. What does a naive 'build a job queue on Postgres' prompt get wrong about concurrency?

What a strong answer looks like

Treat the AI’s output as a draft to verify, not an answer to trust. Name the specific flaw and the input that triggers it, say how you’d catch it — tests, edge cases, reading critically — and how you’d re-prompt or decompose to get it right.

Describe your solution

Vibe coding: describe the solution in plain language (or narrate it) and the coach grades your approach. Generating runnable code from your description is coming next.

Run or narrate your approach, then ask the coach.