Skip to content

[#207]: Seed local dev project and chapter assignment for translator#208

Closed
mattrace-gloo wants to merge 2 commits into
mainfrom
mrace/feature/gh-207-local-dev-project-seeder
Closed

[#207]: Seed local dev project and chapter assignment for translator#208
mattrace-gloo wants to merge 2 commits into
mainfrom
mrace/feature/gh-207-local-dev-project-seeder

Conversation

@mattrace-gloo

Copy link
Copy Markdown

👉 TLDR

Adds an idempotent dev-project seeder that creates a local Docker-only project with GEN/EXO chapter assignments and assigns GEN 1 to t@fluent.local in draft status so mobile My Work populates after sync hydration.

👀 Reviewer Checklist

  • GitHub issues linked
  • How to verify steps are accurate

🗣️ Details

Refs #207
Refs eten-tech-foundation/fluent-mobile#119

Wired into npm run db:seed:dev-project, db:setup, ./fapi.sh db:seed, and docker-entrypoint.sh (after bible-texts). Uses existing createProject + updateChapterAssignment services — no mobile mock seed.

✅ How to verify

  1. ./fapi.sh up then ./fapi.sh db:seed (or fresh ./fapi.sh db:init on empty DB).
  2. Confirm logs show dev project created and GEN 1 assigned to t@fluent.local.
  3. Sign in on mobile with EXPO_PUBLIC_API_BASE_URL=http://10.0.2.2:9999; sync should populate My Work with Genesis 1.
  4. Gates:
npm run format:check && npm run lint && npm run typecheck && npm test

All passed on PR branch.

🎬 Find Yourself a Solid Gif

https://media.giphy.com/media/l0MYC0LajbaPoEADu/giphy.gif

…ork.

Adds an idempotent dev-project seeder wired into db:setup, fapi.sh db:seed, and the Docker entrypoint so t@fluent.local gets a draft GEN 1 assignment after local Docker init. Refs eten-tech-foundation/fluent-mobile#119.
@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@mattrace-gloo, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 50 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 26ca3f73-249c-4d09-8387-811a4849b7b2

📥 Commits

Reviewing files that changed from the base of the PR and between 997cce8 and fc03688.

📒 Files selected for processing (7)
  • docker-entrypoint.sh
  • fapi.sh
  • package.json
  • src/db/scripts/setup.ts
  • src/db/seeds/data/dev-workflow.json
  • src/db/seeds/dev-users.ts
  • src/db/seeds/dev-workflow.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mrace/feature/gh-207-local-dev-project-seeder

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

…s work.

Replace mobile-specific dev-project with data-driven dev-workflow.json. Re-running seedDevUsers now syncs pm@ and t@ credentials to env defaults; workflow assigns GEN 1 to translator and EXO 1 to PM.
@mattrace-gloo

Copy link
Copy Markdown
Author

Closing without merge. Team uses existing fluent-api Docker seeds + manual web project setup or hosted dev for My Work. See fluent-mobile#136.

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