[STU-151] Add git anti-patterns section to prevent lost coder work#33
[STU-151] Add git anti-patterns section to prevent lost coder work#33BAWES wants to merge 2 commits into
Conversation
Co-Authored-By: Paperclip <noreply@paperclip.ing>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (1)
WalkthroughAdds candidate language retrieval and wiring to the edit page, extends the Prisma schema for candidate certificates with three nullable fields, adds a Prisma migration lock file, and appends a "Git Anti-Patterns (PROHIBITED)" section to CLAUDE.md. ChangesCandidate languages, schema, migration, and docs
Sequence DiagramsequenceDiagram
participant Browser
participant CandidateEditPage
participant WorkspaceService
participant Prisma
participant DB
Browser->>CandidateEditPage: open candidate edit
CandidateEditPage->>WorkspaceService: request candidate detail (getCandidateDetail)
WorkspaceService->>Prisma: prisma.candidate.findUnique + candidate_certificate + candidate_language.findMany
Prisma->>DB: SQL queries for candidate, certificates, languages
DB-->>Prisma: rows (candidate, certificates, languages)
Prisma-->>WorkspaceService: aggregated result
WorkspaceService-->>CandidateEditPage: candidate payload with languages
CandidateEditPage-->>Browser: render form with languages prop
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Preserved coder work from execution workspace: - Add language migration for candidate_language table - Add language query in getCandidateDetail data layer - Pass languages prop from edit page Incomplete: CandidateEditForm UI and server actions (LanguageState, addCandidateLanguage, removeCandidateLanguage) still needed. Co-Authored-By: Paperclip <noreply@paperclip.ing>
DevRel ReviewStatus: Changes requested Two issues need resolution: 1. Duplicate PR — close in favor of #34This PR and #34 both add the same "Git Anti-Patterns (PROHIBITED)" section to 2. Scope creep — unrelated language CRUD changesThis PR includes a migration, schema changes, Recommended action:
Also: Vercel preview deploy is failing on this branch. |
Summary
Changes
CLAUDE.md: New section explicitly prohibiting cherry-pick, reset on shared branches, local-branch deletion without push, uncommitted work on main, multi-feature branches, and stash accumulationTest plan
fix/STU-N-descconvention🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Documentation