Skip to content

Comments

Monorepo split + telemetry web app + release-driven deploy/publish#6

Merged
farnoodma merged 3 commits intomainfrom
agent/agentloom-release-monorepo
Feb 21, 2026
Merged

Monorepo split + telemetry web app + release-driven deploy/publish#6
farnoodma merged 3 commits intomainfrom
agent/agentloom-release-monorepo

Conversation

@farnoodma
Copy link
Owner

Summary

  • convert agentloom into a Turborepo workspace and move the publishable CLI package to packages/cli
  • keep CLI/web boundaries explicit (agentloom npm publish surface remains CLI-only)
  • add GitHub-only CLI telemetry hooks (agentloom add) with opt-out/override env controls and fail-open behavior
  • add apps/web Next.js directory app with Neon + Drizzle ingestion/query pipeline and leaderboard/detail/docs pages
  • implement period rollups including 24h trending (daily), plus weekly/monthly/all-time
  • add persisted theme support (default dark), icon-based theme toggle, and GitHub header link
  • add /skills/* redirect to skills.sh
  • switch release automation to GitHub Release-driven publish/deploy, plus main-branch preview deploy workflow using Vercel OIDC auth

Release/Deploy Behavior

  • push to main: preview deploy only (.github/workflows/preview-deploy.yml)
  • release.published (vX.Y.Z): validates tag/version, runs workspace checks/build, publishes packages/cli to npm, deploys web production
  • no long-lived VERCEL_TOKEN GitHub secret required (workflow uses OIDC token exchange)

Verification

  • pnpm check
  • production deploy + Playwright checks on https://agentloom.sh:
    • Trending (24h) period/tab present and functional
    • dark mode defaults correctly and persists with cookie
    • GitHub icon link points to https://github.com/farnoodma/agentloom
  • live telemetry smoke test against POST https://agentloom.sh/api/v1/installs returned { "accepted": true }
  • Neon verification query confirmed persisted ingest + counters:
    • ingest_events.event_id = e3d4e561-6181-4790-94a8-df4a536be2bd
    • catalog item created for telemetry-smoke-20260221212501
    • daily rollup row present for 2026-02-21

Notes

  • drafted Neon OSS follow-up template locally at .private/neon-oss-followup-template.md and kept it gitignored.

Move the publishable CLI package into packages/cli and convert the root package into a private workspace orchestrator.\n\nAlso adds GitHub-source telemetry hooks/tests for add flows while preserving CLI-only publish boundaries.\n\nCo-authored-by: Codex <noreply@openai.com>
Introduce a Next.js App Router web app with Neon/Drizzle-backed ingestion and leaderboard queries, including daily/weekly/monthly rollups.\n\nAdds detail/docs pages, skills redirect behavior, search/filter UX, and theme support with persisted dark-mode preference.\n\nCo-authored-by: Codex <noreply@openai.com>
Keep CI checks on push/PR, deploy preview on main pushes, and run npm publish + production web deploy on release.published tags.\n\nUses Vercel OIDC-based auth in GitHub Actions to avoid long-lived VERCEL_TOKEN repository secrets.\n\nCo-authored-by: Codex <noreply@openai.com>
@vercel
Copy link

vercel bot commented Feb 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentloom Ready Ready Preview, Comment Feb 21, 2026 9:28pm

@farnoodma farnoodma marked this pull request as ready for review February 21, 2026 21:29
@farnoodma farnoodma merged commit d717b59 into main Feb 21, 2026
4 checks passed
@farnoodma farnoodma deleted the agent/agentloom-release-monorepo branch February 21, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant