Files
nyaterm/scripts/ci/architecture_allowlist.json
T
Kang 97401bddac refactor(tests): update test imports for clarity and organization
- Replaced wildcard imports with explicit imports in test modules across multiple files, enhancing code readability and maintainability.
- This change improves the clarity of dependencies in test cases, making it easier to understand which components are being utilized in each test.
2026-09-01 12:04:42 +08:00

27 lines
3.2 KiB
JSON

{
"wildcard_super_import": [],
"desktop_feature_thread_spawn": [],
"desktop_thread_builder": [
{"path": "crates/nyaterm-desktop/src/blocking_jobs.rs", "max_count": 1, "reason": "BlockingJobScheduler owns and joins its bounded worker pool."},
{"path": "crates/nyaterm-desktop/src/lib.rs", "max_count": 1, "reason": "The one-shot i18n preload worker is joined before preload_i18n returns."},
{"path": "crates/nyaterm-desktop/src/thread_owner.rs", "max_count": 1, "reason": "The central named-thread factory returns join handles to explicit lifecycle owners."},
{"path": "crates/nyaterm-desktop/src/models/connections.rs", "max_count": 1, "reason": "CredentialAutofillMatchPipeline owns, stops, and joins its matcher worker."},
{"path": "crates/nyaterm-desktop/src/models/recording.rs", "max_count": 1, "reason": "RecordingWritePipeline owns, stops, and joins its writer worker."},
{"path": "crates/nyaterm-desktop/src/models/session_event_bridge.rs", "max_count": 1, "reason": "SessionEventBridge owns, signals, and joins its bridge worker."},
{"path": "crates/nyaterm-desktop/src/models/terminal/mod.rs", "max_count": 1, "reason": "TerminalFramePipeline owns, closes, and joins its frame worker."},
{"path": "crates/nyaterm-desktop/src/features/remote_desktop/keyboard_capture.rs", "max_count": 1, "reason": "Windows keyboard capture owns the hook thread, posts WM_QUIT, unhooks, and joins it."},
{"path": "crates/nyaterm-desktop/src/features/root.rs", "max_count": 1, "reason": "The ignored root-render benchmark joins its large-stack test thread."},
{"path": "crates/nyaterm-desktop/src/features/session/auth_runtime.rs", "max_count": 1, "reason": "The prompt broker test joins its named request thread."},
{"path": "crates/nyaterm-desktop/src/features/session/mod.rs", "max_count": 1, "reason": "SessionProtocolRuntimeState owns and joins multiplex disconnect workers."},
{"path": "crates/nyaterm-desktop/src/features/session/trzsz_runtime.rs", "max_count": 3, "reason": "Per-session trzsz state owns, stops, and joins prepare, upload, and download workers."},
{"path": "crates/nyaterm-desktop/src/features/session/zmodem_runtime.rs", "max_count": 1, "reason": "Per-session ZMODEM state owns, stops, and joins its transfer worker."},
{"path": "crates/nyaterm-desktop/src/features/transfers/external_sync_runtime.rs", "max_count": 2, "reason": "Transfer state owns and joins the external-editor watcher; its unit test also joins its fixture worker."}
],
"raw_scroll_container": [
{"path": "crates/nyaterm-desktop/src/features/layout/workspace/surface/tabs.rs", "max_count": 1, "reason": "Session tabs use a caller-owned scroll handle and attach a visible horizontal scrollbar to the non-scrolling parent."},
{"path": "crates/nyaterm-desktop/src/features/pages/transfers/browser/view.rs", "max_count": 1, "reason": "Browser uses a caller-owned horizontal scrollbar."},
{"path": "crates/nyaterm-desktop/src/features/transfers/remote_text_editor.rs", "max_count": 1, "reason": "Dedicated editor owns a manual scrollbar overlay."},
{"path": "crates/nyaterm-ui/src/widgets.rs", "max_count": 2, "reason": "Reusable widgets own caller-positioned scrollbar overlays."}
]
}