| title | impact | impactDescription | tags |
|---|---|---|---|
Git and CI Workflow |
HIGH |
Incorrect workflow causes wasted CI cycles and confusion |
git, ci, workflow |
Always push committed changes to the remote repository before waiting for or checking CI status.
Waiting for CI checks on unpushed local commits is backwards - the CI runs on the remote repository state, not local commits.
Proper sequence:
- Commit locally
- Run local checks (
yarn type-check:ci --force,yarn biome check --write .) - Push to remote
- Monitor CI status
When asked to move changes to a different branch, use git commands to commit existing changes to the specified branch rather than redoing the work. This is more efficient and prevents duplication of effort.
Never force push to main or production branches - under any circumstances.
When making changes that affect tRPC components or after pulling updates that modify tRPC-related files:
- First run
yarn prisma generateto ensure all database types are up-to-date - Then run
cd packages/trpc && yarn buildto rebuild the tRPC package
This sequence ensures that type definitions are properly generated before building.