GitHub check
256 KB of 603 KB loaded Download the full log (603 KB)
347 KB of earlier output not loaded
ediaVideoPreviewSource,
ยท โโโโโโโโโโโโฌโโโโโโโโโโโ
ยท โฐโโ 'MediaVideoPreviewSource' is imported here
168 โ } from "../../lib/videoPreviewSource";
โฐโโโโ
help: Consider removing this import.
โ eslint(no-unused-vars): Type 'ReviewDiffTheme' is imported but never used.
โญโ[apps/mobile/src/features/threads/ThreadFeed.tsx:175:15]
174 โ import { parseReviewCommentMessageSegments } from "../review/reviewCommentSelection";
175 โ import type { ReviewDiffTheme } from "../review/shikiReviewHighlighter";
ยท โโโโโโโโฌโโโโโโโ
ยท โฐโโ 'ReviewDiffTheme' is imported here
176 โ import {
โฐโโโโ
help: Consider removing this import.
โ eslint(no-unused-vars): Identifier 'resolveMarkdownFontSizes' is imported but never used.
โญโ[apps/mobile/src/features/threads/ThreadFeed.tsx:190:3]
189 โ import {
190 โ resolveMarkdownFontSizes,
ยท โโโโโโโโโโโโโฌโโโโโโโโโโโ
ยท โฐโโ 'resolveMarkdownFontSizes' is imported here
191 โ resolveNativeMarkdownTypography,
โฐโโโโ
help: Consider removing this import.
โ eslint(no-unused-vars): Identifier 'resolveMarkdownInlineCodePresentation' is imported but never used.
โญโ[apps/mobile/src/features/threads/ThreadFeed.tsx:197:3]
196 โ normalizeNativeMarkdownUrl,
197 โ resolveMarkdownInlineCodePresentation,
ยท โโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโ
ยท โฐโโ 'resolveMarkdownInlineCodePresentation' is imported here
198 โ resolveMarkdownLinkPresentation,
โฐโโโโ
help: Consider removing this import.
โ eslint(no-unused-vars): Identifier 'useMarkdownCodeHighlight' is imported but never used.
โญโ[apps/mobile/src/features/threads/ThreadFeed.tsx:242:10]
241 โ import { ThreadMcpApp } from "./McpAppWebView";
242 โ import { useMarkdownCodeHighlight } from "./markdownCodeHighlightState";
ยท โโโโโโโโโโโโโฌโโโโโโโโโโโ
ยท โฐโโ 'useMarkdownCodeHighlight' is imported here
243 โ import {
โฐโโโโ
help: Consider removing this import.
โ eslint(no-unused-vars): Identifier 'useAssetUrlState' is imported but never used.
โญโ[apps/mobile/src/features/threads/ThreadFeed.tsx:246:3]
245 โ useAssetUrl,
246 โ useAssetUrlState,
ยท โโโโโโโโโฌโโโโโโโ
ยท โฐโโ 'useAssetUrlState' is imported here
247 โ useRefreshAssetUrl,
โฐโโโโ
help: Consider removing this import.
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/features/threads/ThreadFeed.tsx:2197:7]
2196 โ setExpandedFile(null);
2197 โ }, [props.environmentId, props.threadId, props.contentPresentation.kind]);
ยท โโโโโโโโโโฌโโโโโโโโโ โโโโโโโโฌโโโโโโ โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
ยท โ โ โฐโโ Unnecessary dependency `props.contentPresentation.kind`
ยท โ โฐโโ Unnecessary dependency `props.threadId`
ยท โฐโโ Unnecessary dependency `props.environmentId`
2198 โ const horizontalPadding = props.layoutVariant === "split" ? 20 : 16;
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/features/threads/ThreadFeed.tsx:2669:7]
2668 โ reportHeaderMaterialVisibility(false);
2669 โ }, [feedThreadKey, reportHeaderMaterialVisibility]);
ยท โโโโโโโฌโโโโโโ
ยท โฐโโ Unnecessary dependency `feedThreadKey`
2670 โ
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/features/threads/ThreadFeed.tsx:2685:7]
2684 โ }
2685 โ }, [listMountKey, props.contentInsetEndAdjustment, listRef]);
ยท โโโโโโโฌโโโโโ
ยท โฐโโ Unnecessary dependency `listMountKey`
2686 โ // Opening at a message: its run unfolds, the list stops following the end
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/features/threads/ThreadFeed.tsx:2881:7]
2880 โ }
2881 โ }, [expandedTurnIds, expandedWorkGroups, expandedWorkRows, settleDisclosureAfterLayout]);
ยท โโโโโโโโฌโโโโโโโ โโโโโโโโโโฌโโโโโโโโ โโโโโโโโโฌโโโโโโโ
ยท โ โ โฐโโ Unnecessary dependency `expandedWorkRows`
ยท โ โฐโโ Unnecessary dependency `expandedWorkGroups`
ยท โฐโโ Unnecessary dependency `expandedTurnIds`
2882 โ
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(memo-dependencies): Found extra memoization dependencies
โญโ[apps/mobile/src/features/threads/ThreadFeed.tsx:627:9]
626 โ };
627 โ }, [props.environmentId, attachment.id, httpBaseUrl]),
ยท โโโโโโโโโโฌโโโโโโโโโ โโโโโโโฌโโโโโโ โโโโโโฌโโโโโ
ยท โ โ โฐโโ Unnecessary dependency `httpBaseUrl`
ยท โ โฐโโ Unnecessary dependency `attachment.id`
ยท โฐโโ Unnecessary dependency `props.environmentId`
628 โ );
โฐโโโโ
help: Extra dependencies can cause a value to update more often than it should, resulting in performance problems such as excessive renders or effects firing too often
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/review/useNativeReviewDiffHighlighting.ts:60:5]
55 โ
56 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
57 โ scheduler.reset();
58 โ highlightedRowIdsRef.current = new Set();
59 โ visibleChunkIndexRef.current = 0;
60 โ setVisibleRange({ firstRowIndex: 0, lastRowIndex: 80 });
ยท โโโโโโโโฌโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
61 โ setTokensPatchJson(createEmptyTokenPatch(resetKey));
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/features/review/useNativeReviewDiffHighlighting.ts:63:7]
62 โ return () => scheduler.cancel();
63 โ }, [enabled, resetKey, rows.length, scheduler]);
ยท โโโโฌโโโ โโโโโโฌโโโโโ
ยท โ โฐโโ Unnecessary dependency `rows.length`
ยท โฐโโ Unnecessary dependency `enabled`
64 โ
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/threads/new-task-flow-provider.tsx:444:5]
434 โ : null;
435 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
436 โ if (
437 โ props.active === false ||
438 โ activeDraftKey !== null ||
439 โ editingPendingTask !== null ||
440 โ selectedProject === null
441 โ ) {
442 โ return;
443 โ }
444 โ setActiveDraftKey(
ยท โโโโโโโโโฌโโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
445 โ createNewTaskDraft({
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(jsx-no-constructed-context-values): The Context `value` prop should not be constructed.
โญโ[apps/mobile/src/features/threads/new-task-flow-provider.tsx:1244:36]
1243 โ <ActiveNewTaskContext value={activeNewTask}>
1244 โ <NewTaskFlowContext.Provider value={value}>{props.children}</NewTaskFlowContext.Provider>
ยท โโโโโโโโโโโโโ
1245 โ </ActiveNewTaskContext>
โฐโโโโ
help: Wrap the `value` prop in useMemo() or useCallback(), or use a constant value to prevent unnecessary re-renders.
Alternatively, move the value outside the render function if it doesn't depend on props or state.
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/threads/use-composer-command-menu.ts:217:7]
213 โ };
214 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
215 โ const inserted = ownerKey ? readComposerDraftSelection(ownerKey, draftMessage) : null;
216 โ if (inserted) {
217 โ setSelection((current) =>
ยท โโโโโโโฌโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
218 โ current.start === inserted.start && current.end === inserted.end ? current : inserted,
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/threads/use-composer-command-menu.ts:298:7]
286 โ }, [hasWorkspaceSnapshot]);
287 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
288 โ if (!environmentId || !projectCwd || !selectedProviderInstanceId) return;
289 โ const key = `${environmentId}:${selectedProviderInstanceId}:${projectCwd}`;
290 โ const now = Date.now();
291 โ const lastRequest = workspaceRefreshKeyRef.current;
292 โ if (
293 โ lastRequest?.key === key &&
294 โ now - lastRequest.requestedAt < PROVIDER_WORKSPACE_SNAPSHOT_TTL_MS
295 โ )
296 โ return;
297 โ if (hasCurrentProviderWorkspaceSnapshot(selectedProviderStatus, projectCwd, now)) {
298 โ setWorkspaceRefreshRetry(null);
ยท โโโโโโโโโโโโโฌโโโโโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
299 โ return;
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/features/threads/use-composer-command-menu.ts:328:5]
327 โ }, [
328 โ draftMessage,
ยท โโโโโโโฌโโโโโ
ยท โฐโโ Unnecessary dependency `draftMessage`
329 โ environmentId,
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/state/use-thread-outbox-drain.ts:1321:5]
1320 โ queuedMessagesByThreadKey,
1321 โ retryTick,
ยท โโโโโฌโโโโ
ยท โฐโโ Unnecessary dependency `retryTick`
1322 โ restoreQueuedMessage,
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(no-array-index-key): Usage of Array index in keys is not allowed
โญโ[apps/mobile/src/features/review/ReviewCommentCard.tsx:223:31]
222 โ ? snippetTokens.map((line, lineIndex) => (
223 โ <NativeText key={lineIndex}>
ยท โโโโโโโโโโโโโโโ
224 โ {lineIndex > 0 ? "\n" : ""}
โฐโโโโ
help: Use a unique data-dependent key to avoid unnecessary rerenders
โ react(no-array-index-key): Usage of Array index in keys is not allowed
โญโ[apps/mobile/src/features/review/ReviewCommentCard.tsx:227:25]
226 โ <NativeText
227 โ key={tokenIndex}
ยท โโโโโโโโโโโโโโโโ
228 โ style={{
โฐโโโโ
help: Use a unique data-dependent key to avoid unnecessary rerenders
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/review/useReviewCommentSelectionController.ts:107:5]
104 โ
105 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
106 โ clearReviewCommentTarget();
107 โ setPendingNativeCommentSelection(null);
ยท โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
108 โ }, [selectedSection?.id]);
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/review/useReviewCommentSelectionController.ts:112:7]
109 โ
110 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
111 โ if (activeCommentTarget === null) {
112 โ setPendingNativeCommentSelection(null);
ยท โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
113 โ }
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/features/review/useReviewCommentSelectionController.ts:108:7]
107 โ setPendingNativeCommentSelection(null);
108 โ }, [selectedSection?.id]);
ยท โโโโโโโโโโฌโโโโโโโโโ
ยท โฐโโ Unnecessary dependency `selectedSection?.id`
109 โ
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/state/use-vcs-action-state.ts:86:5]
83 โ const [nowMs, setNowMs] = useState(() => Date.now());
84 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
85 โ if (!actionState.isRunning) return;
86 โ setNowMs(Date.now());
ยท โโโโโฌโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
87 โ const interval = setInterval(() => setNowMs(Date.now()), 1000);
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(purity): Cannot call impure function during render
โญโ[apps/web/src/components/Sidebar.tsx:1136:11]
1135 โ foldSearchQuery(threadSearchQuery),
1136 โ Date.now(),
ยท โโโโโโฌโโโโ
ยท โฐโโ Cannot call impure function
1137 โ // A list filter, as on mobile: a pick would move rows unexplained.
โฐโโโโ
help: `Date.now` is an impure function. Calling an impure function can produce unstable results that update unpredictably when the component re-renders
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/purity
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/review/ReviewCommentComposerSheet.tsx:103:7]
100 โ
101 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
102 โ if (!target || selectedLines.length === 0) {
103 โ setHighlightedLinesById({});
ยท โโโโโโโโโโโโฌโโโโโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
104 โ return;
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ unicorn(no-useless-fallback-in-spread): Empty fallbacks in spreads are unnecessary
โญโ[apps/mobile/src/state/use-model-option-memory.ts:21:7]
20 โ [instanceId]: {
21 โ ...(state[instanceId] ?? {}),
ยท โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
22 โ [model]: options,
โฐโโโโ
help: Spreading falsy values in object literals won't add any unexpected properties, so it's unnecessary to add an empty object as fallback.
โ react(purity): Cannot call impure function during render
โญโ[apps/web/src/components/CustomSnoozeDialog.tsx:140:58]
139 โ {...(weekStartsOn === undefined ? {} : { weekStartsOn })}
140 โ disabled={{ before: new Date(new Date().setHours(0, 0, 0, 0)) }}
ยท โโโโโโฌโโโโ
ยท โฐโโ Cannot call impure function
141 โ onSelect={(selected) => {
โฐโโโโ
help: `Date` is an impure function. Calling an impure function can produce unstable results that update unpredictably when the component re-renders
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/purity
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/threads/ThreadNavigationSidebar.tsx:279:5]
277 โ const [snoozeWakeTick, bumpSnoozeWakeTick] = useState(0);
278 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
279 โ setNow(new Date().toISOString());
ยท โโโโฌโโ
ยท โฐโโ Avoid calling setState() directly within an effect
280 โ const id = setInterval(() => setNow(new Date().toISOString()), 60_000);
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ eslint(no-unused-vars): Type 'EnvironmentThreadSearchMatch' is imported but never used.
โญโ[apps/mobile/src/features/threads/ThreadNavigationSidebar.tsx:13:8]
12 โ threadSearchMatchKey,
13 โ type EnvironmentThreadSearchMatch,
ยท โโโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
ยท โฐโโ 'EnvironmentThreadSearchMatch' is imported here
14 โ } from "@t3tools/client-runtime/state/thread-search";
โฐโโโโ
help: Consider removing this import.
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/features/threads/ThreadNavigationSidebar.tsx:359:25]
358 โ // range) the boundary string is identical and the chain would die.
359 โ }, [nextSnoozeWakeAt, snoozeWakeTick]);
ยท โโโโโโโโฌโโโโโโ
ยท โฐโโ Unnecessary dependency `snoozeWakeTick`
360 โ const listItems = ((): readonly SidebarListItem[] => {
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(purity): Cannot call impure function during render
โญโ[apps/mobile/src/features/threads/ThreadNavigationSidebar.tsx:350:53]
349 โ if (Number.isNaN(wakeAtMs)) return;
350 โ const delayMs = Math.min(Math.max(0, wakeAtMs - Date.now()) + 50, 2_147_483_647);
ยท โโโโโโฌโโโโ
ยท โฐโโ Cannot call impure function
351 โ const id = setTimeout(() => {
โฐโโโโ
help: `Date.now` is an impure function. Calling an impure function can produce unstable results that update unpredictably when the component re-renders
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/purity
โ eslint(no-unused-vars): Type 'Scope' is imported but never used.
โญโ[apps/server/src/provider/ProviderAuthService.ts:15:18]
14 โ import * as Layer from "effect/Layer";
15 โ import type * as Scope from "effect/Scope";
ยท โโโฌโโ
ยท โฐโโ 'Scope' is imported here
16 โ import * as Stream from "effect/Stream";
โฐโโโโ
help: Consider removing this import.
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/threads/NewTaskDraftRouteScreen.tsx:40:5]
37 โ const [initialized, setInitialized] = useState(false);
38 โ useLayoutEffect(() => {
ยท โโโโโโโโฌโโโโโโโ
ยท โฐโโ This is the containing effect
39 โ reset();
40 โ setInitialized(true);
ยท โโโโโโโโฌโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
41 โ }, [reset]);
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/threads/NewTaskDraftRouteScreen.tsx:93:5]
88 โ
89 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
90 โ if (!needsPreparation || !initialProjectRef.branch || waitingForProject) return;
91 โ const branchName = initialProjectRef.branch;
92 โ let active = true;
93 โ setPendingCheckouts((count) => count + 1);
ยท โโโโโโโโโโฌโโโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
94 โ // Serialize replacements: ignoring a stale result cannot undo its Git mutation.
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ unicorn(no-useless-fallback-in-spread): Empty fallbacks in spreads are unnecessary
โญโ[apps/mobile/src/state/use-composer-drafts.ts:1022:15]
1021 โ instanceId,
1022 โ { ...(persisted.modelOptionMemory[instanceId] ?? {}), ...models },
ยท โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
1023 โ ]),
โฐโโโโ
help: Spreading falsy values in object literals won't add any unexpected properties, so it's unnecessary to add an empty object as fallback.
โ t3code(no-inline-schema-compile): Hoist Schema.decodeEffect(...) to module scope: the compiled function is rebuilt on every call. Move it to a module-level const.
โญโ[apps/server/src/vcs/GitVcsDriverCore.test.ts:1786:34]
1785 โ const stat = branch.files!.find((file) => file.path === path)!;
1786 โ const request = yield* Schema.decodeEffect(ReviewDiffPreviewInput)({
ยท โโโโโโโโโโโโโโโโโโโ
1787 โ cwd,
โฐโโโโ
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/state/thread-order.ts:29:7]
28 โ getPendingThreadOrder();
29 โ }, [nowMinute, snoozeWakeTick]);
ยท โโโโโฌโโโโ โโโโโโโโฌโโโโโโ
ยท โ โฐโโ Unnecessary dependency `snoozeWakeTick`
ยท โฐโโ Unnecessary dependency `nowMinute`
30 โ return pending;
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ eslint(no-unneeded-ternary): Unnecessary use of boolean literals in conditional expression
โญโ[packages/shared/src/serverSettings.test.ts:35:7]
34 โ const fallback = fallbackTextGenerationModelSelection(providerInstances, (instanceId) =>
35 โ instanceId === configured ? true : false,
ยท โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
36 โ );
โฐโโโโ
help: Remove this ternary operator
โ t3code(no-inline-schema-compile): Hoist Schema.is(...) to module scope: the compiled function is rebuilt on every call. Move it to a module-level const.
โญโ[packages/effect-codex-app-server/src/schema.test.ts:50:18]
49 โ for (const tool of ["sendMessage", "followupTask", "interruptAgent", "listAgents"]) {
50 โ assert.equal(Schema.is(CodexSchema.ServerNotification__CollabAgentTool)(tool), true);
ยท โโโโโโโโโ
51 โ assert.equal(Schema.is(CodexSchema.V2ThreadResumeResponse__CollabAgentTool)(tool), true);
โฐโโโโ
โ t3code(no-inline-schema-compile): Hoist Schema.is(...) to module scope: the compiled function is rebuilt on every call. Move it to a module-level const.
โญโ[packages/effect-codex-app-server/src/schema.test.ts:51:18]
50 โ assert.equal(Schema.is(CodexSchema.ServerNotification__CollabAgentTool)(tool), true);
51 โ assert.equal(Schema.is(CodexSchema.V2ThreadResumeResponse__CollabAgentTool)(tool), true);
ยท โโโโโโโโโ
52 โ }
โฐโโโโ
โ t3code(no-inline-schema-compile): Hoist Schema.is(...) to module scope: the compiled function is rebuilt on every call. Move it to a module-level const.
โญโ[packages/effect-codex-app-server/src/schema.test.ts:55:5]
54 โ assert.equal(
55 โ Schema.is(CodexSchema.ServerNotification__CollabAgentToolCallStatus)("interrupted"),
ยท โโโโโโโโโ
56 โ true,
โฐโโโโ
โ t3code(no-inline-schema-compile): Hoist Schema.is(...) to module scope: the compiled function is rebuilt on every call. Move it to a module-level const.
โญโ[packages/effect-codex-app-server/src/schema.test.ts:59:5]
58 โ assert.equal(
59 โ Schema.is(CodexSchema.V2ThreadResumeResponse__CollabAgentToolCallStatus)("interrupted"),
ยท โโโโโโโโโ
60 โ true,
โฐโโโโ
โ t3code(no-inline-schema-compile): Hoist Schema.is(...) to module scope: the compiled function is rebuilt on every call. Move it to a module-level const.
โญโ[packages/effect-codex-app-server/src/schema.test.ts:103:16]
102 โ
103 โ assert.equal(Schema.is(CodexSchema.V2ThreadResumeResponse)(resumeResponse), true);
ยท โโโโโโโโโ
104 โ });
โฐโโโโ
โ unicorn(prefer-string-starts-ends-with): Prefer String#startsWith over a regex with a caret.
โญโ[apps/server/src/vcs/GitVcsDriverCore.ts:517:11]
516 โ GIT_DIAGNOSTIC_LINE_PATTERN.test(line) ||
517 โ (!/^remote:/.test(line) && SSH_TRANSPORT_REFUSAL_PATTERN.test(line)),
ยท โโโโโโโโโโโโโโโ
518 โ )
โฐโโโโ
help: Replace `/^remote:/.test(line)` with `line.startsWith('remote:')`.
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[packages/shared/src/atomicWrite.test.ts:139:5]
138 โ Effect.gen(function* () {
139 โ โญโโถ while (fiber.pollUnsafe() === undefined) {
140 โ โ yield* TestClock.adjust("100 millis");
141 โ โ // oxlint-disable-next-line t3code/no-real-time-wait-in-tests -- a macrotask boundary so the real stat I/O can finish; time moves only via TestClock
142 โ โ yield* Effect.promise(() => new Promise((resolve) => setImmediate(resolve)));
143 โ โฐโโถ }
144 โ return yield* Fiber.join(fiber);
โฐโโโโ
โ unicorn(no-useless-fallback-in-spread): Empty fallbacks in spreads are unnecessary
โญโ[packages/shared/src/serverSettings.ts:346:9]
345 โ const entry: ProjectSettingsOverrides = {
346 โ ...(entries.get(projectId) ?? currentEntries[projectId] ?? {}),
ยท โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
347 โ };
โฐโโโโ
help: Spreading falsy values in object literals won't add any unexpected properties, so it's unnecessary to add an empty object as fallback.
โ oxc(no-accumulating-spread): Do not spread accumulators in Array.prototype.reduce()
โญโ[packages/shared/src/serverSettings.ts:448:24]
447 โ const favorites =
448 โ setModelFavorites?.reduce((current, change) => {
ยท โโโโฌโโ
ยท โฐโโ For this reduce
449 โ const exists = current.some(
450 โ (favorite) => favorite.provider === change.provider && favorite.model === change.model,
451 โ );
452 โ return change.favorite
453 โ ? exists
454 โ ? current
455 โ : [...current, { provider: change.provider, model: change.model }]
ยท โโโโโโฌโโโโ
ยท โฐโโ From this spread
456 โ : current.filter(
โฐโโโโ
help: Consider using `Object.assign()` or `Array.prototype.push()` to mutate the accumulator instead.
note: Using spreads within accumulators leads to `O(n^2)` time complexity.
โ oxc(no-accumulating-spread): Do not spread accumulators in loops
โญโ[packages/shared/src/serverSettings.ts:466:3]
464 โ null;
465 โ let nextModelPreferences = initialModelPreferences;
ยท โโโโโโโโโโโฌโโโโโโโโโ
ยท โฐโโ From this accumulator
466 โ for (const change of setModelsHidden ?? []) {
ยท โโฌโ
ยท โฐโโ For this loop
467 โ const preferences = nextModelPreferences?.[change.provider] ?? {
468 โ hiddenModels: [],
469 โ modelOrder: [],
470 โ };
471 โ const hiddenModels = preferences.hiddenModels.filter((model) => model !== change.model);
472 โ if (change.hidden) hiddenModels.push(change.model);
473 โ nextModelPreferences = {
474 โ ...nextModelPreferences,
ยท โโโโโโโโโโโโฌโโโโโโโโโโโ
ยท โฐโโ From this spread
475 โ [change.provider]: { ...preferences, hiddenModels },
โฐโโโโ
help: Consider using `Object.assign()` to mutate the accumulator instead.
note: Using spreads within accumulators leads to `O(n^2)` time complexity.
โ react(purity): Cannot call impure function during render
โญโ[apps/web/src/hooks/useThreadActions.ts:821:56]
820 โ const resolved = resolveThreadTarget(target);
821 โ if (resolved && !canSnooze(resolved.thread, { now: new Date().toISOString() })) {
ยท โโโโโโฌโโโโ
ยท โฐโโ Cannot call impure function
822 โ return AsyncResult.failure(
โฐโโโโ
help: `Date` is an impure function. Calling an impure function can produce unstable results that update unpredictably when the component re-renders
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/purity
โ react(purity): Cannot call impure function during render
โญโ[apps/web/src/hooks/useThreadActions.ts:709:46]
708 โ const wokeAt = resolved
709 โ ? threadWokeAt(resolved.thread, { now: new Date().toISOString() })
ยท โโโโโโฌโโโโ
ยท โฐโโ Cannot call impure function
710 โ : null;
โฐโโโโ
help: `Date` is an impure function. Calling an impure function can produce unstable results that update unpredictably when the component re-renders
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/purity
โ eslint(no-empty-pattern): Empty object binding pattern
โญโ[apps/server/src/provider/Drivers/CodexDriver.test.ts:466:14]
465 โ
466 โ for (const {} of ["direct", "wrapper"] as const) {
ยท โโ
467 โ }
โฐโโโโ
help: Passing `null` or `undefined` will result in runtime error because `null` and `undefined` cannot be destructured.
โ unicorn(no-array-reverse): Use `Array#toReversed()` instead of `Array#reverse()`.
โญโ[packages/shared/src/composerContextLegacySend.ts:19:45]
18 โ const occurrences = collectComposerContextReferences(text);
19 โ for (const occurrence of [...occurrences].reverse()) {
ยท โโโโโโโ
20 โ const record = recordsById.get(occurrence.contextId);
โฐโโโโ
help: `Array#reverse()` mutates the original array. Use `Array#toReversed()` to return a new reversed array without modifying the original.
โ t3code(no-inline-schema-compile): Hoist Schema.is(...) to module scope: both the inline schema literal and the compiled function are rebuilt on every call. Move the compiled function to a module-level const.
โญโ[apps/server/src/provider/acp/AntigravityProtocol.ts:263:20]
262 โ ...(update._meta !== undefined
263 โ ? { _meta: Schema.is(Schema.Record(Schema.String, Schema.Json))(meta) ? meta : null }
ยท โโโโโโโโโ
264 โ : {}),
โฐโโโโ
โ eslint(no-unused-vars): Identifier 'HookForwarder' is imported but never used.
โญโ[infra/relay/src/http/Api.ts:69:13]
68 โ import * as EnvironmentLinks from "../environments/EnvironmentLinks.ts";
69 โ import * as HookForwarder from "../hooks/HookForwarder.ts";
ยท โโโโโโโฌโโโโโโ
ยท โฐโโ 'HookForwarder' is imported here
70 โ import * as HeldHooks from "../hooks/HeldHooks.ts";
โฐโโโโ
help: Consider removing this import.
โ eslint(no-unused-vars): Variable 'claudeCaps' is declared but never used. Unused variables should start with a '_'.
โญโ[packages/shared/src/model.test.ts:36:7]
35 โ
36 โ const claudeCaps: ModelCapabilities = createModelCapabilities({
ยท โโโโโโฌโโโโ
ยท โฐโโ 'claudeCaps' is declared here
37 โ optionDescriptors: [
โฐโโโโ
help: Consider removing this declaration.
โ eslint(no-unused-vars): Parameter 'stopSessions' is declared but never used. Unused parameters should start with a '_'.
โญโ[packages/provider-cursor/src/server/auth.ts:249:20]
248 โ },
249 โ (effect, flow, stopSessions) =>
ยท โโโโโโโฌโโโโโ
ยท โฐโโ 'stopSessions' is declared here
250 โ effect.pipe(
โฐโโโโ
help: Consider removing this parameter.
โ eslint(no-unused-vars): Variable 'legacyCredentials' is declared but never used. Unused variables should start with a '_'.
โญโ[packages/provider-cursor/src/server/credentialStore.test.ts:15:7]
14 โ
15 โ const legacyCredentials = {
ยท โโโโโโโโโฌโโโโโโโโ
ยท โฐโโ 'legacyCredentials' is declared here
16 โ version: 1 as const,
โฐโโโโ
help: Consider removing this declaration.
โ react(no-unstable-nested-components): Do not define components during render.
โญโ[apps/mobile/src/Stack.tsx:1079:21]
1078 โ <Navigator
1079 โ screenLayout={(props) => <GuardedScreenLayout {...props} />}
ยท โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
1080 โ screenOptions={({ route }) =>
โฐโโโโ
help: Move this component definition out of the parent component `AdaptiveRootStack` and pass data as props. If you want to allow component creation in props, set `allowAsProps` option to true.
โ react(purity): Cannot call impure function during render
โญโ[apps/web/src/components/CommandPalette.tsx:2037:20]
2036 โ title: inferProjectTitleFromPath(destinationPath),
2037 โ createdAt: new Date().toISOString(),
ยท โโโโโโฌโโโโ
ยท โฐโโ Cannot call impure function
2038 โ remoteUrl: addProjectCloneFlow.remoteUrl,
โฐโโโโ
help: `Date` is an impure function. Calling an impure function can produce unstable results that update unpredictably when the component re-renders
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/purity
โ unicorn(prefer-array-find): Prefer `find` over filtering and accessing the first result.
โญโ[packages/client-runtime/src/operations/projects.ts:238:51]
237 โ ): string {
238 โ const folderName = workspaceRoot.split(/[\\/]/).filter(Boolean).at(-1) ?? "";
ยท โโโโโโ
239 โ return target.owner ? `${target.owner}/${folderName}` : folderName;
โฐโโโโ
help: Use `find(predicate)` instead of `filter(predicate)[0]` or similar patterns.
โ unicorn(prefer-add-event-listener): Prefer `addEventListener()` over their `on`-function counterparts.
โญโ[apps/web/src/components/device/deviceHubApi.test.ts:12:14]
11 โ addEventListener(_type: string, listener: (event: { data: string }) => void) {
12 โ this.onmessage = listener;
ยท โโโโโโโโโ
13 โ }
โฐโโโโ
help: `addEventListener()` can register multiple handlers and accepts options such as `{ once: true }`; assigning to `on<event>` replaces any previously registered handler.
โ typescript(no-this-alias): Unexpected aliasing of 'this' to local variable.
โญโ[apps/web/src/components/device/deviceHubApi.test.ts:16:9]
15 โ constructor() {
16 โ source = this;
ยท โโโโโโ
17 โ }
โฐโโโโ
help: Assigning a variable to this instead of properly using arrow lambdas may be a symptom of pre-ES2015 practices or not managing scope well.
โ unicorn(prefer-array-find): Prefer `find` over filtering and accessing the first result.
โญโ[apps/server/src/terminal/Manager.test.ts:731:31]
730 โ );
731 โ const snapshot = events.filter((event) => event.type === "snapshot").at(-1)?.snapshot;
ยท โโโโโโ
732 โ expect(snapshot?.history).toBe("aa๐\rEND");
โฐโโโโ
help: Use `find(predicate)` instead of `filter(predicate)[0]` or similar patterns.
โ eslint(no-unused-vars): Variable 'useDragRegion' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/web/src/components/preview/PreviewPanelShell.tsx:61:9]
60 โ ) {
61 โ const useDragRegion = isElectron && props.mode !== "sheet" && props.mode !== "embedded";
ยท โโโโโโโฌโโโโโโ
ยท โฐโโ 'useDragRegion' is declared here
62 โ const isInline = props.mode === "inline";
โฐโโโโ
help: Consider removing this declaration.
โ react(no-object-type-as-default-prop): Do not use an array literal as default prop value. Use a stable reference instead.
โญโ[apps/web/src/components/settings/SettingInheritance.tsx:163:24]
162 โ keys,
163 โ overridingProjects = [],
ยท โโ
164 โ onClearOverrides,
โฐโโโโ
help: Default values are re-created on every render and break referential equality, causing unnecessary re-renders. Move the value out of the component or memoize it.
โ eslint(no-unused-vars): Type 'AuthSessionState' is imported but never used.
โญโ[apps/web/src/components/settings/ProviderSettingsPanel.logic.ts:4:8]
3 โ AuthProvidersManageScope,
4 โ type AuthSessionState,
ยท โโโโโโโโโฌโโโโโโโ
ยท โฐโโ 'AuthSessionState' is imported here
5 โ type EnvironmentId,
โฐโโโโ
help: Consider removing this import.
โ eslint(no-unused-vars): Variable 'layerUnavailable' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/server/src/orchestration-v2/Orchestrator.ts:12395:7]
12394 โ
12395 โ const layerUnavailable: Layer.Layer<OrchestratorV2> = Layer.succeed(
ยท โโโโโโโโโฌโโโโโโโ
ยท โฐโโ 'layerUnavailable' is declared here
12396 โ OrchestratorV2,
โฐโโโโ
help: Consider removing this declaration.
โ eslint(no-new): Do not use 'new' for side effects.
โญโ[apps/server/src/mcp/McpToolAccess.test.ts:168:3]
167 โ // @ts-expect-error a declaration constructed directly
168 โ new McpToolAccess.Declaration(unchecked);
ยท โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
169 โ // @ts-expect-error a handlers layer built outside McpToolAccess
โฐโโโโ
help: Assign the result of 'new' to a variable or compare it to a reference.
โ eslint(no-unused-vars): Variable 'layerTest' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/server/src/telemetry/AnalyticsService.ts:340:7]
339 โ
340 โ const layerTest = AnalyticsService.layerTest;
ยท โโโโโฌโโโโ
ยท โฐโโ 'layerTest' is declared here
โฐโโโโ
help: Consider removing this declaration.
โ eslint(no-unused-vars): Function 'nonEmptyString' is declared but never used.
โญโ[packages/client-runtime/src/work-log/presentation.ts:237:10]
236 โ
237 โ function nonEmptyString(value: unknown): string | null {
ยท โโโโโโโโฌโโโโโโ
ยท โฐโโ 'nonEmptyString' is declared here
238 โ return typeof value === "string" && value.trim().length > 0 ? value : null;
โฐโโโโ
help: Consider removing this declaration.
โ eslint(no-unused-vars): Variable 'layerCodexAppServerClientFactoryCommand' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts:1444:7]
1443 โ
1444 โ const layerCodexAppServerClientFactoryCommand = (
ยท โโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโ
ยท โฐโโ 'layerCodexAppServerClientFactoryCommand' is declared here
1445 โ options: CodexClient.CodexAppServerClientOptions & {
โฐโโโโ
help: Consider removing this declaration.
โ eslint(no-unused-vars): Variable 'layer' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts:1680:7]
1679 โ
1680 โ const layer: Layer.Layer<
ยท โโโฌโโ
ยท โฐโโ 'layer' is declared here
1681 โ ProviderAdapter.ProviderAdapterV2,
โฐโโโโ
help: Consider removing this declaration.
โ eslint(no-unused-vars): Function 'layerClaudeAgentSdkReplayQueryRunner' is declared but never used.
โญโ[apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.testkit.ts:960:10]
959 โ
960 โ function layerClaudeAgentSdkReplayQueryRunner(
ยท โโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโ
ยท โฐโโ 'layerClaudeAgentSdkReplayQueryRunner' is declared here
961 โ transcript: ClaudeAgentSdkReplayTranscript,
โฐโโโโ
help: Consider removing this declaration.
โ eslint(no-unused-vars): Parameter '_' is declared but never used.
โญโ[apps/server/src/mcp/WorktreeMcpService.test.ts:121:27]
120 โ const scope = makeScope(options.capabilities ?? new Set(["preview", "worktree"]));
121 โ const dispatch = vi.fn((_: unknown) =>
ยท โฌ
ยท โฐโโ '_' is declared here
122 โ (options.dispatchGate ?? Effect.void).pipe(
โฐโโโโ
help: Consider removing this parameter.
โ eslint(no-unused-vars): Parameter '_' is declared but never used.
โญโ[apps/server/src/mcp/WorktreeMcpService.test.ts:134:39]
133 โ );
134 โ const listLocalBranchNames = vi.fn((_: string) =>
ยท โฌ
ยท โฐโโ '_' is declared here
135 โ Effect.succeed(
โฐโโโโ
help: Consider removing this parameter.
โ eslint(no-unused-vars): Parameter '_' is declared but never used.
โญโ[apps/server/src/mcp/WorktreeMcpService.test.ts:178:31]
177 โ });
178 โ const sendToThread = vi.fn((_: unknown) => {
ยท โฌ
ยท โฐโโ '_' is declared here
179 โ switch (options.continuation ?? "queued") {
โฐโโโโ
help: Consider removing this parameter.
โ eslint(no-unused-vars): Parameter '_' is declared but never used.
โญโ[apps/server/src/mcp/WorktreeMcpService.test.ts:203:33]
202 โ );
203 โ const removeWorktree = vi.fn((_: unknown) =>
ยท โฌ
ยท โฐโโ '_' is declared here
204 โ options.removeWorktreeFails
โฐโโโโ
help: Consider removing this parameter.
โ eslint(no-unused-vars): Parameter '_' is declared but never used.
โญโ[apps/server/src/mcp/WorktreeMcpService.test.ts:208:36]
207 โ );
208 โ const deleteLocalBranch = vi.fn((_: unknown) =>
ยท โฌ
ยท โฐโโ '_' is declared here
209 โ options.deleteLocalBranchFails
โฐโโโโ
help: Consider removing this parameter.
โ eslint(no-unused-vars): Parameter '_' is declared but never used.
โญโ[apps/server/src/mcp/WorktreeMcpService.test.ts:213:42]
212 โ );
213 โ const fetchWorktreeBaseCommit = vi.fn((_: unknown) =>
ยท โฌ
ยท โฐโโ '_' is declared here
214 โ options.fetchWorktreeBaseFails
โฐโโโโ
help: Consider removing this parameter.
โ eslint(no-unused-vars): Parameter '_' is declared but never used.
โญโ[apps/server/src/mcp/WorktreeMcpService.test.ts:254:30]
253 โ );
254 โ const localStatus = vi.fn((_: unknown) =>
ยท โฌ
ยท โฐโโ '_' is declared here
255 โ Effect.succeed({
โฐโโโโ
help: Consider removing this parameter.
โ eslint(no-unused-vars): Parameter '_' is declared but never used.
โญโ[apps/server/src/mcp/WorktreeMcpService.test.ts:264:32]
263 โ );
264 โ const refreshStatus = vi.fn((_: string) => Effect.die("refreshStatus stub"));
ยท โฌ
ยท โฐโโ '_' is declared here
265 โ const runForThread = vi.fn((input: { readonly worktreePath: string }) => {
โฐโโโโ
help: Consider removing this parameter.
โ unicorn(prefer-array-find): Prefer `find` over filtering and accessing the first result.
โญโ[apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.test.ts:1998:15]
1997 โ assert.equal(
1998 โ items.filter((item) => item.type === "assistant_message").at(-1)?.text,
ยท โโโโโโ
1999 โ "authoritative answer",
โฐโโโโ
help: Use `find(predicate)` instead of `filter(predicate)[0]` or similar patterns.
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.test.ts:3951:7]
3950 โ const closeFiber = yield* Scope.close(sessionScope, Exit.void).pipe(Effect.forkScoped);
3951 โ โญโโถ while (!responseLifecycle.includes("failed")) {
3952 โ โ yield* Effect.yieldNow;
3953 โ โฐโโถ }
3954 โ const responseExit = yield* Fiber.join(responseFiber);
โฐโโโโ
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.test.ts:6062:9]
6061 โ .pipe(Effect.forkScoped);
6062 โ โญโโถ while (promptGates.length < 1) {
6063 โ โ yield* Effect.yieldNow;
6064 โ โฐโโถ }
6065 โ assert.isDefined(sessionUpdateHandler, "session update handler must be wired");
โฐโโโโ
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.test.ts:6197:9]
6196 โ .pipe(Effect.forkScoped);
6197 โ โญโโถ while (promptGates.length < 2) {
6198 โ โ yield* Effect.yieldNow;
6199 โ โฐโโถ }
6200 โ if (sessionUpdateHandler === undefined || capturedMutation.current === null) {
โฐโโโโ
โ eslint(no-unused-vars): Variable 'layer' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts:10602:7]
10601 โ
10602 โ const layer: Layer.Layer<
ยท โโโฌโโ
ยท โฐโโ 'layer' is declared here
10603 โ ProviderAdapter.ProviderAdapterV2,
โฐโโโโ
help: Consider removing this declaration.
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[packages/client-runtime/src/state/shell-sync.test.ts:169:7]
168 โ });
169 โ โญโโถ for (let index = 0; index < 100; index += 1) {
170 โ โ if ((yield* SubscriptionRef.get(shellState)).status === "synchronizing") break;
171 โ โ yield* Effect.yieldNow;
172 โ โฐโโถ }
173 โ
โฐโโโโ
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[packages/client-runtime/src/state/shell-sync.test.ts:178:7]
177 โ yield* Deferred.succeed(releaseSave, undefined);
178 โ โญโโถ for (let index = 0; index < 100; index += 1) {
179 โ โ if ((yield* Ref.get(saved)).length > 0) break;
180 โ โ yield* Effect.yieldNow;
181 โ โฐโโถ }
182 โ
โฐโโโโ
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[packages/client-runtime/src/state/shell-sync.test.ts:307:7]
306 โ yield* Deferred.succeed(releaseUnenrichedSave, undefined);
307 โ โญโโถ for (let index = 0; index < 100; index += 1) {
308 โ โ const values = yield* Ref.get(saved);
309 โ โ if (values.length > 0 && values.at(-1)?.projects[0]?.repositoryIdentity != null) {
310 โ โ break;
311 โ โ }
312 โ โ yield* Effect.yieldNow;
313 โ โฐโโถ }
314 โ
โฐโโโโ
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/terminal/ThreadTerminalRouteScreen.tsx:643:5]
638 โ
639 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
640 โ if (pendingLaunchEntry.key === launchTargetKey) {
641 โ return;
642 โ }
643 โ setPendingLaunchEntry({
ยท โโโโโโโโโโโฌโโโโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
644 โ key: launchTargetKey,
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/terminal/ThreadTerminalRouteScreen.tsx:653:5]
648 โ
649 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
650 โ if (initialAttachGridEntry.key === launchTargetKey) {
651 โ return;
652 โ }
653 โ setInitialAttachGridEntry({
ยท โโโโโโโโโโโโโฌโโโโโโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
654 โ key: launchTargetKey,
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/terminal/ThreadTerminalRouteScreen.tsx:746:7]
743 โ
744 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
745 โ if (!routeEnvironmentId || !routeThreadId) {
746 โ setLastGridSize({
ยท โโโโโโโโฌโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
747 โ cols: DEFAULT_TERMINAL_COLS,
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/features/terminal/ThreadTerminalRouteScreen.tsx:538:24]
537 โ });
538 โ }, [terminal.buffer, terminal.buffer.length, terminalKey]);
ยท โโโโโโโโโโโโฌโโโโโโโโโโ
ยท โฐโโ Overly precise dependency `terminal.buffer.length`, use `terminal.buffer` instead
539 โ const cwd = terminal.summary?.cwd ?? selectedThreadProject?.workspaceRoot ?? null;
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/features/terminal/ThreadTerminalRouteScreen.tsx:709:7]
708 โ sentInitialInputKeyRef.current = null;
709 โ }, [terminalKey]);
ยท โโโโโโฌโโโโโ
ยท โฐโโ Unnecessary dependency `terminalKey`
710 โ
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/features/terminal/ThreadTerminalRouteScreen.tsx:800:52]
799 โ };
800 โ }, [canOperateTerminal, isRunning, pasteSession, terminal.lifecycleVersion, terminalKey]);
ยท โโโโโโโโโโโโโฌโโโโโโโโโโโโ โโโโโโฌโโโโโ
ยท โ โฐโโ Unnecessary dependency `terminalKey`
ยท โฐโโ Unnecessary dependency `terminal.lifecycleVersion`
801 โ
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/terminal/ThreadTerminalRouteScreen.tsx:793:24]
792 โ }
793 โ const pasteSession = pasteSessionRef.current;
ยท โโโโโโโโโโโโฌโโโโโโโโโโโ
ยท โฐโโ Cannot access ref value during render
794 โ
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[apps/server/src/orchestration-v2/FoundationPersistence.test.ts:566:7]
565 โ let afterSequence = created[0]!.sequence;
566 โ โญโโถ for (let index = 1; index <= 32; index += 1) {
567 โ โ const nextEvent = {
568 โ โ id: EventId.make(`event:foundation-stream-race:${index}`),
569 โ โ type: "thread.metadata-updated" as const,
570 โ โ threadId,
571 โ โ providerInstanceId,
572 โ โ occurredAt: now,
573 โ โ payload: { ...thread, title: `Race update ${index}` },
574 โ โ } satisfies OrchestrationV2DomainEvent;
575 โ โ const reader = yield* eventSink
576 โ โ .stream({ threadId, afterSequence })
577 โ โ .pipe(Stream.runHead, Effect.forkChild);
578 โ โ yield* Effect.yieldNow;
579 โ โ const written = yield* eventSink.write({ events: [nextEvent] });
580 โ โ const received = yield* Fiber.join(reader);
581 โ โ if (Option.isNone(received)) {
582 โ โ return yield* Effect.die("The event stream ended before delivering the live event.");
583 โ โ }
584 โ โ assert.equal(received.value.sequence, written[0]?.sequence);
585 โ โ assert.equal(received.value.event.id, nextEvent.id);
586 โ โ afterSequence = received.value.sequence;
587 โ โฐโโถ }
588 โ }),
โฐโโโโ
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[apps/server/src/orchestration-v2/FoundationPersistence.test.ts:2327:9]
2326 โ let settled = false;
2327 โ โญโโถ while (!settled) {
2328 โ โ settled = (yield* outbox.listByCommandId(commandId)).every(
2329 โ โ (effect) => effect.status === "succeeded",
2330 โ โ );
2331 โ โ if (!settled) yield* Effect.yieldNow;
2332 โ โฐโโถ }
2333 โ }).pipe(Effect.provide(layerWorker), Effect.scoped);
โฐโโโโ
โ eslint(no-unused-vars): Variable 'revokeActiveMcpThread' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/server/src/mcp/McpSessionRegistry.ts:218:7]
217 โ
218 โ const revokeActiveMcpThread = (threadId: ThreadId): Effect.Effect<void> =>
ยท โโโโโโโโโโโฌโโโโโโโโโโ
ยท โฐโโ 'revokeActiveMcpThread' is declared here
219 โ activeMcpSessionRegistry ? activeMcpSessionRegistry.revokeThread(threadId) : Effect.void;
โฐโโโโ
help: Consider removing this declaration.
โ eslint(no-unused-vars): Variable 'revokeAllActiveMcpCredentials' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/server/src/mcp/McpSessionRegistry.ts:221:7]
220 โ
221 โ const revokeAllActiveMcpCredentials = (): Effect.Effect<void> =>
ยท โโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
ยท โฐโโ 'revokeAllActiveMcpCredentials' is declared here
222 โ activeMcpSessionRegistry ? activeMcpSessionRegistry.revokeAll : Effect.void;
โฐโโโโ
help: Consider removing this declaration.
โ eslint(no-unused-vars): Identifier 'identity' is imported but never used.
โญโ[apps/server/src/auth/http.ts:28:10]
27 โ import * as Schema from "effect/Schema";
28 โ import { identity } from "effect/Function";
ยท โโโโโฌโโโ
ยท โฐโโ 'identity' is imported here
29 โ import * as Layer from "effect/Layer";
โฐโโโโ
help: Consider removing this import.
โ t3code(no-inline-schema-compile): Hoist Schema.decodeUnknownSync(...) to module scope: the compiled function is rebuilt on every call. Move it to a module-level const.
โญโ[apps/server/src/auth/RpcAuthorization.ts:237:17]
236 โ const requiredScopesForSettingsUpdate = (payload: unknown) => {
237 โ const input = Schema.decodeUnknownSync(SettingsUpdate)(payload);
ยท โโโโโโโโโโโโโโโโโโโโโโโโ
238 โ const scopes = requiredScopesForServerSettingsPatch(input.patch);
โฐโโโโ
โ t3code(no-inline-schema-compile): Hoist Schema.decodeUnknownSync(...) to module scope: the compiled function is rebuilt on every call. Move it to a module-level const.
โญโ[apps/server/src/auth/RpcAuthorization.ts:256:26]
255 โ if (method === WS_METHODS.assetsCreateUrl) {
256 โ const { resource } = Schema.decodeUnknownSync(AssetCreateUrlInput)(payload);
ยท โโโโโโโโโโโโโโโโโโโโโโโโ
257 โ return [
โฐโโโโ
โ eslint(no-unused-vars): Variable 'layerFromProviderAdapter' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/server/src/orchestration-v2/ProviderAdapterRegistry.ts:346:7]
345 โ
346 โ const layerFromProviderAdapter: Layer.Layer<
ยท โโโโโโโโโโโโโฌโโโโโโโโโโโ
ยท โฐโโ 'layerFromProviderAdapter' is declared here
347 โ ProviderAdapterRegistryV2,
โฐโโโโ
help: Consider removing this declaration.
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/terminal/terminalLaunchContext.ts:117:5]
112 โ const [entry, setEntry] = useState(() => ({ key: input.targetKey, location: candidate }));
113 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
114 โ if (entry.key === input.targetKey && (entry.location !== null || candidate === null)) {
115 โ return;
116 โ }
117 โ setEntry({ key: input.targetKey, location: candidate });
ยท โโโโโฌโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
118 โ }, [candidate, entry.key, entry.location, input.targetKey]);
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ eslint(no-empty-pattern): Empty object binding pattern
โญโ[apps/server/src/process/externalLauncher.test.ts:186:12]
185 โ
186 โ for (const {} of ["darwin", "linux"] as const) {
ยท โโ
187 โ }
โฐโโโโ
help: Passing `null` or `undefined` will result in runtime error because `null` and `undefined` cannot be destructured.
โ eslint(no-empty-pattern): Empty object binding pattern
โญโ[apps/server/src/process/externalLauncher.test.ts:189:12]
188 โ
189 โ for (const {} of [
ยท โโ
190 โ { kind: "browser", folderVerb: "none" },
โฐโโโโ
help: Passing `null` or `undefined` will result in runtime error because `null` and `undefined` cannot be destructured.
โ eslint(no-empty-pattern): Empty object binding pattern
โญโ[apps/server/src/process/externalLauncher.test.ts:311:12]
310 โ
311 โ for (const {} of ["rejected", "spawn-error", "stalled"] as const) {
ยท โโ
312 โ }
โฐโโโโ
help: Passing `null` or `undefined` will result in runtime error because `null` and `undefined` cannot be destructured.
โ eslint(no-empty-pattern): Empty object binding pattern
โญโ[apps/server/src/process/externalLauncher.test.ts:314:12]
313 โ
314 โ for (const {} of [
ยท โโ
315 โ {
โฐโโโโ
help: Passing `null` or `undefined` will result in runtime error because `null` and `undefined` cannot be destructured.
โ react(static-components): Cannot create components during render
โญโ[apps/mobile/src/features/terminal/NativeTerminalSurface.tsx:234:10]
196 โ const { onInput, onResize } = props;
197 โ const NativeTerminalSurfaceView = resolveNativeTerminalSurfaceView();
ยท โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ
ยท โฐโโ The component is created during render here
198 โ const hasNativeSurface = Boolean(NativeTerminalSurfaceView);
199 โ
200 โ useEffect(() => {
201 โ terminalDebugLog("native:surface", {
202 โ terminalKey: props.terminalKey,
203 โ native: hasNativeSurface,
204 โ hardwareKeyRevision: getNativeTerminalHardwareKeyRevision(),
205 โ bufferLen: props.buffer.length,
206 โ isRunning: props.isRunning,
207 โ });
208 โ }, [hasNativeSurface, props.buffer.length, props.isRunning, props.terminalKey]);
209 โ const handleNativeInput = useCallback(
210 โ (event: NativeSyntheticEvent<TerminalInputEvent>) => {
211 โ if (!props.isRunning || props.readOnly) {
212 โ return;
213 โ }
214 โ terminalDebugLog("native:onInput", {
215 โ codes: Array.from(event.nativeEvent.data, (char) => char.codePointAt(0)),
216 โ });
217 โ onInput(event.nativeEvent.data);
218 โ },
219 โ [onInput, props.isRunning, props.readOnly],
220 โ );
221 โ const handleNativeResize = useCallback(
222 โ (event: NativeSyntheticEvent<TerminalResizeEvent>) => {
223 โ onResize({
224 โ cols: event.nativeEvent.cols,
225 โ rows: event.nativeEvent.rows,
226 โ });
227 โ },
228 โ [onResize],
229 โ );
230 โ
231 โ if (NativeTerminalSurfaceView) {
232 โ return (
233 โ <View style={props.style}>
234 โ <NativeTerminalSurfaceView
ยท โโโโโโโโโโโโโฌโโโโโโโโโโโโ
ยท โฐโโ This component is created during render
235 โ appearanceScheme={themeAppearance}
โฐโโโโ
help: Components created during render will reset their state each time they are created. Declare components outside of render
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/static-components
โ react(no-array-index-key): Usage of Array index in keys is not allowed
โญโ[apps/mobile/src/features/terminal/TerminalContextSheet.tsx:72:15]
71 โ <Pressable
72 โ key={index}
ยท โโโโโโโโโโโ
73 โ accessibilityRole="button"
โฐโโโโ
help: Use a unique data-dependent key to avoid unnecessary rerenders
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[apps/server/src/scheduledTasks/ScheduledTaskService.webhook.test.ts:521:13]
520 โ })).delivery;
521 โ โญโโถ while (delivery.outcome === "accepted") {
522 โ โ yield* Effect.yieldNow;
523 โ โ delivery = (yield* service.getWebhookDelivery({
524 โ โ id: task.id,
525 โ โ deliveryId: deliveryId!,
526 โ โ })).delivery;
527 โ โฐโโถ }
528 โ assert.equal(delivery.outcome, "dispatch_failed");
โฐโโโโ
โ eslint(no-unused-vars): Variable 'layer' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/server/src/serverRuntimeStartup.ts:728:7]
727 โ
728 โ const layer = layerWithOptions();
ยท โโโฌโโ
ยท โฐโโ 'layer' is declared here
โฐโโโโ
help: Consider removing this declaration.
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/components/MediaVideoPlayer.tsx:60:5]
57 โ
58 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
59 โ const controller = new AbortController();
60 โ setLoadState("pending");
ยท โโโโโโโฌโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
61 โ // A renewed signature is used on Retry, not as a reason to reset the native player.
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/components/MediaVideoPlayer.tsx:71:7]
70 โ return () => controller.abort();
71 โ }, [player, props.playRequested, attempt]);
ยท โโโโฌโโ โโโโโโโโโโฌโโโโโโโโโ โโโโฌโโโ
ยท โ โ โฐโโ Unnecessary dependency `attempt`
ยท โ โฐโโ Unnecessary dependency `props.playRequested`
ยท โฐโโ Unnecessary dependency `player_0`
72 โ
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ eslint(no-unused-vars): Function 'describeSchedule' is declared but never used.
โญโ[apps/server/src/scheduledTasks/Schedule.ts:79:10]
78 โ
79 โ function describeSchedule(schedule: ScheduledTaskSchedule): string {
ยท โโโโโโโโโฌโโโโโโโ
ยท โฐโโ 'describeSchedule' is declared here
80 โ if (schedule.type === "webhook") return "On webhook";
โฐโโโโ
help: Consider removing this declaration.
โ unicorn(no-array-reverse): Use `Array#toReversed()` instead of `Array#reverse()`.
โญโ[apps/mobile/src/lib/markdownDocument.ts:259:28]
258 โ visit(parser.parse(markdown), false, false);
259 โ for (const edit of edits.reverse())
ยท โโโโโโโ
260 โ markdown = markdown.slice(0, edit.start) + edit.content + markdown.slice(edit.end);
โฐโโโโ
help: `Array#reverse()` mutates the original array. Use `Array#toReversed()` to return a new reversed array without modifying the original.
โ unicorn(no-array-reverse): Use `Array#toReversed()` instead of `Array#reverse()`.
โญโ[apps/mobile/src/lib/markdownDocument.ts:290:28]
289 โ visit(parser.parse(markdown));
290 โ for (const edit of edits.reverse())
ยท โโโโโโโ
291 โ markdown = markdown.slice(0, edit.start) + edit.content + markdown.slice(edit.end);
โฐโโโโ
help: `Array#reverse()` mutates the original array. Use `Array#toReversed()` to return a new reversed array without modifying the original.
โ unicorn(no-array-reverse): Use `Array#toReversed()` instead of `Array#reverse()`.
โญโ[apps/mobile/src/lib/markdownDocument.ts:344:38]
343 โ visit(parser.parse(markdown));
344 โ for (const lineStart of lineStarts.reverse()) {
ยท โโโโโโโ
345 โ // The header row may be a lazy line without its container markers (`>` or list indent),
โฐโโโโ
help: `Array#reverse()` mutates the original array. Use `Array#toReversed()` to return a new reversed array without modifying the original.
โ react(memo-dependencies): Found extra memoization dependencies
โญโ[apps/mobile/src/features/keyboard/HardwareKeyboardCommandProvider.tsx:116:34]
115 โ return [...commands];
116 โ }, [activeThreadRef, pathname, registrationVersion, navigation]);
ยท โโโโโโโโโโฌโโโโโโโโโ
ยท โฐโโ Unnecessary dependency `registrationVersion`
117 โ
โฐโโโโ
help: Extra dependencies can cause a value to update more often than it should, resulting in performance problems such as excessive renders or effects firing too often
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(no-array-index-key): Usage of Array index in keys is not allowed
โญโ[apps/mobile/src/components/ComposerContextSheet.tsx:272:25]
271 โ {record.elements?.map((element, index) => (
272 โ <View key={`${element.selector ?? element.tagName}:${index}`} className="gap-3">
ยท โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
273 โ <ContextField
โฐโโโโ
help: Use a unique data-dependent key to avoid unnecessary rerenders
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/components/ComposerEditor.tsx:82:6]
81 โ },
82 โ [draftKey],
ยท โโโโโฌโโโ
ยท โฐโโ Unnecessary dependency `draftKey`
83 โ );
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ eslint(no-empty-pattern): Empty array binding pattern
โญโ[apps/server/src/pullRequest/PullRequestService.test.ts:1437:12]
1436 โ
1437 โ for (const [] of [
ยท โโ
1438 โ ["github", "github.com"],
โฐโโโโ
help: Passing non-iterable values (null, undefined, numbers, booleans, etc.) will result in a runtime error because these values are not iterable.
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/settings/SettingsNotificationsRouteScreen.tsx:119:10]
117 โ
118 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
119 โ void refreshNotifications();
ยท โโโโโโโโโโโฌโโโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
120 โ const subscription = AppState.addEventListener("change", (state) => {
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/settings/SettingsNotificationsRouteScreen.tsx:128:7]
125 โ
126 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
127 โ if (!isLoaded) {
128 โ setLiveActivityStatus("checking");
ยท โโโโโโโโโโโฌโโโโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
129 โ return;
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ eslint(no-unused-vars): Function 'resolveThreadWorkspaceCwd' is declared but never used.
โญโ[apps/server/src/checkpointing/Utils.ts:12:10]
11 โ
12 โ function resolveThreadWorkspaceCwd(input: {
ยท โโโโโโโโโโโโโฌโโโโโโโโโโโโ
ยท โฐโโ 'resolveThreadWorkspaceCwd' is declared here
13 โ readonly thread: {
โฐโโโโ
help: Consider removing this declaration.
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/components/ProjectFavicon.tsx:172:5]
167 โ const [activeFaviconRequest, setActiveFaviconRequest] = useState<typeof faviconRequest>(null);
168 โ useLayoutEffect(() => {
ยท โโโโโโโโฌโโโโโโโ
ยท โฐโโ This is the containing effect
169 โ if (faviconRequest === null) return;
170 โ
171 โ const endRequest = beginProjectFaviconRequest(faviconRequest);
172 โ setActiveFaviconRequest(faviconRequest);
ยท โโโโโโโโโโโโฌโโโโโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
173 โ return endRequest;
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/components/VideoPreviewModal.ios.tsx:63:55]
61 โ }, []);
62 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
63 โ if (playbackUrl === null && resolvedUrl !== null) setPlaybackUrl(resolvedUrl);
ยท โโโโโโโโฌโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
64 โ }, [playbackUrl, resolvedUrl]);
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[apps/server/src/background/HostPowerMonitor.test.ts:133:11]
132 โ const monitor = yield* HostPowerMonitor.HostPowerMonitor;
133 โ โญโโถ for (
134 โ โ let attempt = 0;
135 โ โ attempt < 100 && (yield* monitor.snapshot).onBattery !== "true";
136 โ โ attempt += 1
137 โ โ ) {
138 โ โ yield* Effect.yieldNow;
139 โ โฐโโถ }
140 โ expect((yield* monitor.snapshot).onBattery).toBe("true");
โฐโโโโ
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[apps/server/src/project/ProjectEnrichmentService.test.ts:28:3]
27 โ ) {
28 โ โญโโถ for (let attempt = 0; attempt < 100; attempt += 1) {
29 โ โ const available = yield* service.peek(workspaceRoot);
30 โ โ if (predicate(available)) return available;
31 โ โ yield* Effect.yieldNow;
32 โ โฐโโถ }
33 โ return yield* Effect.die(`Project metadata for ${workspaceRoot} was not resolved in time.`);
โฐโโโโ
โ eslint(no-empty-pattern): Empty object binding pattern
โญโ[apps/server/src/processRunner.test.ts:266:14]
265 โ
266 โ for (const {} of ["timeout", "success"] as const) {
ยท โโ
267 โ }
โฐโโโโ
help: Passing `null` or `undefined` will result in runtime error because `null` and `undefined` cannot be destructured.
โ react(memo-dependencies): Found extra memoization dependencies
โญโ[apps/mobile/src/features/settings/scheduled-task-editor.tsx:100:85]
99 โ const startEditor = startScheduledTaskEditor;
100 โ const resetEditor = useCallback(() => startEditor(defaultEditor), [defaultEditor, startEditor]);
ยท โโโโโโฌโโโโโ
ยท โฐโโ Unnecessary dependency `startEditor`
101 โ const readEditor = useCallback(
โฐโโโโ
help: Extra dependencies can cause a value to update more often than it should, resulting in performance problems such as excessive renders or effects firing too often
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(memo-dependencies): Found extra memoization dependencies
โญโ[apps/mobile/src/features/settings/scheduled-task-editor.tsx:121:7]
120 โ setEditor,
121 โ startEditor,
ยท โโโโโโฌโโโโโ
ยท โฐโโ Unnecessary dependency `startEditor`
122 โ hasChanges,
โฐโโโโ
help: Extra dependencies can cause a value to update more often than it should, resulting in performance problems such as excessive renders or effects firing too often
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ eslint(no-unused-vars): Variable 'layer' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/server/src/orchestration-v2/ThreadPullRequestService.ts:410:7]
409 โ
410 โ const layer = Layer.effect(ThreadPullRequestServiceV2, make);
ยท โโโฌโโ
ยท โฐโโ 'layer' is declared here
โฐโโโโ
help: Consider removing this declaration.
โ eslint(no-unused-vars): Variable 'layerDaemon' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/server/src/orchestration-v2/EffectWorker.ts:914:7]
913 โ
914 โ const layerDaemon: Layer.Layer<never, never, OrchestrationEffectWorkerV2> = Layer.effectDiscard(
ยท โโโโโโฌโโโโโ
ยท โฐโโ 'layerDaemon' is declared here
915 โ runDaemon.pipe(Effect.forkScoped),
โฐโโโโ
help: Consider removing this declaration.
โ eslint(no-unsafe-optional-chaining): Unsafe usage of optional chaining
โญโ[apps/server/src/orchestration-v2/ThreadLaunchService.test.ts:1783:8]
1782 โ assert.equal(
1783 โ (stored.context?.records[0] as { attachmentId: string }).attachmentId,
ยท โโโโโโโโโโโโโโโโโโโโโโโโโโ
1784 โ stored.attachments[0]?.id,
โฐโโโโ
help: If this short-circuits with 'undefined' the evaluation will throw TypeError
โ react(capitalized-calls): Capitalized function called without JSX
โญโ[apps/mobile/src/lib/useHoverGesture.ts:8:15]
7 โ () =>
8 โ Gesture.Hover()
ยท โโโฌโโ
ยท โฐโโ `Hover` may be a component
9 โ .manualActivation(true)
โฐโโโโ
help: Render `Hover` with JSX if it is a component; otherwise rename it to start with a lowercase letter or allowlist it in the compiler configuration
note: `Hover` is treated as a component because it begins with an uppercase letter; React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/static-components
โ unicorn(no-new-array): Do not use `new Array(singleArgument)`.
โญโ[apps/web/src/terminal/ghostty/core.ts:194:19]
193 โ const count = Math.min(CHUNK_SIZE, graphemeLength - start);
194 โ const codes = new Array<number>(count);
ยท โโโโโโโโโโโโโโโโโโโโโโโโ
195 โ for (let index = 0; index < count; index += 1) {
โฐโโโโ
help: It's not clear whether the argument is meant to be the length of the array or the only element. If the argument is the array's length, consider using `Array.from({ length: n })`. If the argument is the only element, use `[element]`.
โ eslint(no-unused-vars): Parameter '_' is declared but never used.
โญโ[apps/server/src/orchestration-v2/PullRequestSyncReactor.test.ts:555:70]
554 โ assert.deepStrictEqual(
555 โ (yield* Ref.get(fixture.syncCommands)).map(({ commandId: _, ...rest }) => rest),
ยท โฌ
ยท โฐโโ '_' is declared here
556 โ [
โฐโโโโ
help: Consider removing this parameter.
โ eslint(no-unused-vars): Parameter '_' is declared but never used.
โญโ[apps/server/src/orchestration-v2/PullRequestSyncReactor.test.ts:1155:70]
1154 โ assert.deepStrictEqual(
1155 โ (yield* Ref.get(fixture.linkCommands)).map(({ commandId: _, ...rest }) => rest),
ยท โฌ
ยท โฐโโ '_' is declared here
1156 โ [
โฐโโโโ
help: Consider removing this parameter.
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[apps/server/src/project/ProjectService.test.ts:94:3]
93 โ ) {
94 โ โญโโถ for (let attempt = 0; attempt < 100; attempt += 1) {
95 โ โ const project = Option.getOrThrow(yield* service.getById(projectId));
96 โ โ if (predicate(project)) return project;
97 โ โ yield* Effect.yieldNow;
98 โ โฐโโถ }
99 โ return yield* Effect.die(`Project ${projectId} was not enriched in time.`);
โฐโโโโ
โ eslint(no-unused-vars): Function 'assertUserMessagesExclude' is declared but never used.
โญโ[apps/server/src/orchestration-v2/testkit/fixtures/shared.ts:1398:10]
1397 โ
1398 โ function assertUserMessagesExclude(
ยท โโโโโโโโโโโโโฌโโโโโโโโโโโโ
ยท โฐโโ 'assertUserMessagesExclude' is declared here
1399 โ projection: OrchestrationV2ThreadProjection,
โฐโโโโ
help: Consider removing this declaration.
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/showcase/ShowcaseCaptureCoordinator.tsx:123:7]
118 โ
119 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
120 โ if (orientationSettled) return;
121 โ const orientation = getNativeShowcaseOrientation();
122 โ if (orientation === null) {
123 โ setOrientationSettled(true);
ยท โโโโโโโโโโโฌโโโโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
124 โ return;
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/showcase/ShowcaseCaptureCoordinator.tsx:304:7]
292 โ
293 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
294 โ if (
295 โ scene === null ||
296 โ requestedScene === null ||
297 โ scene !== requestedScene ||
298 โ !hasFixture ||
299 โ !orientationSettled ||
300 โ !themeApplied ||
301 โ (scene === "agent-activity" && !agentActivityStaged) ||
302 โ !isShowcaseNativeContentReady({ scene, themeId, renderSignal })
303 โ ) {
304 โ setReadyScene(null);
ยท โโโโโโโฌโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
305 โ return;
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ eslint(no-unused-vars): Variable 'lastOutcome' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/mobile/src/features/showcase/ShowcaseCaptureCoordinator.tsx:128:9]
127 โ let cancelled = false;
128 โ let lastOutcome: string | null = null;
ยท โโโโโโฌโโโโโ
ยท โฐโโ 'lastOutcome' is declared here
129 โ void retryShowcaseOperation(async () => applyNativeShowcaseOrientation(orientation), {
โฐโโโโ
help: Consider removing this declaration.
โ react(purity): Cannot call impure function during render
โญโ[apps/web/src/components/CommandPaletteThreadItems.tsx:152:58]
151 โ if (threadSearchQuery.trim().length > 0 && !threadSearchQuery.startsWith(">") && !isOpen) {
152 โ claimThreadOpen(thread.environmentId, thread.id, Date.now());
ยท โโโโโโฌโโโโ
ยท โฐโโ Cannot call impure function
153 โ }
โฐโโโโ
help: `Date.now` is an impure function. Calling an impure function can produce unstable results that update unpredictably when the component re-renders
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/purity
โ eslint(no-unused-vars): Identifier 'HostProcess' is imported but never used.
โญโ[apps/server/src/orchestration-v2/ProviderTurnStartService.ts:25:13]
24 โ import * as Schema from "effect/Schema";
25 โ import * as HostProcess from "@t3tools/shared/HostProcess";
ยท โโโโโโฌโโโโโ
ยท โฐโโ 'HostProcess' is imported here
26 โ
โฐโโโโ
help: Consider removing this import.
โ eslint(no-unused-vars): Variable 'serverConfig' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/server/src/orchestration-v2/ProviderTurnStartService.ts:124:11]
123 โ const path = yield* Path.Path;
124 โ const serverConfig = yield* ServerConfig.ServerConfig;
ยท โโโโโโโฌโโโโโ
ยท โฐโโ 'serverConfig' is declared here
125 โ const serverSettings = yield* ServerSettings.ServerSettingsService;
โฐโโโโ
help: Consider removing this declaration.
โ eslint(no-unused-vars): Variable 'serverSettings' is declared but never used. Unused variables should start with a '_'.
โญโ[apps/server/src/orchestration-v2/ProviderTurnStartService.ts:125:11]
124 โ const serverConfig = yield* ServerConfig.ServerConfig;
125 โ const serverSettings = yield* ServerSettings.ServerSettingsService;
ยท โโโโโโโโฌโโโโโโ
ยท โฐโโ 'serverSettings' is declared here
126 โ const gitWorkflow = yield* GitWorkflowService.GitWorkflowService;
โฐโโโโ
help: Consider removing this declaration.
โ eslint(no-control-regex): Unexpected control character
โญโ[apps/mobile/src/features/settings/SettingsProviderAccountsRouteScreen.tsx:220:46]
219 โ <Text selectable className="font-mono text-sm text-foreground">
220 โ {interaction.output.replace(/\x1b\[[0-?]*[ -/]*[@-~]/g, "")}
ยท โโโฌโ
ยท โฐโโ 'U+001B' is a control character.
221 โ </Text>
โฐโโโโ
help: Avoid matching control characters in regular expressions. If intentional, disable this rule for the expression.
โ t3code(no-polling-loop-in-tests): Polling loop in a test. Spinning on `yieldNow`/`sleep` is scheduler- and load-dependent. Await the `Deferred`, `Queue.take`, `Stream` element, `drain()`, or `expect.poll` that marks the milestone.
โญโ[apps/mobile/src/features/agent-awareness/remoteRegistration.test.ts:223:5]
222 โ let idlePasses = 0;
223 โ โญโโถ for (;;) {
224 โ โ yield* Effect.promise(() => Promise.resolve());
225 โ โ const pending = backgroundRuntime.pending.shift();
226 โ โ if (!pending) {
227 โ โ idlePasses++;
228 โ โ if (idlePasses >= 3) {
229 โ โ return;
230 โ โ }
231 โ โ continue;
232 โ โ }
233 โ โ idlePasses = 0;
234 โ โ const exit = yield* Effect.exit(
235 โ โ pending.operation as Effect.Effect<unknown, unknown, ManagedRelay.ManagedRelayClient>,
236 โ โ );
237 โ โ yield* Effect.sync(() => {
238 โ โ pending.resolve(exit);
239 โ โ });
240 โ โฐโโถ }
241 โ },
โฐโโโโ
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:122:38]
121 โ const audioLevelsRef = useRef(Array<number>(VOICE_WAVEFORM_SAMPLE_COUNT).fill(0));
122 โ const audioLevels = useSharedValue(audioLevelsRef.current);
ยท โโโโโโโโโโโโฌโโโโโโโโโโ
ยท โฐโโ Cannot access ref value during render
123 โ const sessionRef = useRef<VoiceInputSession | null>(null);
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:126:8]
125 โ
126 โ if (!sessionRef.current || !recorderRef.current) {
ยท โโโโโโโโโโฌโโโโโโโโ
ยท โฐโโ Cannot access ref value during render
127 โ const recorder = createLazyVoiceRecorder({
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:126:7]
125 โ
126 โ if (!sessionRef.current || !recorderRef.current) {
ยท โโโโโโโโโโฌโโโโโโโโโ
ยท โฐโโ Cannot access ref value during render
127 โ const recorder = createLazyVoiceRecorder({
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:126:31]
125 โ
126 โ if (!sessionRef.current || !recorderRef.current) {
ยท โโโโโโโโโโฌโโโโโโโโโ
ยท โฐโโ Cannot access ref value during render
127 โ const recorder = createLazyVoiceRecorder({
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:126:30]
125 โ
126 โ if (!sessionRef.current || !recorderRef.current) {
ยท โโโโโโโโโโโฌโโโโโโโโโ
ยท โฐโโ Cannot access ref value during render
127 โ const recorder = createLazyVoiceRecorder({
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:127:46]
126 โ if (!sessionRef.current || !recorderRef.current) {
127 โ โญโโถ const recorder = createLazyVoiceRecorder({
128 โ โ create: () => new AudioModule.AudioRecorder(VOICE_RECORDING_OPTIONS),
129 โ โ onStatus: (status: RecordingStatus) => {
130 โ โ sessionRef.current?.controller.handleRecorderStatus({
131 โ โ isFinished: status.isFinished,
132 โ โ hasError: status.hasError || status.mediaServicesDidReset === true,
133 โ โ error: status.error,
134 โ โ url: status.url,
135 โ โ });
136 โ โ },
137 โ โ // Read when recording starts so preference changes do not re-render every composer.
138 โ โ selectInput: (inputs) => {
139 โ โ const preferences = registry.get(mobilePreferencesAtom);
140 โ โ if (!AsyncResult.isSuccess(preferences)) return null;
141 โ โ const known = microphoneOrder(preferences.value.microphones);
142 โ โ const order = rememberMicrophones(known, inputs);
143 โ โ if (order !== known) {
144 โ โ registry.set(updateMobilePreferencesAtom, {
145 โ โ transform: (current) => ({
146 โ โ microphones: rememberMicrophones(microphoneOrder(current.microphones), inputs),
147 โ โ }),
148 โ โ });
149 โ โ }
150 โ โ return preferredMicrophoneInput(inputs, order);
151 โ โ },
152 โ โโโถ });
ยท โฐโโโโ Passing a ref to a function may read its value during render
153 โ recorderRef.current = recorder;
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:153:16]
152 โ });
153 โ recorderRef.current = recorder;
ยท โโโโโโฌโโโโโโโโโโฌโโโ
ยท โ โฐโโ Cannot update ref value during render
ยท โฐโโ This value is a ref
154 โ sessionRef.current = new VoiceInputSession({
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:154:48]
153 โ recorderRef.current = recorder;
154 โ โญโโถ sessionRef.current = new VoiceInputSession({
155 โ โ recorder,
156 โ โ getTranscriber: getLocalVoiceTranscriber,
157 โ โ requestPermission: async () => {
158 โ โ const permission = await requestRecordingPermissionsAsync();
159 โ โ return { granted: permission.granted, canAskAgain: permission.canAskAgain };
160 โ โ },
161 โ โ configureRecording: configureVoiceRecordingAudio,
162 โ โ releaseRecording: releaseVoiceRecordingAudio,
163 โ โ deleteRecording: (uri) => new File(uri).delete(),
164 โ โ onStateChange: (nextState) =>
165 โ โ setState({
166 โ โ state: nextState,
167 โ โ ownerKey: sessionRef.current?.ownerKey ?? null,
168 โ โ label: sessionRef.current?.label ?? null,
169 โ โ }),
170 โ โโโถ });
ยท โฐโโโโ Cannot access ref value during render
171 โ }
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:154:15]
153 โ recorderRef.current = recorder;
154 โ sessionRef.current = new VoiceInputSession({
ยท โโโโโโฌโโโโโโโโโฌโโโ
ยท โ โฐโโ Cannot update ref value during render
ยท โฐโโ This value is a ref
155 โ recorder,
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:185:7]
184 โ return () => subscription.remove();
185 โ }, [controller]);
ยท โโโโโโฌโโโโ
ยท โฐโโ Cannot access ref value during render
186 โ
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:185:6]
184 โ return () => subscription.remove();
185 โ }, [controller]);
ยท โโโโโโโฌโโโโโ
ยท โฐโโ Cannot access ref value during render
186 โ
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:192:6]
191 โ },
192 โ [controller, recorder],
ยท โโโโโโฌโโโโ
ยท โฐโโ Cannot access ref value during render
193 โ );
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:175:20]
174 โ const controller = session.controller;
175 โ const recorder = recorderRef.current;
ยท โโโโโโโโโโฌโโโโโโโโโ
ยท โฐโโ Cannot access ref value during render
176 โ
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:192:5]
191 โ },
192 โ [controller, recorder],
ยท โโโโโโโโโโโโฌโโโโโโโโโโ
ยท โฐโโ Cannot access ref value during render
193 โ );
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:246:20]
245 โ return () => clearInterval(intervalId);
246 โ }, [audioLevels, controller, recorder, state.phase]);
ยท โโโโโโฌโโโโ
ยท โฐโโ Cannot access ref value during render
247 โ
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:246:6]
245 โ return () => clearInterval(intervalId);
246 โ }, [audioLevels, controller, recorder, state.phase]);
ยท โโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโ
ยท โฐโโ Cannot access ref value during render
247 โ
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:261:5]
260 โ setOwnerFocused,
261 โ session,
ยท โโโโฌโโโ
ยท โฐโโ Cannot access ref value during render
262 โ stop,
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:251:10]
250 โ
251 โ โญโโถ return {
252 โ โ isAvailable: getLocalVoiceTranscriber() !== null || getNativeShowcaseScene() !== null,
253 โ โ state,
254 โ โ audioLevels,
255 โ โ elapsedSeconds,
256 โ โ isBusy: voiceInputBlocksSubmission(state),
257 โ โ ownerKey,
258 โ โ label,
259 โ โ focusedOwners,
260 โ โ setOwnerFocused,
261 โ โ session,
262 โ โ stop,
263 โ โ cancel,
264 โ โโโถ };
ยท โฐโโโโ Cannot access ref value during render
265 โ }
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(immutability): This value cannot be modified
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:212:7]
121 โ const audioLevelsRef = useRef(Array<number>(VOICE_WAVEFORM_SAMPLE_COUNT).fill(0));
122 โ const audioLevels = useSharedValue(audioLevelsRef.current);
ยท โโโโโโฌโโโโโ
ยท โฐโโ `audioLevels` originates here
123 โ const sessionRef = useRef<VoiceInputSession | null>(null);
124 โ const recorderRef = useRef<LazyVoiceRecorder<RecorderState> | null>(null);
125 โ
126 โ if (!sessionRef.current || !recorderRef.current) {
127 โ const recorder = createLazyVoiceRecorder({
128 โ create: () => new AudioModule.AudioRecorder(VOICE_RECORDING_OPTIONS),
129 โ onStatus: (status: RecordingStatus) => {
130 โ sessionRef.current?.controller.handleRecorderStatus({
131 โ isFinished: status.isFinished,
132 โ hasError: status.hasError || status.mediaServicesDidReset === true,
133 โ error: status.error,
134 โ url: status.url,
135 โ });
136 โ },
137 โ // Read when recording starts so preference changes do not re-render every composer.
138 โ selectInput: (inputs) => {
139 โ const preferences = registry.get(mobilePreferencesAtom);
140 โ if (!AsyncResult.isSuccess(preferences)) return null;
141 โ const known = microphoneOrder(preferences.value.microphones);
142 โ const order = rememberMicrophones(known, inputs);
143 โ if (order !== known) {
144 โ registry.set(updateMobilePreferencesAtom, {
145 โ transform: (current) => ({
146 โ microphones: rememberMicrophones(microphoneOrder(current.microphones), inputs),
147 โ }),
148 โ });
149 โ }
150 โ return preferredMicrophoneInput(inputs, order);
151 โ },
152 โ });
153 โ recorderRef.current = recorder;
154 โ sessionRef.current = new VoiceInputSession({
155 โ recorder,
156 โ getTranscriber: getLocalVoiceTranscriber,
157 โ requestPermission: async () => {
158 โ const permission = await requestRecordingPermissionsAsync();
159 โ return { granted: permission.granted, canAskAgain: permission.canAskAgain };
160 โ },
161 โ configureRecording: configureVoiceRecordingAudio,
162 โ releaseRecording: releaseVoiceRecordingAudio,
163 โ deleteRecording: (uri) => new File(uri).delete(),
164 โ onStateChange: (nextState) =>
165 โ setState({
166 โ state: nextState,
167 โ ownerKey: sessionRef.current?.ownerKey ?? null,
168 โ label: sessionRef.current?.label ?? null,
169 โ }),
170 โ });
171 โ }
172 โ
173 โ const session = sessionRef.current;
174 โ const controller = session.controller;
175 โ const recorder = recorderRef.current;
176 โ
177 โ useEffect(() => {
178 โ const subscription = AppState.addEventListener("change", (nextState) => {
179 โ // iOS reports `inactive` while its permission dialog is open. Only the
180 โ // real background state cancels preparation; recorder status handles
181 โ // calls and route interruptions during capture.
182 โ if (nextState === "background") controller.appMovedToBackground();
183 โ });
184 โ return () => subscription.remove();
185 โ }, [controller]);
186 โ
187 โ useEffect(
188 โ () => () => {
189 โ controller.dispose();
190 โ recorder.release();
191 โ },
192 โ [controller, recorder],
193 โ );
194 โ
195 โ useEffect(() => {
196 โ if (state.phase !== "recording") return;
197 โ
198 โ const tag = `voice-input:${keepAwakeId}:${++keepAwakeSessionRef.current}`;
199 โ const activation = activateKeepAwakeAsync(tag);
200 โ void activation.catch(() => {});
201 โ return () => {
202 โ // Release after activation settles, even if the recording ends immediately.
203 โ void activation.then(() => deactivateKeepAwake(tag)).catch(() => {});
204 โ };
205 โ }, [keepAwakeId, state.phase]);
206 โ
207 โ useEffect(() => {
208 โ if (state.phase !== "preparing" && state.phase !== "recording") return;
209 โ
210 โ if (audioLevelsRef.current.some((level) => level !== 0)) {
211 โ audioLevelsRef.current = Array<number>(VOICE_WAVEFORM_SAMPLE_COUNT).fill(0);
212 โ audioLevels.value = audioLevelsRef.current;
ยท โโโโโโฌโโโโโ
ยท โฐโโ `audioLevels` cannot be modified
213 โ }
โฐโโโโ
help: Modifying a value returned from a hook is not allowed. Consider moving the modification into the hook where the value is constructed
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/immutability
โ react(immutability): Cannot modify local variables after render completes
โญโ[apps/mobile/src/features/voice-input/VoiceInputProvider.tsx:212:7]
206 โ
207 โ useEffect(() => {
ยท โโโโฌโโโ
ยท โฐโโ This function may (indirectly) reassign or modify `audioLevels` after render
208 โ if (state.phase !== "preparing" && state.phase !== "recording") return;
209 โ
210 โ if (audioLevelsRef.current.some((level) => level !== 0)) {
211 โ audioLevelsRef.current = Array<number>(VOICE_WAVEFORM_SAMPLE_COUNT).fill(0);
212 โ audioLevels.value = audioLevelsRef.current;
ยท โโโโโโฌโโโโโ
ยท โฐโโ This modifies `audioLevels`
213 โ }
โฐโโโโ
help: This argument is a function which may reassign or mutate `audioLevels` after render, which can cause inconsistent behavior on subsequent renders. Consider using state instead
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/immutability
โ react(immutability): This value cannot be modified
โญโ[apps/mobile/src/features/voice-input/GlobalVoiceInputControl.tsx:68:5]
65 โ const [expanded, setExpanded] = useState(false);
66 โ const progress = useSharedValue(0);
ยท โโโโโฌโโโ
ยท โฐโโ `progress` originates here
67 โ useEffect(() => {
68 โ progress.value = withTiming(expanded ? 1 : 0, MORPH_TIMING);
ยท โโโโโฌโโโ
ยท โฐโโ `progress` cannot be modified
69 โ }, [expanded, progress]);
โฐโโโโ
help: Modifying a value returned from a hook is not allowed. Consider moving the modification into the hook where the value is constructed
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/immutability
โ react(immutability): This value cannot be modified
โญโ[apps/mobile/src/features/voice-input/ComposerDictationControl.tsx:93:5]
90 โ }) {
91 โ const rotation = useSharedValue(props.hidden ? 1 : 0);
ยท โโโโโฌโโโ
ยท โฐโโ `rotation` originates here
92 โ useLayoutEffect(() => {
93 โ rotation.value = withTiming(props.hidden ? 1 : 0, TOOLBAR_FLIP_TIMING);
ยท โโโโโฌโโโ
ยท โฐโโ `rotation` cannot be modified
94 โ }, [props.hidden, rotation]);
โฐโโโโ
help: Modifying a value returned from a hook is not allowed. Consider moving the modification into the hook where the value is constructed
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/immutability
โ react(immutability): This value cannot be modified
โญโ[apps/mobile/src/features/voice-input/ComposerDictationControl.tsx:269:5]
266 โ const variant = props.variant ?? "plain";
267 โ const loadingVisibility = useSharedValue(props.loading ? 1 : 0);
ยท โโโโโโโโโฌโโโโโโโโ
ยท โฐโโ `loadingVisibility` originates here
268 โ useLayoutEffect(() => {
269 โ loadingVisibility.value = withTiming(props.loading ? 1 : 0, DICTATION_TIMING);
ยท โโโโโโโโโฌโโโโโโโโ
ยท โฐโโ `loadingVisibility` cannot be modified
270 โ }, [loadingVisibility, props.loading]);
โฐโโโโ
help: Modifying a value returned from a hook is not allowed. Consider moving the modification into the hook where the value is constructed
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/immutability
โ react(immutability): This value cannot be modified
โญโ[apps/mobile/src/features/voice-input/ComposerDictationControl.tsx:328:5]
325 โ }) {
326 โ const recordingVisibility = useSharedValue(props.phase === "recording" ? 1 : 0);
ยท โโโโโโโโโโฌโโโโโโโโโ
ยท โฐโโ `recordingVisibility` originates here
327 โ useLayoutEffect(() => {
328 โ recordingVisibility.value = withTiming(props.phase === "recording" ? 1 : 0, DICTATION_TIMING);
ยท โโโโโโโโโโฌโโโโโโโโโ
ยท โฐโโ `recordingVisibility` cannot be modified
329 โ }, [props.phase, recordingVisibility]);
โฐโโโโ
help: Modifying a value returned from a hook is not allowed. Consider moving the modification into the hook where the value is constructed
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/immutability
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/features/files/SourceFileSurface.tsx:257:7]
256 โ return () => cancelAnimationFrame(frame);
257 โ }, [props.path, targetIndex]);
ยท โโโโโโฌโโโโ
ยท โฐโโ Unnecessary dependency `props.path`
258 โ
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(no-array-index-key): Usage of Array index in keys is not allowed
โญโ[apps/mobile/src/features/files/SourceFileSurface.tsx:293:23]
292 โ <SourceText
293 โ key={`${index}:${tokenIndex}`}
ยท โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
294 โ style={{
โฐโโโโ
help: Use a unique data-dependent key to avoid unnecessary rerenders
โ react(no-array-index-key): Usage of Array index in keys is not allowed
โญโ[apps/mobile/src/features/files/SourceFileSurface.tsx:309:27]
308 โ return (
309 โ <SourceText key={index}>
ยท โโโโโโโโโโโ
310 โ {body}
โฐโโโโ
help: Use a unique data-dependent key to avoid unnecessary rerenders
โ react(refs): Cannot access refs during render
โญโ[apps/mobile/src/features/voice-input/useVoiceInputController.ts:27:14]
26 โ const latestInput = useRef(input);
27 โ latestInput.current = input;
ยท โโโโโโฌโโโโโโโโโโฌโโโ
ยท โ โฐโโ Cannot update ref value during render
ยท โฐโโ This value is a ref
28 โ const mounted = useRef(true);
โฐโโโโ
help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
โ react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders
โญโ[apps/mobile/src/features/files/FileTreeBrowser.tsx:155:5]
150 โ
151 โ useEffect(() => {
ยท โโโโโฌโโโโ
ยท โฐโโ This is the containing effect
152 โ if (!controlledSelectedPath) {
153 โ return;
154 โ }
155 โ setExpandedPaths((current) => {
ยท โโโโโโโโโฌโโโโโโโ
ยท โฐโโ Avoid calling setState() directly within an effect
156 โ const ancestors = ancestorPaths(controlledSelectedPath);
โฐโโโโ
help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system.
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
โ react(exhaustive-effect-dependencies): Found extra effect dependencies
โญโ[apps/mobile/src/features/workspace/WorkspaceToolbar.ios.tsx:114:33]
113 โ return () => cancelAnimationFrame(frame);
114 โ }, [restoreSearch, tabActive, bottomSearch]);
ยท โโโโโโโฌโโโโโ
ยท โฐโโ Unnecessary dependency `bottomSearch`
115 โ const composeButton = nativeToolbarCompose ? (
โฐโโโโ
help: Extra dependencies can cause an effect to fire more often than it should, resulting in performance problems such as excessive renders and side effects
note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps
โ react(no-object-type-as-default-prop): Do not use an array literal as default prop value. Use a stable reference instead.
โญโ[apps/web/src/components/pullRequest/PullRequestListFilters.tsx:473:19]
472 โ onFilters,
473 โ authorOptions = [],
ยท โโ
474 โ labelOptions = [],
โฐโโโโ
help: Default values are re-created on every render and break referential equality, causing unnecessary re-renders. Move the value out of the component or memoize it.
โ react(no-object-type-as-default-prop): Do not use an array literal as default prop value. Use a stable reference instead.
โญโ[apps/web/src/components/pullRequest/PullRequestListFilters.tsx:474:18]
473 โ authorOptions = [],
474 โ labelOptions = [],
ยท โโ
475 โ optionScope,
โฐโโโโ
help: Default values are re-created on every render and break referential equality, causing unnecessary re-renders. Move the value out of the component or memoize it.
โ react(no-array-index-key): Usage of Array index in keys is not allowed
โญโ[apps/web/src/components/pullRequest/PullRequestSummaryTab.tsx:818:17]
817 โ <div
818 โ key={`${index}:${check.name}:${check.url ?? ""}`}
ยท โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
819 โ className="group flex items-center gap-2 rounded-md pr-1 hover:bg-accent/60"
โฐโโโโ
help: Use a unique data-dependent key to avoid unnecessary rerenders
โ unicorn(prefer-set-has): should be a `Set`, and use `.has()` to check existence or non-existence.
โญโ[apps/web/src/components/pullRequest/pullRequestList.logic.ts:262:9]
261 โ ): boolean {
262 โ const labels = entry.labels.map((label) => label.name.trim().toLowerCase());
ยท โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
263 โ const holds = (label: string) => labels.includes(label.trim().toLowerCase());
โฐโโโโ
help: Switch to `Set`
โ react(no-array-index-key): Usage of Array index in keys is not allowed
โญโ[apps/web/src/components/pullRequest/PullRequestChecksPopover.tsx:88:15]
87 โ <li
88 โ key={`${index}:${check.name}`}
ยท โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
89 โ className="col-span-full grid grid-cols-subgrid items-center text-xs"
โฐโโโโ
help: Use a unique data-dependent key to avoid unnecessary rerenders
Found 0 errors and 367 warnings in 5479 files (4.9s, 8 threads)
Post job cleanup.
Cache hit occurred on the primary key electron-Linux-X64-854e11ddd491bd4f350eebb67a74265df119376a3984c8e153cfe5fc8ced6309, not saving cache.
Post job cleanup.
##[start-action display=Cache full pnpm store;id=__4be11713-41dd-4453-85ab-d58f429d94be.__actions_cache]
Post job cleanup.
Cache hit occurred on the primary key pnpm-full-v1-Linux-X64-bab31c3827e90e1352d302da4c761fd1b91963ae565f5f0ea70972d0942af1f6, not saving cache.
##[end-action id=__4be11713-41dd-4453-85ab-d58f429d94be.__actions_cache;outcome=success;conclusion=success;duration_ms=97]
##[start-action display=Cache Vite+;id=__4be11713-41dd-4453-85ab-d58f429d94be.vp_cache]
Post job cleanup.
Cache hit occurred on the primary key vite-plus-home-v2-Linux-X64-1.3.0-node26.12.1-pnpm@12.14.0, not saving cache.
##[end-action id=__4be11713-41dd-4453-85ab-d58f429d94be.vp_cache;outcome=success;conclusion=success;duration_ms=68]
Post job cleanup.
[command]/usr/local/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/_work/_temp/68e0d71c-5b4a-4273-9b9d-5886456c6241' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/local/bin/git config --global --add safe.directory /home/runner/_work/t3code/t3code
Removing SSH command configuration
[command]/usr/local/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/local/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
fatal: No url found for submodule path '.repos/alchemy-effect/submodules/distilled' in .gitmodules
Warning: The process '/usr/local/bin/git' failed with exit code 128
A job completed hook has been configured by the self-hosted runner administrator
โธ Run '/job_completed.sh'
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 183
BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 366
BLACKSMITH_CHECK_RUN_ID: 120993907029
BLACKSMITH_JOB_DISPLAY_NAME: Lint
GITHUB_ACTIONS_CACHE_MODE: write
Docker container cache not activated, skipping hash computation.
No active SSH sessions detected. Proceeding with shutdown immediately.
Cleaning up orphan processes