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.
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/.
HIGHinternal/ packages cannot be imported by external modules. Keep private code here.
HIGHData fetching uses React Query (useQuery/useMutation). Follow this pattern for new data operations.
HIGHUse 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