Skip to content

chore: add missing project infrastructure (CI, templates, .gitignore)#1

Closed
gofenix wants to merge 5 commits intomainfrom
fix/missing-docs
Closed

chore: add missing project infrastructure (CI, templates, .gitignore)#1
gofenix wants to merge 5 commits intomainfrom
fix/missing-docs

Conversation

@gofenix
Copy link
Copy Markdown

@gofenix gofenix commented Apr 23, 2026

Summary

  • Add root .gitignore — covers OS files (.DS_Store), IDE configs (.idea/, .vscode/), Node build artifacts (dist/, node_modules/), and environment files (.env*)
  • Add GitHub Actions CI workflow (.github/workflows/ci.yml) — three jobs: lint/format, typecheck/build, and unit tests with PostgreSQL + Redis service containers
  • Add Issue templatesbug_report.yml and feature_request.yml with structured forms for component selection and reproduction steps
  • Add PR template.github/PULL_REQUEST_TEMPLATE.md with change type checklist and conventional commit reminder

Context

Project review (ISS-115) identified these as the highest-priority gaps:

  1. No CI/CD — no automated lint, typecheck, or test verification on PRs
  2. No issue/PR templates — high friction for community contributions
  3. No root .gitignore — OS/IDE files not globally ignored

Test plan

  • CI workflow triggers on push/PR to main
  • Lint job runs pnpm format-and-lint in the server/ monorepo
  • Typecheck job runs pnpm build (includes Prisma generate)
  • Test job runs pnpm test with PostgreSQL + Redis service containers
  • New issue creation shows structured template picker
  • New PR creation shows checklist template

🤖 Generated via BusyDog Desktop collaboration task

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b5220350c7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci.yml
cache: "pnpm"
cache-dependency-path: server/pnpm-lock.yaml
- run: cd server && pnpm install --frozen-lockfile
- run: cd server/packages/database && pnpm prisma generate
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Provide DATABASE_URL before Prisma client generation

pnpm prisma generate is run without DATABASE_URL in the environment, but server/packages/database/prisma.config.ts calls env("DATABASE_URL") during Prisma config loading. That makes the typecheck job fail before pnpm build starts (and the same pattern appears in test before pnpm test), so this CI workflow can fail on valid changes.

Useful? React with 👍 / 👎.

@gofenix gofenix closed this Apr 30, 2026
@gofenix gofenix deleted the fix/missing-docs branch May 1, 2026 12:00
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