Skip to content

chore: remove LOBE-XXX annotations from code comments#15398

Merged
arvinxx merged 1 commit into
canaryfrom
chore/cleanup-lobe-comments-2026-06-02
Jun 2, 2026
Merged

chore: remove LOBE-XXX annotations from code comments#15398
arvinxx merged 1 commit into
canaryfrom
chore/cleanup-lobe-comments-2026-06-02

Conversation

@arvinxx

@arvinxx arvinxx commented Jun 2, 2026

Copy link
Copy Markdown
Member

Summary

Daily cleanup of LOBE-XXX internal annotations from source code comments. As an open-source project, internal Linear issue markers should not remain in the codebase.

Changes

LOBE-9834 - empty completion failure mode (10 references)

Replaced inline references with descriptive context about the "empty completion" failure mode: after a stalled tool loop, the model may give up and emit a blank turn with ~0 output tokens, no text, and no tool calls.

File Change
src/server/modules/AgentRuntime/ModelEmptyError.ts Reword comment
src/server/modules/AgentRuntime/RuntimeExecutors.ts Remove 4 references
src/server/modules/AgentRuntime/__tests__/RuntimeExecutors.test.ts Remove 3 references
src/server/modules/AgentRuntime/__tests__/llmErrorClassification.test.ts Remove test name suffix
src/server/modules/AgentRuntime/formatErrorForState.test.ts Remove test name suffix
packages/types/src/agentRuntime.ts Replace with inline description

LOBE-6587 - task scheduler infra (1 reference)

File Change
src/store/task/slices/detail/action.ts Replace with "task scheduler infra"

LOBE-6634 - getTaskDetail model/provider (1 reference)

File Change
src/store/task/selectors/detailSelectors.ts Reword TODO comment

LOBE-9434 #5/#7 - execAgent migration (4 references)

File Change
packages/builtin-tool-agent-signal/src/shared/apiNames.ts Remove issue marker
packages/builtin-tool-agent-signal/src/shared/ExecutionRuntime.ts Remove issue marker
apps/cli/e2e/agent-signal.e2e.test.ts Remove issue marker
apps/cli/e2e/fixtures/agent-signal/assertGoldenFinalState.ts Remove issue marker

Files changed

12 files changed, 20 insertions(+), 18 deletions(-)

Replaced all LOBE-XXX references in comments with descriptive context
instead of internal Linear issue markers. As an open-source project, these
internal references should not be exposed.

Changes:
- LOBE-9834 (empty completion): replaced with inline descriptions of the
  "empty completion" failure mode
- LOBE-6587 (task scheduler): replaced with "task scheduler infra" ref
- LOBE-6634 (getTaskDetail model/provider): updated TODO description
- LOBE-9434 #5/#7 (execAgent migration): removed issue markers

12 files changed
@vercel

vercel Bot commented Jun 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lobehub Ready Ready Preview, Comment Jun 2, 2026 2:15am

Request Review

@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jun 2, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry @arvinxx, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@codecov

codecov Bot commented Jun 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.09%. Comparing base (0208c0a) to head (52cd58f).
⚠️ Report is 1 commits behind head on canary.

Additional details and impacted files
@@            Coverage Diff             @@
##           canary   #15398      +/-   ##
==========================================
- Coverage   71.17%   71.09%   -0.08%     
==========================================
  Files        3200     3210      +10     
  Lines      320173   320613     +440     
  Branches    34056    35001     +945     
==========================================
+ Hits       227870   227955      +85     
- Misses      92128    92483     +355     
  Partials      175      175              
Flag Coverage Δ
app 61.94% <ø> (-0.09%) ⬇️
database 92.46% <ø> (ø)
packages/agent-runtime 80.48% <ø> (ø)
packages/builtin-tool-lobe-agent 18.52% <ø> (ø)
packages/context-engine 84.17% <ø> (ø)
packages/conversation-flow 91.29% <ø> (ø)
packages/file-loaders 87.89% <ø> (ø)
packages/memory-user-memory 74.99% <ø> (ø)
packages/model-bank 99.99% <ø> (ø)
packages/model-runtime 84.72% <ø> (ø)
packages/prompts 72.49% <ø> (ø)
packages/python-interpreter 92.90% <ø> (ø)
packages/ssrf-safe-fetch 0.00% <ø> (ø)
packages/types 35.36% <ø> (ø)
packages/utils 88.69% <ø> (ø)
packages/web-crawler 88.08% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Store 68.40% <ø> (ø)
Services 54.60% <ø> (ø)
Server 72.54% <ø> (+<0.01%) ⬆️
Libs 57.01% <ø> (ø)
Utils 81.44% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@arvinxx arvinxx changed the title chore: remove LOBE-XXX annotations from code comments (2026-06-02) chore: remove LOBE-XXX annotations from code comments Jun 2, 2026
@arvinxx arvinxx merged commit c9ca46e into canary Jun 2, 2026
39 of 40 checks passed
@arvinxx arvinxx deleted the chore/cleanup-lobe-comments-2026-06-02 branch June 2, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant