Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

chore: remove LOBE-XXXX issue markers from code comments (#22374)

Arvin Xu74fd261d18a8
diff --git a/apps/server/src/services/document/__tests__/writeLimit.service.test.ts b/apps/server/src/services/document/__tests__/writeLimit.service.test.ts
index aae8105a79a..af455cdd141 100644
--- a/apps/server/src/services/document/__tests__/writeLimit.service.test.ts
+++ b/apps/server/src/services/document/__tests__/writeLimit.service.test.ts
@@ -149,8 +149,8 @@ describe('DocumentService per-document character limit', () => {
expect(documentModel.update).toHaveBeenCalled();
});
- // LOBE-15419: the room accepts browser edits without measuring them, so a
- // projection that grows the page past the limit must not reach the row.
+ // The room accepts browser edits without measuring them, so a projection
+ // that grows the page past the limit must not reach the row.
it('refuses a room projection that grows the page past the limit', async () => {
refuse();
diff --git a/apps/server/src/services/document/index.ts b/apps/server/src/services/document/index.ts
index 21247b35987..b06a15f759d 100644
--- a/apps/server/src/services/document/index.ts
+++ b/apps/server/src/services/document/index.ts
@@ -825,8 +825,8 @@ export class DocumentService {
// Checked before anything is persisted. Room projections are checked too:
// the room accepts browser edits without measuring them, so the
- // projection is the only place a collaborative page's length is enforced
- // (LOBE-15419). `restoreFromHistoryId` is not an exemption: the client
+ // projection is the only place a collaborative page's length is enforced.
+ // `restoreFromHistoryId` is not an exemption: the client
// sends it with a body the server does not match against the version, so
// only server-side restores opt out via `writeSource`. Editor data is
// measured too because it can arrive without `content`.
diff --git a/src/features/Home/InputArea/useSend.test.ts b/src/features/Home/InputArea/useSend.test.ts
index eb9ed15a218..2130077d25c 100644
--- a/src/features/Home/InputArea/useSend.test.ts
+++ b/src/features/Home/InputArea/useSend.test.ts
@@ -509,7 +509,7 @@ describe('Home InputArea useSend', () => {
});
describe('when the server refuses the run after Home navigated away', () => {
- // ROOT CAUSE (LOBE-15420):
+ // ROOT CAUSE:
//
// A Home send navigates to the agent's blank conversation and clears the
// Home editor without waiting for the run. When the server then refuses the
diff --git a/src/features/PageEditor/collab/provider.failure.test.ts b/src/features/PageEditor/collab/provider.failure.test.ts
index 3c587748965..a6b971229ad 100644
--- a/src/features/PageEditor/collab/provider.failure.test.ts
+++ b/src/features/PageEditor/collab/provider.failure.test.ts
@@ -74,7 +74,7 @@ describe('PageCollabProvider failures', () => {
);
});
- // LOBE-15419: the room relays the server's refusal to store an over-limit page.
+ // The room relays the server's refusal to store an over-limit page.
it('reports a page refused for its length without failing the join', () => {
const { events, room } = setup();
room.deliver(synced());
@@ -98,7 +98,7 @@ describe('PageCollabProvider failures', () => {
expect(events.onFailure).not.toHaveBeenCalled();
});
- // LOBE-15419: a page already over the limit is stored again once it stops growing.
+ // A page already over the limit is stored again once it stops growing.
it('reports when the server stores a refused page again', () => {
const { events, room } = setup();
room.deliver(synced());
diff --git a/src/store/document/slices/editor/action.charLimit.test.ts b/src/store/document/slices/editor/action.charLimit.test.ts
index 260594cee36..af7411047f5 100644
--- a/src/store/document/slices/editor/action.charLimit.test.ts
+++ b/src/store/document/slices/editor/action.charLimit.test.ts
@@ -174,8 +174,8 @@ describe('DocumentStore - Editor Actions (plan character limit)', () => {
});
});
- // LOBE-15419: a room page's body never goes through performSave, so the room
- // relays the server's refusal and the page shows it the same way.
+ // A room page's body never goes through performSave, so the room relays the
+ // server's refusal and the page shows it the same way.
describe('room pages', () => {
const roomRefusal = { actual: 501_502, limit: 500_000, plan: 'plus' };
@@ -225,8 +225,8 @@ describe('DocumentStore - Editor Actions (plan character limit)', () => {
expect(result.current.documents['doc-1'].saveStatus).toBe('failed');
});
- // LOBE-15419: a page already over the limit is stored once it stops growing,
- // while it is still longer than the limit.
+ // A page already over the limit is stored once it stops growing, while it
+ // is still longer than the limit.
it('clears the refusal when the server stores the still over-limit page', () => {
const { result } = renderHook(() => useDocumentStore());
initRoomDoc(result);