🤯 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.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🔨 chore(sandbox-drive): drop internal LOBE ticket ids from comments (#22865)
Arvin Xu1620024fb1be
diff --git a/src/features/SandboxDrive/UsageBreakdown.test.tsx b/src/features/SandboxDrive/UsageBreakdown.test.tsxindex df2788f39b0..fce5370581c 100644--- a/src/features/SandboxDrive/UsageBreakdown.test.tsx+++ b/src/features/SandboxDrive/UsageBreakdown.test.tsx@@ -92,8 +92,8 @@ describe('UsageBreakdown', () => {expect(screen.queryByText('drive.usage.over')).not.toBeInTheDocument();});- // LOBE-15436: a refresh whose walk timed out used to answer with the old- // figure as if it had been re-measured.+ // A refresh whose walk timed out used to answer with the old figure as if+ // it had been re-measured.it('should say the figure is the last measurement when the drive could not be measured', async () => {const onRefresh = vi.fn().mockRejectedValue(new Error('STORAGE_USAGE_MEASURE_FAILED'));render(<UsageBreakdown data={overQuota(false)} onRefresh={onRefresh} />);@@ -114,7 +114,7 @@ describe('UsageBreakdown', () => {);});- // LOBE-15436: a drive too large to walk in one call is measured over several.+ // A drive too large to walk in one call is measured over several calls.describe('a drive measured over several calls', () => {beforeEach(() => {vi.useFakeTimers({ shouldAdvanceTime: true, toFake: ['setTimeout'] });diff --git a/src/features/SandboxDrive/UsageBreakdown.tsx b/src/features/SandboxDrive/UsageBreakdown.tsxindex fec7d77318c..4dd58d6bd7e 100644--- a/src/features/SandboxDrive/UsageBreakdown.tsx+++ b/src/features/SandboxDrive/UsageBreakdown.tsx@@ -160,8 +160,8 @@ export const UsageBreakdown = memo<{// Which refresh is running, and in which workspace: the spinner belongs to// that workspace, and only that refresh may clear it.const [busy, setBusy] = useState<{ token: object; workspaceId: string | null } | null>(null);- // A drive too large to measure in one call (LOBE-15436): how much the walk- // has counted so far, shown beside the last finished figure.+ // A drive too large to measure in one call: how much the walk has counted+ // so far, shown beside the last finished figure.const [measurement, setMeasurement] = useState<{progress: NonNullable<DriveUsageRefreshResult['measuring']>;workspaceId: string | null;@@ -262,7 +262,7 @@ export const UsageBreakdown = memo<{setMeasuring(null);// The execution plane could not walk the drive, so the figure on screen// is the last one it measured — say so, rather than let a refresh that- // changed nothing pass for one that confirmed it (LOBE-15436).+ // changed nothing pass for one that confirmed it.toast.error((error as { message?: string } | undefined)?.message === USAGE_MEASURE_FAILED? t('drive.usage.refreshFailed')diff --git a/src/features/SandboxDrive/useDriveData.test.ts b/src/features/SandboxDrive/useDriveData.test.tsindex ecb01ea00eb..fc1670b334c 100644--- a/src/features/SandboxDrive/useDriveData.test.ts+++ b/src/features/SandboxDrive/useDriveData.test.ts@@ -52,7 +52,7 @@ describe('useDriveUsage refresh', () => {});});- // LOBE-15436: a drive too large to walk in one call answers "still measuring".+ // A drive too large to walk in one call answers "still measuring".it('should report a drive still being measured with what has been counted', async () => {vi.mocked(sandboxStorageService.refreshStorageUsage).mockResolvedValueOnce({diff --git a/src/features/SandboxDrive/useDriveData.ts b/src/features/SandboxDrive/useDriveData.tsindex e9acc25d0f9..6513fad158e 100644--- a/src/features/SandboxDrive/useDriveData.ts+++ b/src/features/SandboxDrive/useDriveData.ts@@ -8,7 +8,7 @@ import { sandboxStorageService } from '@/services/sandboxStorage';const USAGE_KEY = 'sandbox-drive-usage';/**- * A refresh of a drive too large to measure in one go (LOBE-15436): the+ * A refresh of a drive too large to measure in one go: the* execution plane walks it over several calls and, until the walk ends, says* how much it has counted so far beside the last finished figure.*/