ji ruo
07309e4530
feat(deploy,gateway): add dual-edition deployment/migration/rollback and TUN route reconciliation
- Add standalone edition (`Dockerfile.standalone`, `docker-compose.standalone.yml`) alongside sandbox edition and publish both in `.github/workflows/release.yml`.
- Implement `scripts/deploy-lib.sh`, `install.sh`, `update.sh`, and `scripts/artex-sandbox-firewall.sh --cleanup` with edition detection, legacy standalone -> sandbox migration (symlink-safe workspace permissions), automatic snapshots with pinned `artex-rollback/*` images + PG dump, auto/manual cross-edition rollback, and post-rollback upstream unpinning.
- Update `ensureWritableDir` in `internal/sandbox/manager.go` to safely migrate nested root-owned workspace files without following symlinks.
- Expose `deploy_edition` in `/api/update/check` and update `UpdateCard` UI/i18n warnings for sandbox vs standalone in-app update/rollback.
- Reconcile `artex-gateway` TUN policy routing (`priority 218`, `raw PREROUTING`, `nat POSTROUTING`, `DOCKER-USER`) every 15s to self-heal after host network rule flushes or bridge changes.
- Add unit and shell tests (`scripts/deploy_test.sh`, `cmd/artex-gateway/tun_linux_test.go`, `internal/sandbox/sandbox_test.go`, `server/update_test.go`) and update `README.md` / `.env.example`.
2026-12-02 13:31:05 +08:00
..
2026-11-26 00:54:12 +08:00
2026-11-26 00:54:12 +08:00
2026-12-02 02:51:36 +08:00
2026-08-31 11:22:34 -04:00
2026-09-11 11:59:46 -04:00
2026-10-07 07:45:28 -04:00
2026-12-02 02:51:36 +08:00
2026-10-27 13:07:09 +08:00
2026-11-10 16:28:23 +08:00
2026-11-10 20:12:16 +08:00
2026-07-26 04:27:45 -04:00
2026-12-02 02:51:36 +08:00
2026-10-19 15:09:17 +08:00
2026-10-19 08:57:50 +08:00
2026-10-09 23:50:05 +08:00
2026-10-31 16:23:28 +08:00
2026-08-24 11:55:50 -04:00
2026-11-10 20:03:14 +08:00
2026-11-10 20:03:14 +08:00
2026-08-24 19:29:00 +08:00
2026-08-28 14:03:07 +08:00
2026-08-24 14:14:15 +08:00
2026-09-10 16:06:08 +08:00
2026-12-01 21:13:21 +08:00
2026-08-24 19:31:16 +08:00
2026-11-26 00:54:12 +08:00
2026-11-26 00:54:12 +08:00
2026-11-27 15:20:52 +08:00
2026-12-01 21:13:21 +08:00
2026-12-02 02:51:36 +08:00
2026-12-02 02:51:36 +08:00
2026-12-02 02:51:36 +08:00
2026-11-05 16:00:07 +08:00
2026-11-11 19:13:38 +08:00
2026-11-11 18:56:33 +08:00
2026-11-11 14:07:39 +08:00
2026-09-10 10:49:11 -04:00
2026-08-24 19:28:18 +08:00
2026-11-11 14:07:39 +08:00
2026-11-11 15:20:58 +08:00
2026-11-23 18:28:50 +08:00
2026-10-26 09:36:03 +08:00
2026-11-19 17:26:51 +08:00
2026-11-19 17:26:51 +08:00
2026-12-01 21:13:21 +08:00
2026-11-11 14:14:37 +08:00
2026-11-26 00:54:28 +08:00
2026-11-26 00:54:28 +08:00
2026-10-09 10:43:53 +08:00
2026-11-26 00:54:28 +08:00
2026-11-26 00:54:28 +08:00
2026-11-27 15:06:07 +08:00
2026-10-30 12:19:43 +08:00
2026-09-10 16:06:08 +08:00
2026-09-10 16:06:08 +08:00
2026-10-29 01:25:32 +08:00
2026-09-11 00:54:51 +08:00
2026-09-10 10:15:24 -04:00
2026-11-26 00:54:12 +08:00
2026-11-26 00:54:12 +08:00
2026-11-09 16:11:15 +08:00
2026-11-23 18:20:33 +08:00
2026-11-11 15:20:58 +08:00
2026-10-27 14:25:36 +08:00
2026-11-02 15:45:28 +08:00
2026-12-02 02:51:36 +08:00
2026-12-02 02:51:36 +08:00
2026-11-23 18:24:43 +08:00
2026-08-24 14:14:15 +08:00
2026-08-24 19:29:00 +08:00
2026-11-11 14:07:39 +08:00
2026-11-03 14:56:39 +08:00
2026-11-11 19:13:38 +08:00
2026-08-24 19:29:00 +08:00
2026-08-24 19:29:00 +08:00
2026-11-26 00:54:12 +08:00
2026-10-20 11:16:04 +08:00
2026-09-16 22:36:07 +08:00
2026-10-31 18:16:49 +08:00
2026-09-15 23:51:37 +08:00
2026-11-26 00:54:26 +08:00
2026-09-15 23:51:37 +08:00
2026-10-12 11:06:38 +08:00
2026-11-26 00:54:26 +08:00
2026-11-03 15:53:24 +08:00
2026-08-24 19:28:18 +08:00
2026-08-24 19:28:18 +08:00
2026-08-25 09:40:05 -04:00
2026-09-09 13:35:04 -04:00
2026-09-10 10:49:11 -04:00
2026-07-26 04:27:45 -04:00
2026-08-24 19:29:00 +08:00
2026-11-19 17:26:51 +08:00
2026-12-02 02:51:36 +08:00
2026-11-14 14:32:39 +08:00
2026-11-14 14:32:39 +08:00
2026-11-27 15:31:16 +08:00
2026-11-14 14:32:39 +08:00
2026-12-01 21:13:21 +08:00
2026-12-02 02:51:36 +08:00
2026-08-11 10:56:39 -04:00
2026-10-01 06:43:29 -04:00
2026-10-01 06:43:29 -04:00
2026-09-30 16:25:06 +08:00
2026-12-01 21:13:21 +08:00
2026-07-26 04:27:45 -04:00
2026-09-15 00:56:16 +08:00
2026-11-10 20:03:14 +08:00
2026-11-10 20:03:14 +08:00
2026-08-24 14:14:15 +08:00
2026-10-31 19:30:38 +08:00
2026-11-05 16:00:07 +08:00
2026-11-02 17:57:19 +08:00
2026-11-05 16:00:07 +08:00
2026-12-02 02:51:36 +08:00
2026-10-19 09:58:32 +08:00
2026-10-24 21:46:03 +08:00
2026-11-23 18:17:45 +08:00
2026-11-23 18:17:45 +08:00
2026-10-15 14:53:33 +08:00
2026-12-02 02:51:36 +08:00
2026-12-01 21:13:21 +08:00
2026-12-01 21:13:21 +08:00
2026-10-09 23:05:44 +08:00
2026-10-10 09:16:28 +08:00
2026-11-27 15:31:16 +08:00
2026-12-02 02:51:36 +08:00
2026-10-31 11:18:45 +08:00
2026-10-31 11:18:45 +08:00
2026-10-19 08:50:06 +08:00
2026-08-24 19:30:14 +08:00
2026-08-31 11:37:44 -04:00
2026-09-11 11:37:56 -04:00
2026-11-20 17:00:24 +08:00
2026-11-20 17:00:24 +08:00
2026-11-27 15:20:52 +08:00
2026-11-27 15:20:52 +08:00
2026-11-27 15:20:52 +08:00
2026-11-27 15:20:52 +08:00
2026-11-27 15:20:52 +08:00
2026-08-24 14:14:15 +08:00
2026-11-27 14:31:52 +08:00
2026-11-27 14:31:52 +08:00
2026-08-28 12:56:29 +08:00
2026-09-11 00:54:51 +08:00
2026-10-29 16:20:11 +08:00
2026-08-24 19:29:14 +08:00
2026-08-24 09:16:44 -04:00
2026-08-24 09:16:44 -04:00
2026-08-24 19:29:00 +08:00
2026-11-27 15:31:16 +08:00
2026-08-24 19:29:00 +08:00
2026-11-11 14:14:37 +08:00
2026-11-11 14:14:37 +08:00
2026-12-02 02:51:36 +08:00
2026-11-27 14:47:47 +08:00
2026-11-02 15:45:28 +08:00
2026-11-19 17:26:51 +08:00
2026-11-19 17:26:51 +08:00
2026-11-27 15:31:16 +08:00
2026-08-24 14:14:15 +08:00
2026-10-27 13:37:43 +08:00
2026-11-11 14:07:39 +08:00
2026-08-24 19:29:46 +08:00
2026-10-24 22:31:54 +08:00
2026-07-26 04:27:45 -04:00
2026-08-25 12:05:26 +08:00
2026-08-25 12:05:26 +08:00
2026-10-24 21:46:03 +08:00
2026-12-02 02:51:36 +08:00
2026-09-12 09:26:38 -04:00
2026-08-09 02:19:29 -04:00
2026-10-15 15:44:55 +08:00
2026-12-02 13:31:05 +08:00
2026-12-02 13:31:05 +08:00
2026-12-02 13:31:05 +08:00
2026-07-26 04:27:45 -04:00
2026-07-26 04:27:45 -04:00
2026-08-31 09:00:21 -04:00
2026-11-19 17:26:51 +08:00
2026-12-01 21:13:21 +08:00