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-XXX markers from recently modified source files (#17664)

Arvin Xu86264fbc58d4
diff --git a/apps/server/src/services/agentRuntime/CompletionLifecycle.ts b/apps/server/src/services/agentRuntime/CompletionLifecycle.ts
index 489a19a7f3a..4769ba08f07 100644
--- a/apps/server/src/services/agentRuntime/CompletionLifecycle.ts
+++ b/apps/server/src/services/agentRuntime/CompletionLifecycle.ts
@@ -612,7 +612,7 @@ export class CompletionLifecycle {
// `lastAssistantContent` comes off the Redis-backed `state.messages`,
// while the assistant message row is persisted through a separate
// `messageModel.update` path. When the two diverge (state entry empty
- // but the DB row holds the full reply β€” LOBE-11632: bot completions
+ // but the DB row holds the full reply β€” Discord bot completions
// arrived with no content while the app showed the reply), consumers
// like the IM bot callback silently drop the reply. Recover from the DB
// row β€” the same source of truth the app UI renders β€” before dispatch.
@@ -763,7 +763,7 @@ export class CompletionLifecycle {
/**
* Load the final assistant message row from the DB and return its text
* content, for completions whose Redis-side state carried no assistant
- * text (see the LOBE-11632 note in {@link dispatchHooks}). Non-fatal: any
+ * text (see the DB recovery note in {@link dispatchHooks}). Non-fatal: any
* failure just leaves the event as-built.
*/
private async recoverLastAssistantContent(
@@ -802,7 +802,7 @@ export class CompletionLifecycle {
// console (not debug) so state/DB divergence stays visible in
// production logs β€” the silent variant of this is what made
- // LOBE-11632 hard to diagnose.
+ // the Discord bot empty-reply issue hard to diagnose.
console.warn(
`[CompletionLifecycle][${operationId}] completion event had no assistant text; recovered ${content.length} chars from message ${assistantMessageId}`,
);
diff --git a/apps/server/src/services/agentRuntime/__tests__/CompletionLifecycle.test.ts b/apps/server/src/services/agentRuntime/__tests__/CompletionLifecycle.test.ts
index d024920a5fc..9103d42026f 100644
--- a/apps/server/src/services/agentRuntime/__tests__/CompletionLifecycle.test.ts
+++ b/apps/server/src/services/agentRuntime/__tests__/CompletionLifecycle.test.ts
@@ -805,7 +805,7 @@ describe('CompletionLifecycle.dispatchHooks β€” parks do not register file works
});
});
-describe('CompletionLifecycle.dispatchHooks β€” lastAssistantContent DB recovery (LOBE-11632)', () => {
+describe('CompletionLifecycle.dispatchHooks β€” lastAssistantContent DB recovery (Discord bot empty-reply)', () => {
afterEach(() => {
vi.restoreAllMocks();
});
diff --git a/packages/types/src/task/index.ts b/packages/types/src/task/index.ts
index d8c56bfb263..6bae8879fe4 100644
--- a/packages/types/src/task/index.ts
+++ b/packages/types/src/task/index.ts
@@ -163,7 +163,8 @@ export interface TaskSchedulerContext {
* cleared on the next successful run so the UI only shows the *current* error β€”
* this pocket is append-style history that a later success does NOT wipe. It
* exists so "the morning check silently didn't fire" is diagnosable after the
- * fact instead of being masked by a later manual success (LOBE-11390).
+ * fact instead of being masked by a later manual success (paused tasks were
+ * silently overwritten to "scheduled" with error cleared on next success).
*/
export interface TaskLifecycleAudit {
// Monotonic lifetime count of failed runs (never reset on success).