Skip to content

feat: main branch for the existing keys, tasks, imports, language stats#3430

Open
bdshadow wants to merge 142 commits intomainfrom
dbocharov/branching/migrate-to-default-branch
Open

feat: main branch for the existing keys, tasks, imports, language stats#3430
bdshadow wants to merge 142 commits intomainfrom
dbocharov/branching/migrate-to-default-branch

Conversation

@bdshadow
Copy link
Contributor

No description provided.

@bdshadow bdshadow requested a review from dkrizan January 29, 2026 12:18
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 29, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dbocharov/branching/migrate-to-default-branch

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 and usage tips.

WHERE ls2.language_id = ls.language_id AND ls2.branch_id = b.id
);
</sql>
</changeSet>
Copy link
Contributor

Choose a reason for hiding this comment

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

In this case we can make Key.branch not-null, right ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i guess the same is for tasks and imports. However language_stats seems differnt

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added those constraints

@dkrizan dkrizan force-pushed the danielkrizan/branching branch from 5d67e55 to 4c8a46c Compare January 29, 2026 19:42
@bdshadow bdshadow force-pushed the dbocharov/branching/migrate-to-default-branch branch from 58d0858 to 84062af Compare January 29, 2026 21:53
dkrizan and others added 16 commits January 30, 2026 17:32
…`, streamline branch ID resolution, and refactor snapshot logic to avoid lazy loading issues
…ith updated backend logic and comprehensive test coverage
@dkrizan dkrizan force-pushed the danielkrizan/branching branch from a6ad058 to e9037a6 Compare January 30, 2026 16:35
dkrizan and others added 10 commits January 30, 2026 21:12
- Add DefaultBranchNotFoundException for consistent error handling
- Make Key.branch, Task.branch, and Import.branch non-nullable (JPA optional=false)
- Update BranchService methods to return non-null Branch
- Add automatic default branch creation in test data builders
- Simplify SecurityService and BranchVersionedEntity branch access

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bdshadow bdshadow force-pushed the dbocharov/branching/migrate-to-default-branch branch from 84062af to d4a618e Compare February 2, 2026 11:55
@dkrizan dkrizan force-pushed the danielkrizan/branching branch from 594f365 to 29f7614 Compare February 5, 2026 11:58
Base automatically changed from danielkrizan/branching to main February 6, 2026 10:42
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.

3 participants