sky121113
|
4b8436e6c2
|
[REFACTOR] 移除 MQTT $SYS 監聽機制並優化 CI/CD 流程
1. 移除 MQTT Gateway 對 $SYS 系統主題的訂閱與解析邏輯,改由遺囑 (Last Will) 統一處理上下線狀態。
2. 更新 EMQX ACL 設定,移除 Gateway 的系統主題存取權限。
3. 優化 CI/CD 流程 (deploy-demo.yaml):將 EMQX 重啟改為熱重載 (Reload),並新增 MQTT Worker 自動重啟。
|
2026-04-22 13:33:42 +08:00 |
|
sky121113
|
bdc1c44c0f
|
fix(mqtt): persistent subscription permissions in acl.conf
|
2026-04-21 15:00:10 +08:00 |
|
sky121113
|
32bc13ac1b
|
[FIX] 修復 MQTT 監聽器與機台連線狀態同步邏輯
1. 補齊 ListenMqttQueue 中的 Job 類別引用,修復 mqtt-worker 崩潰重啟問題。
2. 實作 Go Gateway 的 Client ID 解析邏輯,正確將 SC_{serial}_{random} 格式還原為機台編號。
3. 修復 系統主題解析與 Laravel ProcessStatus Job 對齊,實現毫秒級連線狀態同步。
4. 在 ProcessStatus Job 中增加第二層 serial_no 清理保險,提高系統容錯。
5. 更新機台列表 UI 狀態顯示邏輯,支援 在線/斷線/故障 三態顯示與多語系。
6. 更新 MQTT 通訊規範 (Skill) 文件,確保全域開發定義的一致性。
7. 同步更新 zh_TW.json, en.json, ja.json 翻譯文件。
|
2026-04-21 12:38:42 +08:00 |
|
sky121113
|
9775c59996
|
fix: correct composer installer option --instdir to --install-dir
|
2026-04-16 16:50:11 +08:00 |
|
sky121113
|
5259f0ad84
|
fix: restore missing php extensions and fix dockerfile syntax
|
2026-04-16 16:19:13 +08:00 |
|
sky121113
|
77510a0118
|
fix: install composer in docker image
|
2026-04-16 16:16:04 +08:00 |
|
sky121113
|
79eb391c1f
|
fix: remove redundant npm self-upgrade and split global installs for stability
|
2026-04-16 16:04:32 +08:00 |
|
sky121113
|
7f1e3970e3
|
refactor: split Dockerfile RUN commands for better debugging and fix mirror switch logic
|
2026-04-16 15:55:49 +08:00 |
|
sky121113
|
5d4c9b018d
|
perf: switch all mirrors including security to Taiwan to eliminate build delays
|
2026-04-16 15:46:58 +08:00 |
|
sky121113
|
2c04a55bfb
|
perf: switch to Taiwan mirrors in Dockerfile to speed up build
|
2026-04-16 15:44:39 +08:00 |
|
sky121113
|
88c3678a4d
|
chore: 加入 Docker 8.5 Dockerfile 並恢復 deploy.yaml 原始版本
- 加入 docker/8.5 目錄(從 Laravel Sail 8.4 複製)
- 恢復 deploy.yaml 到原始版本
|
2026-01-13 11:04:58 +08:00 |
|