Skip to content

Split custom view, media and comment APIs out of CrdtMiniLcmApi - #2731

Merged
hahn-kev merged 1 commit into
developfrom
claude/crdt-mini-lcm-services-a03133
Oct 7, 2026
Merged

hahn-kev merged 1 commit into
developfrom
claude/crdt-mini-lcm-services-a03133

Conversation

@hahn-kev-bot

Copy link
Copy Markdown
Collaborator

AI summary

Continues splitting CrdtMiniLcmApi into sub-services in LcmCrdt/MiniLcmImp/, following the pattern of the existing writing system, part of speech, publication and other services.

  • CrdtCustomViewApi: custom view CRUD and the manager-role check
  • CrdtMediaApi: GetFileStream and SaveFile
  • CrdtCommentApi: comment threads, user comments and the read-status pass-throughs
  • CrdtMiniLcmApi now forwards these regions, and no longer takes LcmMediaService or LocalCommentReadStatusService
  • The new services are registered as scoped in LcmCrdtKernel

Method bodies were moved as they were, with no behaviour change. The only observable difference is that errors from SaveFile are now logged under the CrdtMediaApi category instead of CrdtMiniLcmApi.

This is the first of a stack. Later PRs will split out pictures, senses, example sentences and entries.

Test plan

  • LcmCrdt.Tests: CommentTests, CustomViewTests, MediaTests, ConfigRegistrationTests pass

🤖 Generated with Claude Code

Move the custom view, media and comment implementations into
CrdtCustomViewApi, CrdtMediaApi and CrdtCommentApi, leaving
CrdtMiniLcmApi forwarding to them like the other split-out regions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4eb5b684-d3cf-45b0-bdde-8e0100f7b871
📥 Commits

Reviewing files that changed from the base of the PR and between f515602 and da1ddb5.

📒 Files selected for processing (5)
  • backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs
  • backend/FwLite/LcmCrdt/LcmCrdtKernel.cs
  • backend/FwLite/LcmCrdt/MiniLcmImp/CrdtCommentApi.cs
  • backend/FwLite/LcmCrdt/MiniLcmImp/CrdtCustomViewApi.cs
  • backend/FwLite/LcmCrdt/MiniLcmImp/CrdtMediaApi.cs
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@github-actions github-actions Bot added the 🔩 FW Lite Core Shared MiniLcm, CRDT and sync libraries that ship in both FW Lite and FwHeadless label Oct 7, 2026
@hahn-kev-bot hahn-kev-bot mentioned this pull request Oct 7, 2026
2 tasks done
@argos-ci

argos-ci Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Oct 7, 2026, 3:43 AM
e2e (Inspect) ✅ No changes detected - Oct 7, 2026, 3:50 AM

@hahn-kev
hahn-kev added this pull request to stack #2735 October 7, 2026 06:53
@hahn-kev hahn-kev added the self-reviewed 👁️ I reviewed this myself and with AI and decided it was safe to merge without a second set of eyes label Oct 7, 2026
@hahn-kev
hahn-kev merged commit f970d73 into develop Oct 7, 2026
27 checks passed
@hahn-kev
hahn-kev deleted the claude/crdt-mini-lcm-services-a03133 branch October 7, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔩 FW Lite Core Shared MiniLcm, CRDT and sync libraries that ship in both FW Lite and FwHeadless self-reviewed 👁️ I reviewed this myself and with AI and decided it was safe to merge without a second set of eyes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants