Commit Graph

2847 Commits

Author SHA1 Message Date
Mohamed Boudra
41529b68bd chore(lint): no-explicit-any in websocket-server.notifications.test 2026-04-24 05:23:27 +07:00
Mohamed Boudra
39a1d162ce chore(lint): no-explicit-any in session.workspace-git-watch.test 2026-04-24 05:22:18 +07:00
Mohamed Boudra
15528c8a14 chore(lint): no-shadow in app composer/message-input/e2e helpers 2026-04-24 05:21:20 +07:00
Mohamed Boudra
f03ccc3241 chore(lint): no-explicit-any in acp-agent.test 2026-04-24 05:20:28 +07:00
Mohamed Boudra
7d57ed9653 chore(lint): no-explicit-any in websocket-server.runtime-metrics.test 2026-04-24 05:19:12 +07:00
Mohamed Boudra
d1dc6259ca chore(lint): no-shadow in app test hoisted blocks 2026-04-24 05:18:07 +07:00
Mohamed Boudra
4deeac511c chore(lint): no-explicit-any in workspace-git-service.test 2026-04-24 05:16:52 +07:00
Mohamed Boudra
aaf0e5065e chore(lint): no-shadow in small app test/e2e files 2026-04-24 05:15:58 +07:00
Mohamed Boudra
b13725ea7a chore(lint): no-explicit-any in claude-agent.test 2026-04-24 05:14:41 +07:00
Mohamed Boudra
4af2ec614c chore(lint): no-shadow in small app files
Rename inner shadowing identifiers in:
- add-host-modal, agent-status-bar, sidebar-workspace-list, terminal-pane
- workspace-setup-dialog, session-context, use-is-local-daemon
- setup-panel, new-workspace-screen, workspace-desktop-tabs-row
2026-04-24 05:13:39 +07:00
Mohamed Boudra
a29df85de0 chore(lint): no-explicit-any in stt-manager/chat-mentions tests 2026-04-24 05:13:07 +07:00
Mohamed Boudra
d1dffd4435 chore(format): apply oxfmt to 3 server files 2026-04-24 05:10:08 +07:00
Mohamed Boudra
92261f4b56 chore(lint): no-shadow in composer callbacks 2026-04-24 05:09:57 +07:00
Mohamed Boudra
b51012689c chore(lint): no-shadow in use-dictation, hoist icons in splash screen 2026-04-24 05:03:43 +07:00
Mohamed Boudra
413ef0258b chore(lint): promise/always-return in app 2026-04-24 03:40:11 +07:00
Mohamed Boudra
b12f48abc7 chore(lint): parallelize Codex skills directory scan 2026-04-24 03:39:00 +07:00
Mohamed Boudra
0cbbda2236 chore(lint): parallelize script health monitor server cleanup 2026-04-24 03:37:53 +07:00
Mohamed Boudra
9a65dc7ab7 chore(lint): parallelize Claude session id fixture test 2026-04-24 03:36:51 +07:00
Mohamed Boudra
3946eabe8a chore(lint): parallelize dictation wav fixture search 2026-04-24 03:35:25 +07:00
Mohamed Boudra
b09ebfd6ba chore(lint): parallelize Codex rollout file search 2026-04-24 03:34:32 +07:00
Mohamed Boudra
cdce9f0fa5 chore(lint): parallelize bootstrap provider availability cleanup 2026-04-24 03:33:43 +07:00
Mohamed Boudra
2eed4a3f60 chore(lint): no-array-index-key in app 2026-04-24 03:32:57 +07:00
Mohamed Boudra
ee7a43726f chore(lint): parallelize agent storage record file probing 2026-04-24 03:32:21 +07:00
Mohamed Boudra
a5742d0c3c chore(lint): parallelize client and relay transport test cleanup 2026-04-24 03:31:19 +07:00
Mohamed Boudra
7742727078 chore(lint): parallelize executable PATH probing 2026-04-24 03:29:12 +07:00
Mohamed Boudra
edb071cb7b chore(lint): jsx-no-useless-fragment in app 2026-04-24 03:28:22 +07:00
Mohamed Boudra
d3a94e8cf2 chore(lint): parallelize script-health-monitor afterEach and spawns
Close all stub TCP servers concurrently and spawn typecheck/api
scripts via Promise.all to drop two no-await-in-loop warnings.
2026-04-24 03:25:32 +07:00
Mohamed Boudra
46731a51d0 chore(lint): prefer-add-event-listener in app 2026-04-24 03:24:57 +07:00
Mohamed Boudra
bc13256949 chore(lint): parallelize worktree bootstrap test cleanup and script spawn
Run terminal cleanup across managers and spawnWorkspaceScript for api
and web concurrently to eliminate no-await-in-loop warnings while
preserving semantics.
2026-04-24 03:24:36 +07:00
Mohamed Boudra
6fcc4c736b chore(lint): parallelize worktree terminal bootstrap
Start each bootstrap terminal concurrently via Promise.all. Since every
spec creates an independent terminal and returns a standalone result,
parallelization preserves order while removing two no-await-in-loop
warnings.
2026-04-24 03:23:45 +07:00
Mohamed Boudra
5ad911e00d chore(lint): no-unused-vars in app 2026-04-24 03:23:01 +07:00
Mohamed Boudra
75becbe138 chore(lint): parallelize rebase head-name lookup
Try both rebase backends (rebase-merge, rebase-apply) concurrently
via Promise.all and return the first non-null result.
2026-04-24 03:22:58 +07:00
Mohamed Boudra
e27de5e2c3 chore(lint): parallelize pending permission approvals
approvePendingPermissions now filters and records handled IDs in a
sync pass, then awaits all allowPermission calls concurrently instead
of looping awaits.
2026-04-24 03:22:09 +07:00
Mohamed Boudra
ec6a35b8cb chore(lint): mechanical cleanup in app (unused, shadow, nested-ternary)
Recovers in-flight edits from the app mechanical agent that couldn't be
pushed due to concurrent tree contention. Removes unused helpers and
locals, flattens nested ternaries, narrows a few props where unused.
2026-04-24 03:20:38 +07:00
Mohamed Boudra
28c6a38b3a chore(lint): parallelize test daemon cleanup rm calls
Run the paseoHomeRoot/staticDir removals concurrently in close() and
the startup catch block to fix no-await-in-loop.
2026-04-24 03:19:42 +07:00
Mohamed Boudra
97d9035371 chore(lint): parallelize workspace registry bootstrap upserts
Collect per-workspace upsert inputs in a sync pass, then run registry
writes via Promise.all to eliminate no-await-in-loop warnings.
2026-04-24 03:19:09 +07:00
Mohamed Boudra
7e16fd6b4d chore(lint): parallelize Linux watch directory traversal
Switch BFS to level-by-level Promise.all over readdir calls, replacing
the sequential pop/await loop that triggered no-await-in-loop.
2026-04-24 03:18:30 +07:00
Mohamed Boudra
316253aed6 chore(lint): parallelize Claude persisted agents lookup
Replace sequential parseClaudeSessionDescriptor loop with Promise.all
to fix no-await-in-loop warning.
2026-04-24 03:18:16 +07:00
Mohamed Boudra
01f3502935 chore(lint): extract helpers to satisfy max-depth in server 2026-04-24 03:17:44 +07:00
Mohamed Boudra
4df7e18821 chore(lint): flatten nested blocks to satisfy max-depth in server 2026-04-24 03:11:42 +07:00
Mohamed Boudra
45a6e7545b chore(lint): fix no-shadow and no-nested-ternary in server 2026-04-24 03:10:03 +07:00
Mohamed Boudra
32255cef9a chore(lint): add explicit returns in then() callbacks in server 2026-04-24 03:07:31 +07:00
Mohamed Boudra
eabaf3508e chore(lint): remove unused helpers and vars in server tests 2026-04-24 03:04:12 +07:00
Mohamed Boudra
f8f0240c7d chore(lint): remove unused vitest imports in server tests 2026-04-24 03:01:50 +07:00
Mohamed Boudra
4dffd079eb chore(lint): memoize inline styles in message components
Clears 5 react-perf/jsx-no-new-* warnings in message.tsx by memoizing
image source objects, extracting an AssistantMessageBlockContainer for
per-block spacing, and moving todo list item rendering into a
TodoListItemRow subcomponent so each row memoizes its own style arrays.
The remaining 8 warnings in react-native-markdown-display render rules
are inherent to that library's rule API.
2026-04-24 02:54:37 +07:00
Mohamed Boudra
e313bf5776 chore(lint): hoist test fixture arrays/objects
Clears 14 react-perf/jsx-no-new-* warnings across app test files by
hoisting constant fixtures to module scope or wrapping them in helper
factories so they no longer appear as inline JSX prop values.
2026-04-24 02:52:23 +07:00
Mohamed Boudra
2ee4955cbe chore(lint): memoize inline style objects in list/pane components
Clears 6 react-perf/jsx-no-new-object-as-prop warnings across
synced-loader, stream-strategy-web, sortable-inline-list, file-pane, and
both draggable-list platform variants by memoizing or hoisting their
inline style objects.
2026-04-24 02:48:55 +07:00
Mohamed Boudra
d50bf740ea chore(lint): memoize inline styles and objects in stream/status panes
Clears 10 react-perf/jsx-no-new warnings across welcome-screen,
file-explorer-pane, terminal-pane, agent-stream-view, and
agent-status-bar by extracting per-item subcomponents, hoisting constant
style tuples, and memoizing derived arrays/objects.
2026-04-24 02:45:53 +07:00
Mohamed Boudra
1a53673535 chore(lint): memoize inline styles in _layout
Fixes 3 react-perf/jsx-no-new-object-as-prop warnings in root layout by
memoizing the stack screen options, the agent screen override, and the
GestureHandlerRootView root style.
2026-04-24 02:41:57 +07:00
Mohamed Boudra
8a3129ff15 chore(lint): hoist inline arrays and objects in app (145 warnings)
- Hoist static style arrays/objects to module-level consts
- Memoize dynamic ones with useMemo and correct deps
- jsx-no-new-array-as-prop: 145 -> 43
- jsx-no-new-object-as-prop: 64 -> 21
2026-04-24 02:40:14 +07:00