opencode/packages/stats
Adam 08a2a623dc
fix(data): cut athena stats sync cost
Compute all stat dimensions and both grains in one GROUPING SETS query
so each sync pass scans the source table once instead of eight times.
Hourly passes now only recompute the current ISO week; a daily full pass
refreshes the whole display window. Restarted daemons resume the hourly
cadence from the last completed sync instead of immediately re-running a
pass, and the workgroup kills any query scanning more than 2 TB.
2026-07-10 06:36:26 -05:00
..
app feat(stats): update model comparison page 2026-07-10 05:53:31 -05:00
core fix(data): cut athena stats sync cost 2026-07-10 06:36:26 -05:00
server fix(data): cut athena stats sync cost 2026-07-10 06:36:26 -05:00
AGENTS.md feat(stats): match theme icons to figma (#29893) 2026-05-29 08:04:34 -05:00
README.md feat: initial datalake and stats site (#28666) 2026-05-25 17:34:04 -05:00

OpenCode Stats

Stats is a separate site from the console. Runtime, database, and domain services live in core; the SolidStart website lives in app; deployable Lambda entrypoints live in function.

Packages

  • app: SolidStart frontend/site.
  • core: Effect services, app config, Drizzle schema/migrations, and stats domains.
  • function: Lambda handlers that call into core services.

Commands

  • bun run dev:stats from the repo root starts the SolidStart app.
  • bun run --cwd packages/stats/app typecheck typechecks the site.
  • bun run --cwd packages/stats/core typecheck typechecks the Effect/database package.
  • bun run --cwd packages/stats/function typecheck typechecks Lambda entrypoints.