清理废弃模块并完善测试基础设施
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"defaults": {
|
||||
"allowUnexpectedExit": false,
|
||||
"maxUnresponsiveSamples": 0,
|
||||
"maxAverageCpuPercent": null,
|
||||
"maxP95CpuPercent": null,
|
||||
"maxPrivateMemoryGrowthMB": null,
|
||||
"maxWorkingSetGrowthMB": null,
|
||||
"maxHandleGrowth": null,
|
||||
"maxThreadGrowth": null
|
||||
},
|
||||
"scenarios": {
|
||||
"idle-5m": {},
|
||||
"idle-10m": {},
|
||||
"hidden-5m": {},
|
||||
"ai-20-turns": {},
|
||||
"reminder-trigger": {},
|
||||
"weather-queries": {},
|
||||
"web-queries": {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"productionSourceRoots": [
|
||||
"src"
|
||||
],
|
||||
"productionExtensions": [
|
||||
".h",
|
||||
".cpp"
|
||||
],
|
||||
"productionCmakeFile": "CMakeLists.txt",
|
||||
"qaCmakeFile": "internal/qa/CMakeLists.txt",
|
||||
"qaTestRoots": [
|
||||
"internal/qa/tests"
|
||||
],
|
||||
"activeScanPaths": [
|
||||
"CMakeLists.txt",
|
||||
"main.cpp",
|
||||
"src"
|
||||
],
|
||||
"forbiddenReferences": [
|
||||
{
|
||||
"name": "removed module paths",
|
||||
"pattern": "src[\\\\/](?:fileops|launcher|workspace|search)[\\\\/]"
|
||||
},
|
||||
{
|
||||
"name": "removed module types",
|
||||
"pattern": "\\b(?:FileOperationManager|FileSandbox|AppLaunchManager|AppDiscovery|WorkspaceController|WorkspaceAgent|WorkspaceAgentWindow|WorkspacePanel|GlobalHotkeyManager|WebSearchManager|SearchAnswerSynthesizer)\\b"
|
||||
},
|
||||
{
|
||||
"name": "removed intent actions",
|
||||
"pattern": "\\b(?:UserIntentType|CommandDispatchAction)::(?:FileOperation|LaunchApp|Workspace|Search|UnsupportedTool)\\b"
|
||||
}
|
||||
],
|
||||
"forbidQObjectMacro": true,
|
||||
"requiredPaths": [
|
||||
"README.md",
|
||||
"LICENSE",
|
||||
"installer/QtDesktopPet.iss",
|
||||
"resources/characters/shiroko/character.json",
|
||||
"resources/characters/shiroko/preview.png",
|
||||
"resources/icons/app_icon.ico",
|
||||
"resources/sounds/reminders/reminder_default.wav",
|
||||
"tools/package_release.ps1",
|
||||
"tools/prepare_github_export.ps1"
|
||||
],
|
||||
"publicExportExcludedRoots": [
|
||||
"docs",
|
||||
"internal",
|
||||
"reports"
|
||||
],
|
||||
"releaseIsolationFiles": [
|
||||
"CMakeLists.txt",
|
||||
"tools/package_release.ps1"
|
||||
],
|
||||
"releaseForbiddenPatterns": [
|
||||
"internal/qa",
|
||||
"internal\\\\qa"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user