feat(freight-rpa): 批次R解耦编排层并切换 onhand/inbound 契约
将 RPA 编排收编至 freight_rpa,回调迁 /api/freight-rpa/*。 共享目录与 Worker 契约一次切换至 onhand/inbound/upload, 并补 outbound 骨架与 tt16 排程 job key 迁移。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
bf3154033b
commit
ffc0d4a430
147 files changed
+4221
-2678
No files matched your search
@@ -74,7 +74,7 @@ function Stop-StaleHxopsPythonProcesses {
|
||||
[regex]::Escape((Join-Path $BackendPath "workers\worker_shipping_notice.py")),
|
||||
[regex]::Escape((Join-Path $BackendPath "workers\worker_scheduler.py")),
|
||||
[regex]::Escape((Join-Path $BackendPath "workers\worker_in_transit_transfer.py")),
|
||||
[regex]::Escape((Join-Path $RepoRoot "scripts\freight_rpa\inventory\inventory_rpa_worker.py"))
|
||||
[regex]::Escape((Join-Path $RepoRoot "scripts\freight_rpa\onhand\onhand_rpa_worker.py"))
|
||||
)
|
||||
# 说明:上面同时包含 backend/ 根目录的旧部署入口与 workers/ 目录的新单实例入口。
|
||||
# 两套在仓库中并存(旧路径用于生产多进程部署,新路径推荐用于本地 IDE 单实例调试)。
|
||||
@@ -480,7 +480,7 @@ function Start-FreightRpaWorkerWindow {
|
||||
-Title "freight-rpa-worker" `
|
||||
-WorkingDirectory $RepoRoot `
|
||||
-EnvPrefix $envPrefix `
|
||||
-Command "& '$BackendPath\.venv\Scripts\python.exe' .\scripts\freight_rpa\inventory\inventory_rpa_worker.py"
|
||||
-Command "& '$BackendPath\.venv\Scripts\python.exe' .\scripts\freight_rpa\onhand\onhand_rpa_worker.py"
|
||||
}
|
||||
|
||||
function Start-FrontendWindow {
|
||||
|
||||
Reference in new issue
Block a user