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-14875 and LOBE-14768 markers from code comments (#21009)

Arvin Xu6d210e1517c6
diff --git a/apps/server/src/services/aiAgent/__tests__/execAgent.spineAnchor.test.ts b/apps/server/src/services/aiAgent/__tests__/execAgent.spineAnchor.test.ts
index 9e3b4ff5e25..46713b2e58e 100644
--- a/apps/server/src/services/aiAgent/__tests__/execAgent.spineAnchor.test.ts
+++ b/apps/server/src/services/aiAgent/__tests__/execAgent.spineAnchor.test.ts
@@ -309,7 +309,7 @@ describe('AiAgentService.execAgent - user turn spine anchoring', () => {
});
});
- // LOBE-14875: after a regenerate the user can switch back to the earlier
+ // After a regenerate the user can switch back to the earlier
// reply. Anchoring on the newest row hid every new turn from the UI and from
// the model's context, which both follow the selected branch.
describe('after switching back to an earlier reply', () => {
diff --git a/apps/server/src/services/aiAgent/pipeline/__tests__/resolveUserMessageParentId.test.ts b/apps/server/src/services/aiAgent/pipeline/__tests__/resolveUserMessageParentId.test.ts
index 0946b2567cb..893f6d2dff7 100644
--- a/apps/server/src/services/aiAgent/pipeline/__tests__/resolveUserMessageParentId.test.ts
+++ b/apps/server/src/services/aiAgent/pipeline/__tests__/resolveUserMessageParentId.test.ts
@@ -56,7 +56,7 @@ describe('resolveUserMessageParentId', () => {
});
it('continues the earlier reply the switcher selects, not the newest regenerated one', async () => {
- // LOBE-14875: the newest row a2 is on the branch the user switched away from.
+ // The newest row a2 is on the branch the user switched away from.
await expect(resolve(regenerated(0))).resolves.toBe('a1');
await expect(resolve(regenerated(0), 'a1')).resolves.toBe('a1');
});
diff --git a/apps/server/src/services/aiAgent/pipeline/resolveUserMessageParentId.ts b/apps/server/src/services/aiAgent/pipeline/resolveUserMessageParentId.ts
index 691710ecfc2..3e7ae946acf 100644
--- a/apps/server/src/services/aiAgent/pipeline/resolveUserMessageParentId.ts
+++ b/apps/server/src/services/aiAgent/pipeline/resolveUserMessageParentId.ts
@@ -102,7 +102,7 @@ const isDescendantOrSelf = (
* newest row by `createdAt`, but after a regenerate the newest row lives on the
* regenerated branch; when the reply switcher points at an earlier reply, every
* new turn landed on a hidden branch, vanished from the UI, and never reached
- * the model, which rebuilds context from the selected branch (LOBE-14875).
+ * the model, which rebuilds context from the selected branch.
*
* - The client's rendered tail wins: "reply to what I see" is the user's intent,
* and the branch selection it switched to may not be persisted yet, or another
diff --git a/src/features/Conversation/Markdown/plugins/FileLink/parse.test.ts b/src/features/Conversation/Markdown/plugins/FileLink/parse.test.ts
index 64234f1ca27..1adc21e7342 100644
--- a/src/features/Conversation/Markdown/plugins/FileLink/parse.test.ts
+++ b/src/features/Conversation/Markdown/plugins/FileLink/parse.test.ts
@@ -88,7 +88,7 @@ describe('getFileLinkOpenAction', () => {
});
});
- // Regression (LOBE-14768): the visitor does not own the creator's file, so the
+ // Regression: the visitor does not own the creator's file, so the
// id-only preview fetched nothing and showed "file unavailable".
it('previews from the public /f/:id link on the agent-share visitor page', () => {
expect(getFileLinkOpenAction({ ...link, isAgentShareVisitor: true })).toEqual({
diff --git a/src/features/Conversation/Messages/EditedFilesCard/index.test.ts b/src/features/Conversation/Messages/EditedFilesCard/index.test.ts
index 27fe4889357..cd3b360dafc 100644
--- a/src/features/Conversation/Messages/EditedFilesCard/index.test.ts
+++ b/src/features/Conversation/Messages/EditedFilesCard/index.test.ts
@@ -123,7 +123,7 @@ describe('EditedFilesCard open action', () => {
expect(screen.getByText(singleTitle).closest('[role="button"]')).not.toBeNull();
});
- // Regression (LOBE-14768): the share visitor page's portal hosts no LocalFile
+ // Regression: the share visitor page's portal hosts no LocalFile
// view, so the header click used to push an invisible view and do nothing.
it('keeps the header inert on the agent-share visitor page, leaving the diff action', () => {
conversationState.context.agentShareId = 'share_1';
diff --git a/src/features/Conversation/Messages/MessageWorks/useVisitorWorkOpen.test.ts b/src/features/Conversation/Messages/MessageWorks/useVisitorWorkOpen.test.ts
index 1be0118230b..3e4eaa84296 100644
--- a/src/features/Conversation/Messages/MessageWorks/useVisitorWorkOpen.test.ts
+++ b/src/features/Conversation/Messages/MessageWorks/useVisitorWorkOpen.test.ts
@@ -61,7 +61,7 @@ describe('useVisitorWorkOpen', () => {
});
});
- // Regression (LOBE-14768): a file Work carrying only `fileId` (no persisted
+ // Regression: a file Work carrying only `fileId` (no persisted
// URL) used to return early, so clicking its card did nothing.
it('previews a file Work without a persisted URL from the /f/:id proxy', () => {
const { result } = renderHook(() => useVisitorWorkOpen());
diff --git a/src/store/chat/slices/agentRun/actions/__tests__/gatewayUserMessageParent.test.ts b/src/store/chat/slices/agentRun/actions/__tests__/gatewayUserMessageParent.test.ts
index 6a1c67ded72..0d948f7cdeb 100644
--- a/src/store/chat/slices/agentRun/actions/__tests__/gatewayUserMessageParent.test.ts
+++ b/src/store/chat/slices/agentRun/actions/__tests__/gatewayUserMessageParent.test.ts
@@ -27,7 +27,7 @@ afterEach(() => {
});
describe('gateway send: user message parent', () => {
- // LOBE-14875: the server anchored gateway turns on the newest row, which after
+ // The server anchored gateway turns on the newest row, which after
// a regenerate can sit on a branch the user is not viewing. The client must
// tell the server which branch tail it renders the new turn under.
it('sends the tail of the branch on screen, not the newest branch', async () => {