Skip to content

ci: split rust repo checks for cross-platform automation#2

Merged
laugh0608 merged 33 commits into
masterfrom
dev
Mar 29, 2026
Merged

ci: split rust repo checks for cross-platform automation#2
laugh0608 merged 33 commits into
masterfrom
dev

Conversation

@laugh0608

Copy link
Copy Markdown
Owner

将 RadishFlow 的仓库检查从单一 validate 收口为 Repo Hygiene 与 Rust Baseline 两个门禁,并把检查实现统一下沉到 Rust xtask。
本轮同时新增 .sh 包装脚本,保留 .ps1 作为 Windows 本地入口,使仓库检查不再依赖 PowerShell 独占,更适合后续 Linux/macOS runner、自动化构建与发布场景。

- 更改了 rf-store 项目文件与授权缓存索引的真实 JSON 读写入口
- 完善了 camelCase、RFC3339 时间串和统一相对路径序列化口径
- 修复了授权缓存索引写入嵌套目录时可能失败的问题
- 补齐了 schema/kind 校验与文件系统 round-trip 测试
- 同步了 rf-types / rf-model 的序列化能力和相关文档状态
- 更改了 PR Checks 的默认触发条件,只对指向 master 的 PR 自动执行
- 修复了 push 到 dev 会误触发 action 的 CI 配置问题
- 完善了 rf-store 的 schema migration dispatcher 入口与版本分发逻辑
- 补充了迁移相关测试和治理文档同步
- 补版本命名与发布轨道约定,冻结 CalVer tag 规则

- 将仓库检查工作流扩展到规范 tag push,并保持 dev push 不自动触发

- 在 rf-ui 中下沉 manifest、lease、offline refresh 与 audit usage DTO

- 同步认证授权架构文档、根 README 和周志
- 在 radishflow-studio 增加授权缓存同步桥接模块与单元测试

- 打通 AuthSessionState 和 EntitlementState 到 StoredAuthCacheIndex 的映射路径

- 补离线刷新请求构造、刷新结果回写和下载完成后的缓存索引更新

- 冻结应用壳层桥接职责,以及缓存包过期时间跟随授权租约的口径
- 修正文档中 rf-ui 和 radishflow-studio 仍是占位的滞后描述

- 更新 app 与 auth 架构文档中的下一步建议,移除已完成事项

- 调整 MVP 节奏文档,把下一步重点收口到缓存实体落盘和 provider 接线

- 补齐 rf-ui 控制面 DTO 的 schemaVersion 与 leaseRequired 字段

- 固定 remote evaluation manifest 的默认分类,避免契约语义继续漂移
- add stored manifest and payload DTOs with schema validation in rf-store

- expose rf-store read/write APIs and round-trip tests for local package files

- wire rf-thermo cached provider to auth cache index and local package files

- align architecture, scope, and devlog docs with the new cache chain
- add a single studio path that persists payload, manifest, and auth cache index

- move stored package consistency checks into rf-store DTOs for reuse

- validate cached provider loading against the first real example package

- align architecture, scope, and devlog docs with the landed cache flow
- add a studio-side download JSON protocol module and sample asset response

- map download payloads into StoredPropertyPackagePayload before cache persistence

- keep external download protocol out of rf-store and rf-thermo boundaries

- align architecture, scope, and devlog docs with the new mapping path
- 在 rf-store 中新增规范化 payload 摘要与大小校验

- 在 radishflow-studio 中新增下载获取抽象与事务式失败回滚

- 让 rf-thermo 本地缓存 provider 复用同一套摘要校验

- 对齐样例 manifest 与 architecture/scope/devlog 正式口径
- 在 studio 下载抽象中显式区分可重试和不可重试抓取错误

- 增加有限次重试策略,并保持摘要校验与落盘失败不参与重试

- 为重试成功、永久失败和重试耗尽补齐测试

- 同步 architecture、scope 与 devlog 的正式口径
- 在 studio 中新增 HTTP request/response 与 transport 端口

- 冻结常见 HTTP 状态码到既有下载失败分类的映射

- 保持重试策略继续只作用于既有可重试错误

- 为状态码映射、transport 错误映射和 content-type 校验补齐测试
- 在 radishflow-studio 中引入 reqwest + rustls 的 blocking 下载 transport
- 将真实 HTTP GET 请求接入既有 transport 端口与错误映射
- 增加本地环回测试并覆盖 Accept 与 User-Agent 请求头
- 补充 closed-port 网络失败冒烟测试
- 同步 architecture、scope 与 devlog 的正式口径
- add control plane HTTP client and reqwest transport in radishflow-studio

- orchestrate entitlement sync, lease requests, offline refresh, and package downloads

- cover protocol mapping and orchestration paths with unit and loopback tests

- align architecture, scope, and devlog docs with the new app-layer boundary
- split pull request validation from tag and manual validation

- keep master ruleset bound to the stable PR Checks / validate context

- align governance, versioning, and weekly log docs with the workflow split
- split PR and release workflows into Repo Hygiene and Rust Baseline jobs

- add a Rust xtask as the single implementation source for text and workspace validation

- expose matching .ps1 and .sh wrappers for Windows local use and Linux/macOS automation

- align rulesets, governance docs, README, and devlog with the new CI boundaries
@laugh0608 laugh0608 closed this Mar 29, 2026
@laugh0608 laugh0608 reopened this Mar 29, 2026
@laugh0608 laugh0608 merged commit 7ea1dd5 into master Mar 29, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant