Go + TypeScript 1,890 FILES 5 FINDINGS

HOW HATCHET
ACTUALLY WORKS

A distributed, fault-tolerant task queue for background jobs and workflows. Conventions, patterns, and architecture extracted from the hatchet-dev/hatchet repository by sourcebook.

QUICK_REF:
Layout: cmd/ pkg/ internal/ Data fetching: React Query

WHAT_MATTERS

  • Module path: github.com/hatchet-dev/hatchet. Standard Go project layout: cmd/ pkg/ internal/.

KEY_FINDINGS

Module path: github.com/hatchet-dev/hatchet. Standard Go project layout: cmd/ pkg/ internal/.

HIGH

internal/ packages cannot be imported by external modules. Keep private code here.

HIGH

Data fetching uses React Query (useQuery/useMutation). Follow this pattern for new data operations.

HIGH

Use Pydantic BaseModel for data classes (Python SDK). This is the project's standard validation approach.

HIGH
+ 1 MORE FINDINGS (MEDIUM CONFIDENCE)

8 reverted commits in the last year. Check anti-patterns before similar changes.

MED
GENERATED IN ~3 SECONDS WITH

npx sourcebook init

VIEW ON GITHUB star

FROM_THE_BLOG

RELATED_REPOS

GIN