Skip to content

feat: ship-in-days — honest CI, public reports, badges, contributor setup - #46

Merged
sreerevanth merged 6 commits into
mainfrom
feat/ship-in-days
Nov 5, 2026
Merged

sreerevanth merged 6 commits into
mainfrom
feat/ship-in-days

Conversation

@sreerevanth

Copy link
Copy Markdown
Member

What

  • CI: new ci.yml (lint, typecheck, test, build); fixed policy workflows (evidence check no longer always-on, stale/assignment never close PRs, migration check uses pnpm 9); PR templates.
  • Security: GitHub OAuth token no longer travels in Inngest event payloads (resolved inside each step).
  • Public demo: showcase seed (8 repos), capped + chunked resumable ingestion, public report at /r/[owner]/[repo], new landing page, rate limiting, proxy.ts public routes.
  • Badge: /api/badge/[owner]/[repo] SVG endpoint (tiers from domain-analytics).
  • Setup: .env.example, docker-compose.yml, pnpm run setup, baseline Drizzle migration (bigint ids), encryption-key hardening, AI Insights hidden without OPENAI_API_KEY.
  • Docs: short README, ARCHITECTURE, CONTRIBUTING, DEPLOY, GOOD_FIRST_ISSUES.

Why

Make ForgeLens tryable in ~30s without signup, contributor setup under 10 min, and CI that reports truthfully.

How tested

Locally: pnpm install --frozen-lockfile && pnpm lint && pnpm typecheck && pnpm test && pnpm build pass (15 tests); drizzle-kit check clean; logged-out report verified end to end against local Postgres with real data (tj/commander.js).

Reviewer notes

  • Not verified: GitHub Actions runs, full 8-repo seed, Clerk sign-in/import, Inngest worker, deployment.
  • Added "type": "module" to several packages and apps/web (needed for the ESM seed script); please review.
  • Baseline migration replaces drizzle-kit push usage; existing databases may need reconciling (see docs/DEPLOY.md).
  • A LICENSE file still needs to be added.

🤖 Generated with Claude Code

sreerevanth and others added 6 commits November 5, 2026 01:55
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- async params for Next 16 layouts/pages
- implement dashboard metrics in web action (getDashboardMetrics was removed)
- add listRepositories, authorEmail, schema-correct inserts

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Worker resolves the token via Clerk; falls back to server GITHUB_TOKEN for public repos only. Also make /api/inngest reachable past Clerk middleware.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… showcase seed

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… key hardening

- docker-compose Postgres 15 (POSTGRES_PORT override), apps/web/.env.example
- baseline drizzle migration incl. is_showcase; ids moved to bigint (GitHub PR ids overflow int4)
- hide AI Insights without OPENAI_API_KEY; require DB_ENCRYPTION_KEY in production
- seed script runs as ESM; workspace packages marked type=module

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…SUES

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sreerevanth
sreerevanth merged commit c7dab3c into main Nov 5, 2026
4 of 5 checks passed
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