78 Commits
Author SHA1 Message Date
胡飞 1712e6ffe1 ci: sccache 安装失败时退化为无缓存构建,不再让 job 失败
mozilla-actions/sccache-action 从 GitHub Release CDN 下载 sccache 二进制失败
(CI run 35347089674 上连续两次 HTTP 504)会直接让整个 test job 变红,
Windows 测试根本没跑到,ci-gate 随之拦截合并。sccache 只是构建加速器,
不应成为测试或发布 job 的可用性依赖。

- Setup sccache 标记为 continue-on-error: true;该 action 的 post step 复用同一个
  Pipelines.ActionStep,因此继续性错误同样覆盖 post step 失败
- Initialize sccache 在 steps.sccache.outcome != 'success' 时输出 warning,并向
  GITHUB_ENV 写入空 RUSTC_WRAPPER,让后续 cargo 走无缓存构建;空值与 ci.yml
  中 windows-rdp-probe job 的 RUSTC_WRAPPER: "" 是同一语义
- 同步 release.yml 的同一段路径,避免发布 job 被同类瞬时故障打断
- script/test-release-packaging.mjs 的共享缓存策略契约补上 best-effort 断言,
  防止后续改动把这两个步骤改回硬依赖

验证:
- ruby -ryaml 解析两个 workflow:jobs 与步骤结构不变
- node --test script/test-release-packaging.mjs:26 passed / 0 failed
- cargo test -p windows_rdp_host --test contract:39 passed / 0 failed
- 变异验证:临时删掉 ci.yml 的 continue-on-error,共享缓存策略契约立即转红
- 本地 RUSTC_WRAPPER="" cargo check 正常,确认空值等价于不启用 wrapper
2026-09-19 00:10:02 +08:00
胡飞 224c8c62a6 test(release): 同步发布配置断言到 fat LTO / panic=abort / 180min
这三条断言在之前的发布 profile 改造后就没跟上,CI(ci.yml 会跑
`node --test script/test-release-packaging.mjs`)一直是红的:

- 超时:改为断言统一的 `timeout-minutes: 180`(原表达式已删除)
- Cargo.toml:`lto = "thin"`/`codegen-units = 16` → `lto = "fat"`/
  `codegen-units = 1`,并补 `panic = "abort"`
- Windows 构建:feature 已收进 `$features` 数组,改断言
  `"windows-native-rdp"`(原 `--features windows-native-rdp` 不再出现)

验证:node --test script/test-release-packaging.mjs 全绿。
2026-09-17 16:41:01 +08:00
user.email d548f07ab1 build: shell-plugins 进 main 的 default,四个发布产物统一带 Shell 页
`shell-plugins` 此前只在自建构建里开,于是 `crates/universal-plugins/src/
shell_plugin_host/**` 在默认构建、CI(`cargo test --all`)与发版里整段不参与
编译——改共享契约漏改构造点会静默通过(2026-09-15 给 `BindingContext` 加
`connection` 字段时就是这样漏的)。改为:

- `main` 的 `default` 追加 `shell-plugins`,于是 macOS/Linux(走 default)与
  Windows(`--features windows-native-rdp`,default 仍在)的发布产物都带上;
- portable Linux 用 `--no-default-features`,不继承 default,故显式写成
  `--features wasm-components,shell-plugins`;
- `crates/universal-plugins` 的 `default` 保持为空:该开关只关掉当前被选中包
  的 default,若给 crate 也设 default,`main --no-default-features` 会把 Shell
  页漏回来,feature 门失效。

`script/test-release-packaging.mjs` 里两处按字面量断言 default 行与 portable
命令,一并同步;`AGENTS.md` 那条 lesson 的验证方式改为「默认态与关闭态都必须
各跑一次」——漏编永远发生在没编到的那一侧。

验证:`cargo check -p main --locked` EXIT=0;关闭态 `--no-default-features
--features wasm-components,embedded-webview,windows-native-rdp` EXIT=0;
`node --test script/test-release-packaging.mjs` 26/26。
portable 目标本机无 zig/cargo-zigbuild,未预验证(该 job 现在要编 quickjs 的
C 源码,`quickjs-jit/sys/build.rs` 经 `cc` crate)。
2026-09-15 15:21:48 +08:00
user.email 0fda3ead6f merge: 同步上游 feigeCode/dev(已合并 PR #175)进本地 dev
以本地 dev 的未完成重构(资源工作台/表单引擎)为准解决冲突:
- 保留 dev 的 universal-plugins/connection_form 表单引擎与 resource-workbench 代码
- 保留 dev 内置 MQTT/TDengine 栈(mqtt_view/mqtt-runtime/taos/rumqttc)
- 恢复 dev 版本的核心存储、主程序与受影响的 crates
- 保留上游仅新增的迁移文件 20260828000001_middleware_extension_connections.sql
- 更新 workspace 依赖(mqtt-runtime/mqtt_view/taos/rumqttc)与 Cargo.lock
- cargo check --workspace 通过
2026-09-10 08:15:50 +08:00
user.email ee1f052cbc merge: 解决 PR #175 与 feigeCode/dev 的冲突并移除 .agent-teams
- 将 feigeCode/navop:dev(b8d90a629)合并入 PR 头,逐文件解决 21 处冲突
- 按 PR 意图移除内置中间件/TDengine 实现:删除 mqtt_view、middleware_form、
  navigation_quick_open、main 内 extension_connection_form(迁至 crates/universal-plugins)
- 保留 base 侧结构(universal-plugins crate、home 重构),融合 PR 的 SSH 隧道/
  统一凭据解析增强;crates/universal-plugins 与 main 全量 cargo check 通过
- 移除误提交的 .agent-teams 目录(共 8 个 JSONL/JSON 文件)
2026-09-09 23:24:51 +08:00
胡飞 d43f7e22b0 fix(ci): align release-packaging contract with universal-plugins feature and drop dead test helper
- test-release-packaging: shell-plugins optional deps moved into crates/universal-plugins; assert the new main feature forwarding there
- extension-runtime: remove unused append_executable_bytes (dead under -D warnings)
2026-09-09 18:19:01 +08:00
胡飞 cb723be834 perf(release): use parallel thin LTO builds 2026-09-05 08:04:37 +08:00
胡飞 6ce900ba55 fix(main): keep gpui shell out of default release builds 2026-09-05 05:10:32 +08:00
胡飞 a6786444e9 fix(ci): 合并 windows-rdp-probe 到 test job 并修复 CI 全红
- ci.yml: 删除独立 windows-rdp-probe job,probe 步骤并入 test job 的 Windows
  分支(保留 i686,先 rustup target add i686-pc-windows-msvc)
- contract.rs: 去掉已删除 build-windows-msi.yml 的断言,更新 ci.yml 结构断言
- test-release-packaging.mjs: main default features 断言补 builtin-mqtt
- 修复 -D warnings 下 unused imports/unused_mut 编译错误
2026-09-04 15:05:25 +08:00
胡飞 6bd63dc3a7 chore(workflow): 精简 GitHub workflows,发布链路改从 main 触发并加 PR 合并保护
- 删除废弃 workflow:build-windows-msi / build-windows-rdp-smoke /
  repair-release-assets / validate-linux-arm64-packages / validate-linux-x64-packages
- test-release-packaging.mjs 移除对 build-windows-msi 的引用,
  Windows MSI 校验改为以 release.yml 为准
- release-trigger.yml 与 release.yml 的 dispatch --ref 由 dev 改为 main(main=release)
- ci.yml 增加 CI gate 汇总 job,供 main 分支保护强制检查
- RELEASE.md 更新分支模型:dev=beta、main=release(PR 合并)
2026-09-04 11:01:13 +08:00
胡飞 dcfcddc8d1 feat(release): versioned public package names with win32 label, keep updater asset names 2026-08-24 17:37:57 +08:00
胡飞 a7676f6b1f feat(release): versioned public package names with win32 label, keep updater asset names 2026-08-24 17:37:57 +08:00
胡飞 51b57d9995 fix(release): 完善 R2 与 CNB 发布资产同步 2026-08-24 11:56:23 +08:00
胡飞 f299331272 fix(release): 完善 R2 与 CNB 发布资产同步 2026-08-24 11:56:23 +08:00
胡飞 1e50b59313 fix(windows): configure MSVC for native RDP builds 2026-08-19 00:19:19 +08:00
胡飞 a457f0cc3c fix(windows): configure MSVC for native RDP builds 2026-08-19 00:19:19 +08:00
胡飞 25a75d8984 fix(windows): include native RDP in app builds 2026-08-19 00:18:16 +08:00
胡飞 619796ea64 fix(windows): include native RDP in app builds 2026-08-19 00:18:16 +08:00
胡飞 73cf3bea38 fix(release): bundle Wayland runtime libraries 2026-08-15 11:33:52 +08:00
胡飞 cb7d68ff48 fix(release): bundle Wayland runtime libraries 2026-08-15 11:33:52 +08:00
胡飞 f4576839e8 fix(release): resolve usrmerge package ownership 2026-08-15 08:45:52 +08:00
胡飞 85fcda121c fix(release): resolve usrmerge package ownership 2026-08-15 08:45:52 +08:00
胡飞 082721ac0e fix(ci): check cargo-zigbuild version correctly 2026-08-15 00:37:39 +08:00
胡飞 603b89ebf1 fix(ci): check cargo-zigbuild version correctly 2026-08-15 00:37:39 +08:00
胡飞 02beac37a0 feat(release): add portable x64 Linux package 2026-08-14 23:35:14 +08:00
胡飞 e4922a47b0 feat(release): add portable x64 Linux package 2026-08-14 23:35:14 +08:00
胡飞 704932df72 feat(release): add portable ARM64 Linux package 2026-08-14 23:11:49 +08:00
胡飞 340942549c feat(release): add portable ARM64 Linux package 2026-08-14 23:11:49 +08:00
胡飞 37db429ea8 fix(release): support older ARM64 Linux runtimes 2026-08-14 16:04:30 +08:00
胡飞 3a43c5f089 fix(release): support older ARM64 Linux runtimes 2026-08-14 16:04:30 +08:00
胡飞 63ac372408 ci: add Windows x86 release packages 2026-08-04 20:25:24 +08:00
胡飞 a587f1c773 ci: add Windows x86 release packages 2026-08-04 20:25:24 +08:00
胡飞 27b1a39f24 fix(windows): mark MSI as bundle primary package 2026-08-03 17:34:34 +08:00
胡飞 972a80b2dc fix(windows): mark MSI as bundle primary package 2026-08-03 17:34:34 +08:00
胡飞 6496088518 fix(release): verify R2 overwrites and disable stale caching 2026-08-03 15:37:57 +08:00
胡飞 8a40fa5c01 fix(release): verify R2 overwrites and disable stale caching 2026-08-03 15:37:57 +08:00
胡飞 bf95dc74fe feat(release): add Windows EXE installer 2026-08-03 10:26:00 +08:00
胡飞 739e64ad84 feat(release): add Windows EXE installer 2026-08-03 10:26:00 +08:00
胡飞 d3904a045d feat(app): register terminal recording file associations 2026-07-28 09:50:08 +08:00
胡飞 3c542ffafb feat(app): register terminal recording file associations 2026-07-28 09:50:08 +08:00
胡飞 66b204b3b3 feat(core): 支持便携运行模式 2026-07-23 21:01:52 +08:00
胡飞 b0c39fc45a feat(core): 支持便携运行模式 2026-07-23 21:01:52 +08:00
胡飞 2cd3a834b1 ci: avoid duplicate release cache writers 2026-07-20 20:10:02 +08:00
胡飞 0f4aa23aa5 ci: avoid duplicate release cache writers 2026-07-20 20:10:02 +08:00
胡飞 6430f1e506 ci: build ARM Linux in release matrix 2026-07-20 09:39:24 +08:00
胡飞 699e22970a ci: build ARM Linux in release matrix 2026-07-20 09:39:24 +08:00
胡飞 45c19e7250 ci: unify Rust build caches 2026-07-20 09:12:43 +08:00
胡飞 c2a8d9dc5c ci: unify Rust build caches 2026-07-20 09:12:43 +08:00
胡飞 2824d6b7ab revert(ci): defer R2 compiler cache rollout 2026-07-19 17:11:06 +08:00
胡飞 8396c0f8a2 revert(ci): defer R2 compiler cache rollout 2026-07-19 17:11:06 +08:00