🧪 Complete isolated Linux cleanup recovery acceptance

Verify 36 cleanup tests and 12 native CLI/API scenarios using fresh build targets. Preserve the remaining full-workspace failure, reproduce pre-existing metadata recognition limits on the baseline, and document the authorized Colima recovery without deployment or device upgrades.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
eust-w 2026-10-29 20:16:18 +08:00
parent e14c27fc14
commit a3b0bfe29a
56 changed files with 5851 additions and 2 deletions

View File

@ -0,0 +1,137 @@
# drosync Linux 清理恢复补充验收
## 结论
**Linux 清理恢复专项已验收通过;全工作区仍有一个已在修复前源码复现的报告失败,不能标记为全绿。**
- 修复源码 `e14c27fc`:清理专项 **36/36** 通过,实际 CLI / daemon / Go API 清理链路 **12/12** 场景通过。
- 旧 API 拒绝后恢复文件,重启隔离 daemon,再切换新 API:**同一个 Session、无需再次 sync,直接重试成功**。
- 过期 proof 连续拒绝时仍保留文件;换成新鲜有效 proof 后,无需 sync 即可清理合格项。
- Linux 全工作区使用 `--no-fail-fast` 完整执行:**290 passed、1 failed、0 ignored**。失败是 `report_uses_upload_filters_and_requires_source_identity`,不是本次清理恢复测试。
- 在独立构建的修复前源码 `9fa582bc` 中,同一报告失败以及此前上传前置检查超时均已复现。没有删除、跳过失败测试、添加 sleep 或降低断言来获得通过。
本轮只补充验收和文档,**没有修改生产实现、部署新版本、升级设备或清理生产数据**。
## 环境恢复与测试范围
按用户明确授权执行 `colima restart --profile wishforge`,正常退出 0,使用已有虚拟机和数据盘,没有删除或重建 VM。恢复后及全部验收结束时,Docker 与 k3s 均为 `active`。这不代表逐一验收了所有业务 Pod。
| 项目 | 本轮配置 |
|---|---|
| 被测源码 | `e14c27fc1426f356c944f4fd3f0f55b48de4a488`;Cargo 声明版本 1.1.4 |
| 修复前对照 | `9fa582bc892a46843b7191f536883f6c9ce81b2c` |
| 系统 | Linux 6.8.0-117-generic,aarch64,Rust 1.90.0 / Bookworm 测试镜像 |
| Docker | `colima-wishforge`,引擎 29.5.2 |
| 隔离 | `--network=none`,无宿主目录挂载,2 CPU、4 GiB 内存上限,Cargo jobs=2 |
| 数据 | 新建临时采集文件、合成 token、独立 SQLite、MemoryStore、模拟存储 HEAD |
| 真实执行 | CLI、daemon、Unix socket、Go HTTP 路由与设备鉴权、清理 proof/租约逻辑及实际本地文件删除/恢复 |
| 模拟部分 | 上传规划与存储、初始回执种子化;没有连接真实 BOS/Mongo 或验证 Access Key 激活 |
只停止或结束本任务的测试进程;测试容器执行完毕后为 exited,保留在本地便于追溯。旧的测试容器和数据也保留,没有删除镜像、卷或 VM。未生成发行包,测试二进制没有安装到设备。
本结论限定为上述 **Linux arm64 容器**,不是 Ubuntu x86_64 采集机、Windows 或真实 BOS 的端到端验收。
## 构建可信度与证据选择
从固定提交导出源码,逐文件核对 100 个导出文件的内容与 SHA256,包括 workspace、测试驱动及跨语言 JSON 夹具。后续不对源码插入测试补丁。
第一次旧版对照使用共享 Cargo target,发现旧源码编译后的测试程序仍列出了新恢复用例;虽然源码读回正确,这组二进制身份不可信,**已排除该组对照结果,不用于基线归因**。
最终新旧版本分别使用全新的 `/work/current-fresh-target` 和 `/work/baseline-fresh-target`,关闭增量编译 `CARGO_INCREMENTAL=0`,离线锁定依赖,并核对实际测试用例列表:
- 新版包含恢复证明、原 Session 重试及回执事务的新用例。
- 旧版不包含上述新增用例;core 为 53 项、daemon lib 为 106 项,符合旧源码。
- 原生 CLI / daemon 从新版独立目录构建,重新执行全部 12 场景,不沿用前一轮程序。
- 两个 Go 测试 API 的二进制摘要单独记录。Linux API 测试程序未启用 Go race;不能引用此前 macOS 的 race 结果代替本轮。
最终验收结果只取 `fresh-results`,不把收集结果脚本的退出码 0 当作测试全绿;每条 Cargo 命令和测试程序的退出码分别保留在 [results.json](drosync-linux-acceptance-evidence-2026-10-29/results.json)。
## 1. 清理专项与真实命令验收
### 单元与恢复专项
| 范围 | 结果 |
|---|---:|
| core cleanup,包括 Linux 目录持久化、等长改写、恢复身份与检查点 | 17 passed |
| state cleanup,包括事务失败、旧回执与作用域变化、日志 CAS | 4 passed |
| daemon clean_service,包括原 Session 重试、重启、旧日志、替换与异常检查点 | 15 passed |
| 合计 | **36 passed,0 failed** |
这些是工作区测试的子集,不与全量 291 项重复相加。
### 实际 CLI / daemon / Go API
| 场景 | 验收结果 |
|---|---|
| completed | 2 个候选,执行删除 2 个;重复执行不重删。 |
| partial | 删除 2 个合格文件,保留 1 个 denied 历史归档。 |
| 混合 8 文件 | 删除 2 个合格项;failed、denied、缺 MD5、非法 MD5、缺来源绑定、内容变化共 6 项保留。 |
| 全 denied | 0 删除,拒绝项保留。 |
| 会话/权限门槛 | 不允许的本地/云端状态、preview、错 mapping、活动云端会话及身份不符被拒绝。 |
| 零字节 / 中文空格路径 | 合格文件按实际内容和回执正确处理。 |
| 隔离后持有写句柄等长改写 | 修改后的文件保留,其他合格项可清理。 |
| proof 过期后重试 | 无效 proof 不授权删除;恢复后换新 proof,原 Session 删除 2 个、保留 1 个,只发生最初的一次 sync。 |
| 云端缺 MD5 | 真实 Go API 拒绝,原内容保留。 |
| 清理后同名新文件 | 新文件不删除,也不误算 already-cleaned。 |
| 1003 文件分页 | 删除 1002 个、保留 1 个;账本 1002 条,明细上限/截断正确,重复执行无新删除。 |
| 旧 API 拒绝、重启、切换新 API | `requiresResyncAfterRestore=false`,`sameSessionDirectRetryAfterRestart=true`,原 Session 直接重试成功。 |
结果:**12/12 场景通过**,新旧 Go 测试服务退出码均为 0。没有在这次 Linux 场景中重新构建 1.1.1 旧客户端,因此不能将此前 macOS 的第 13 个旧客户端场景计入本轮。
独立后置检查核对了全部 **20 个最终保留文件**的实际字节,包含故障注入有意写入的新内容;所有场景都没有遗留 cleanup pending/in-progress 日志。关键场景的 sync 命令次数、删除账本和分页计数也重新核对,未用 resync 隐藏直接重试失败。
证据:[真实命令汇总](drosync-linux-acceptance-evidence-2026-10-29/cli-summary.json)、[独立后置检查](drosync-linux-acceptance-evidence-2026-10-29/cli-postconditions.json)、[旧 API / 重启 / 直接重试](drosync-linux-acceptance-evidence-2026-10-29/cli-old-api.json)、[过期 proof 恢复](drosync-linux-acceptance-evidence-2026-10-29/cli-expired-proof.json)。
## 2. 全量失败与修复前对照
### 最终可信构建结果
| 对象 | 结果 | 失败 |
|---|---|---|
| 新版全部 workspace,`--no-fail-fast` | **290 passed、1 failed** | `report_uses_upload_filters_and_requires_source_identity` |
| 修复前 core 全套 | **52 passed、1 failed** | 同一报告用例 |
| 修复前 daemon lib 全套 | **105 passed、1 failed** | `source_changed_after_scan_never_requests_upload` 两秒超时 |
为检查间歇性,在旧版独立构建上分别单独执行报告、上传、缓存用例各 5 次:报告用例 1 次失败;上传与缓存单独运行均 5 次通过。单独通过不能抹除完整套件中已经发生的失败,也不证明这些路径稳定。
`report.rs`、`core/lib.rs`、上传前置检查、对应原有测试在 `9fa582bc` 到 `e14c27fc` 之间没有修改。对照确认了**本次清理恢复补丁不是上述两个失败的引入点**,但不能据此将它们忽略为无害测试问题。
### 可确认的机制与证据边界
报告在 Unix 上匹配 `FileIdentity` 后通常不重复读取 MD5;上传前置的 `verify_snapshot` 同样先检查身份,随后才请求上传准备接口。身份包含 size、mtime、created、device、inode 和纳秒 ctime;字段以纳秒表示,并不保证每次写入产生不同值。
在相同内核/镜像的独立临时文件探针中,按与 `FileIdentity` 相同的字段逐项比较,确认内容已从 `AAAA` 变成 `BBBB`:
- 普通快速等长改写:500 次中 **485 次元数据完全相同**。
- 等长改写后恢复 mtime:500 次中 **474 次元数据完全相同**。
这是该测试环境下**真实存在的元数据识别盲区**,与报告错误计为完整、上传前置检查没有及时拒绝而进入网络重试的现象一致。探针不是完整应用验收,不能将其比例当作采集机现场发生率,不能据此声称发生了生产数据丢失;上传 timeout 的单次事件也没有抓取网络调用追踪来证明其唯一原因。
本次 clean 最终删除/恢复身份更新会额外读取完整 MD5;上述“元数据相同”不能替代 clean 的内容证明。已执行的清理修改/替换保护测试全部通过,但持续并发写入仍不是原子快照,操作前仍须停止写入者。
没有为使全量通过而修改报告、缓存、上传实现或测试。**报告/元数据识别问题仍待单独修复。**
代码位置:[报告回执匹配](../tools/drosync/crates/core/src/report.rs#L402)、[Unix 报告不重算哈希的调用](../tools/drosync/crates/core/src/report.rs#L1025)、[上传前置检查](../tools/drosync/crates/daemon/src/lib.rs#L260)、[失败的上传测试](../tools/drosync/crates/daemon/src/upload_tests.rs#L68)。
证据:[新版全工作区日志](drosync-linux-acceptance-evidence-2026-10-29/current-workspace.txt)、[旧版 core](drosync-linux-acceptance-evidence-2026-10-29/baseline-core.txt)、[旧版 daemon](drosync-linux-acceptance-evidence-2026-10-29/baseline-daemon.txt)、[各命令退出码](drosync-linux-acceptance-evidence-2026-10-29/results.json)、[元数据探针](drosync-linux-acceptance-evidence-2026-10-29/identity-probe.rs)、[探针输出](drosync-linux-acceptance-evidence-2026-10-29/identity-probe.txt)。
## 3. 可追溯性与复跑
- [环境与范围元数据](drosync-linux-acceptance-evidence-2026-10-29/metadata.json)
- [Docker 环境观测](drosync-linux-acceptance-evidence-2026-10-29/environment.json)
- [固定源码逐文件 SHA256](drosync-linux-acceptance-evidence-2026-10-29/source-sha256.json)
- [实际测试程序摘要与身份核验](drosync-linux-acceptance-evidence-2026-10-29/results.json)
- [新版本用例列表](drosync-linux-acceptance-evidence-2026-10-29/current-test-list.txt)
- [旧版本用例列表](drosync-linux-acceptance-evidence-2026-10-29/baseline-test-list.txt)
- [隔离检查 runner](drosync-linux-acceptance-evidence-2026-10-29/run-isolated-checks.sh)
- [证据文件 SHA256](drosync-linux-acceptance-evidence-2026-10-29/evidence-sha256.json)
runner 仅适用于已准备好离线依赖、固定新旧源码和 Go 测试二进制的隔离容器,使用 `/work` 内全新的 target/输出目录;不能当作生产服务启动或升级脚本。详细场景仍使用已有 [CLI 验收驱动](../scripts/drosync-partial-clean-acceptance.py)。大分页明细使用 `.json.gz` 归档,保留了原始结果;不归档 token、SQLite、采集文件、编译产物或本机运行配置。
例如在独立源码副本中,完整执行所有测试而不因第一个失败终止后续 crate:
```bash
cargo test --manifest-path tools/drosync/Cargo.toml --target-dir /absolute/new-target --locked --offline --workspace --no-fail-fast -- --test-threads=1
```
此轮没有打包/发布 CLI 或 daemon,未变更 Cargo 版本。现场仍需经过明确的发行与升级流程才能使用修复;本次未访问生产数据或尝试对现场执行清理。

View File

@ -71,7 +71,9 @@
- 内容改写、同内容替换、符号链接、作用域/最新回执变化、事务失败及异常恢复检查点的保护测试通过。异常检查点还必须符合原始文件的稳定身份,不能仅匹配另一份同内容文件。
- 1003 文件用例在并行 Linux 冷构建期间曾超过驱动的 300 秒时限;保持原时限单独复测整轮用时 **52.08 秒**并通过,随后最终 13 场景整轮也通过。初次失败证据保留,未放宽安全检查或超时门槛。
### Linux 未完成验收,不宣称全绿
### Linux 首次验收受阻(历史记录)
> 后续已按授权恢复 Docker 并完成 [Linux 补充验收](drosync-Linux清理恢复补充验收-2026-10-29.md):清理专项 36/36、真实命令场景 12/12 通过;全工作区 290 passed / 1 failed。失败报告用例及此前上传超时已在独立构建的修复前源码复现,仍不能宣称全量全绿。以下保留首次运行的失败和环境中断记录。
Linux 使用无网络、无用户数据挂载的 ARM64 测试容器。首次编译缺少仓库外层的跨语言 JSON 夹具,补齐后继续验证:
@ -81,7 +83,7 @@ Linux 使用无网络、无用户数据挂载的 ARM64 测试容器。首次编
- 后续管线经过清理专项检查并进入实际 CLI 构建,但 Docker/Colima 随后失去响应,最终报告 Docker daemon 不可连接。真实 Linux CLI 场景未完成,专项独立日志也未成功导出,因此不把它计作完整 Linux 验收。
- 仅尝试停止本任务测试容器;Docker daemon 不可连接,未确认停止结果。没有擅自重启共享 VM、Docker 或其他服务。测试容器为无网络且没有生产数据挂载的临时容器。
以上 Linux 全量失败和环境限制仍需后续核实;不能据 macOS 通过就宣称 Ubuntu 实机、Windows或真实 BOS 已通过验收。
上述环境阻塞已在后续授权重启后解除;Linux 清理链路已补验通过,报告/元数据识别问题仍待修复。补验仍限于 Linux ARM64 容器,不能宣称 Ubuntu x86_64 实机、Windows 或真实 BOS 已通过验收。
### 原始证据

View File

@ -0,0 +1,7 @@
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_core-ec1a06b5afb95a93)
running 1 test
test snapshot_tests::cache_skips_unchanged_content_and_rehashes_same_size_rewrite ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 52 filtered out; finished in 0.03s

View File

@ -0,0 +1,7 @@
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_core-ec1a06b5afb95a93)
running 1 test
test snapshot_tests::cache_skips_unchanged_content_and_rehashes_same_size_rewrite ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 52 filtered out; finished in 0.01s

View File

@ -0,0 +1,7 @@
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_core-ec1a06b5afb95a93)
running 1 test
test snapshot_tests::cache_skips_unchanged_content_and_rehashes_same_size_rewrite ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 52 filtered out; finished in 0.00s

View File

@ -0,0 +1,7 @@
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_core-ec1a06b5afb95a93)
running 1 test
test snapshot_tests::cache_skips_unchanged_content_and_rehashes_same_size_rewrite ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 52 filtered out; finished in 0.00s

View File

@ -0,0 +1,7 @@
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_core-ec1a06b5afb95a93)
running 1 test
test snapshot_tests::cache_skips_unchanged_content_and_rehashes_same_size_rewrite ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 52 filtered out; finished in 0.01s

View File

@ -0,0 +1,155 @@
Compiling proc-macro2 v1.0.107
Compiling quote v1.0.47
Compiling unicode-ident v1.0.24
Compiling bitflags v2.13.1
Compiling libc v0.2.189
Compiling cfg-if v1.0.4
Compiling syn v3.0.3
Compiling rustix v1.1.4
Compiling version_check v0.9.5
Compiling serde_core v1.0.229
Compiling linux-raw-sys v0.12.1
Compiling once_cell v1.21.4
Compiling generic-array v0.14.7
Compiling crossbeam-utils v0.8.22
Compiling io-lifetimes v2.0.4
Compiling io-lifetimes v3.0.1
Compiling crc32fast v1.5.0
Compiling syn v2.0.119
Compiling typenum v1.20.1
Compiling autocfg v1.5.1
Compiling log v0.4.33
Compiling simd-adler32 v0.3.10
Compiling crossbeam-epoch v0.9.20
Compiling io-extras v0.19.0
Compiling num-traits v0.2.19
Compiling zmij v1.0.23
Compiling serde v1.0.229
Compiling crossbeam-deque v0.8.7
Compiling inotify-sys v0.1.8
Compiling cap-primitives v4.0.3
Compiling getrandom v0.4.3
Compiling adler2 v2.0.1
Compiling thiserror v2.0.19
Compiling memchr v2.8.3
Compiling miniz_oxide v0.8.9
Compiling fs-set-times v0.20.3
Compiling rustix-linux-procfs v0.1.1
Compiling serde_derive v1.0.229
Compiling thiserror-impl v2.0.19
Compiling cap-std v4.0.3
Compiling rayon-core v1.13.0
Compiling ambient-authority v0.0.2
Compiling zip v2.4.2
Compiling hashbrown v0.17.1
Compiling serde_json v1.0.151
Compiling bumpalo v3.20.3
Compiling equivalent v1.0.2
Compiling ipnet v2.12.0
Compiling maybe-owned v0.3.4
Compiling zopfli v0.8.3
Compiling indexmap v2.14.0
Compiling flate2 v1.1.9
Compiling displaydoc v0.2.6
Compiling block-buffer v0.10.4
Compiling crypto-common v0.1.7
Compiling cap-fs-ext v4.0.3
Compiling iana-time-zone v0.1.65
Compiling itoa v1.0.18
Compiling same-file v1.0.6
Compiling walkdir v2.5.0
Compiling chrono v0.4.45
Compiling digest v0.10.7
Compiling inotify v0.11.4
Compiling tracing-attributes v0.1.31
Compiling mio v1.2.2
Compiling tracing-core v0.1.36
Compiling notify-types v2.1.0
Compiling either v1.17.0
Compiling pin-project-lite v0.2.17
Compiling rayon v1.12.0
Compiling tracing v0.1.44
Compiling notify v8.2.0
Compiling drosync-protocol v1.1.4 (/work/baseline/tools/drosync/crates/protocol)
Compiling md-5 v0.10.6
Compiling rust_xlsxwriter v0.80.0
Compiling uuid v1.24.0
Compiling fastrand v2.5.0
Compiling base64 v0.22.1
Compiling tempfile v3.27.0
Compiling drosync-core v1.1.4 (/work/baseline/tools/drosync/crates/core)
Finished `test` profile [unoptimized + debuginfo] target(s) in 28.75s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_core-ec1a06b5afb95a93)
running 53 tests
test cleanup::linux_durability_tests::directory_sync_keeps_the_open_capability_after_parent_path_replacement ... ok
test cleanup::linux_durability_tests::directory_sync_reopens_an_actual_o_path_capability ... ok
test cleanup::linux_durability_tests::persisted_recovery_restores_payload_and_finishes_an_already_restored_file ... ok
test cleanup::linux_durability_tests::zero_and_nonzero_nested_files_complete_durable_cleanup ... ok
test cleanup::race_tests::final_authorization_rejection_retains_verified_payload ... ok
test cleanup::race_tests::final_hash_rejects_same_size_change_even_when_identity_matches ... ok
test cleanup::race_tests::replaced_before_quarantine_is_never_moved ... ok
test cleanup::race_tests::writer_mutation_after_hash_is_retained_for_recovery ... ok
test cleanup::tests::changed_or_traversal_candidates_fail_closed ... ok
test cleanup::tests::clean_requires_content_identity_and_never_deletes_new_source ... ok
test cleanup::tests::crash_after_rename_does_not_authorize_delete ... ok
test cleanup::tests::preview_is_read_only_and_checks_actual_hash ... ok
test cleanup::tests::recovery_restores_without_overwriting_new_data ... ok
test cleanup::tests::symlink_parent_and_file_are_not_followed ... ok
test report::date_contract_tests::report_dates_are_calendar_dates_never_paths_or_prefixes ... ok
test report::tests::absent_file_details_keep_cleanup_and_historical_receipts_distinct ... ok
test report::tests::archived_hash_conflict_is_visible_and_never_completed ... ok
test report::tests::cleaned_batches_are_distinct_from_missing_even_after_empty_directory_removal ... ok
test report::tests::episode_details_match_receipts_and_date_without_false_completion ... ok
test report::tests::file_states_are_exclusive_and_commit_wait_is_not_completed ... ok
test report::tests::missing_pending_sources_are_counted_and_filterable_before_remote_ack ... ok
test report::tests::nested_episode_directory_belongs_to_outer_batch_and_pages_each_file_once ... ok
test report::tests::pending_files_distinguish_stability_marker_and_upload_queue ... ok
test report::tests::recreated_source_outranks_its_old_cleanup_path_without_double_counting ... ok
test report::tests::report_excludes_root_daily_report_but_preserves_nested_payloads ... ok
test report::tests::report_uses_upload_filters_and_requires_source_identity ... FAILED
test report::tests::summary_query_does_not_retain_full_day_file_rows ... ok
test report::tests::test_format_size ... ok
test report::tests::test_remote_prefix_matching ... ok
test report::tests::test_scan_and_export_lifecycle ... ok
test report::tests::thousand_file_episode_has_exact_missing_path_and_bounded_pages ... ok
test report::tests::unfinished_marker_file_is_counted_and_cannot_make_episode_complete ... ok
test report::tests::unreadable_episode_fails_the_report_instead_of_hiding_missing_data ... ok
test report::tests::weak_metadata_requires_streaming_content_verification ... ok
test runtime_scan_tests::changed_existing_source_and_other_io_errors_are_not_missing ... ok
test runtime_scan_tests::cleanup_quarantine_is_always_excluded_even_when_hidden_files_are_enabled ... ok
test runtime_scan_tests::configured_hash_workers_are_shared_and_invalid_limits_rejected ... ok
test runtime_scan_tests::disappeared_candidate_does_not_abort_remaining_scan_files ... ok
test runtime_scan_tests::missing_and_cancelled_hashes_are_not_logged_as_fatal_scan_errors ... ok
test runtime_scan_tests::non_missing_scan_failures_are_not_silently_skipped ... ok
test runtime_scan_tests::root_walk_and_marker_diagnostics_keep_original_selection_behavior ... ok
test runtime_scan_tests::scan_error_events_preserve_cache_read_and_sink_error_types_and_paths ... ok
test runtime_scan_tests::source_unlinked_while_reading_is_a_missing_file_not_changed_content ... ok
test scan_progress::tests::concurrent_bytes_and_failed_guard_are_not_success_receipts ... ok
test snapshot_tests::cache_skips_unchanged_content_and_rehashes_same_size_rewrite ... ok
test snapshot_tests::scan_digest_and_identity_bind_the_same_bytes_and_done_is_not_payload ... ok
test snapshot_tests::young_files_request_a_follow_up_scan_even_when_events_stop ... ok
test tests::bucket_mapping_defers_space_resolution_to_the_authenticated_daemon ... ok
test tests::paged_scan_bounds_each_emitted_batch ... ok
test tests::real_hash_progress_counts_processed_bytes_and_clears_on_error ... ok
test tests::relative_path_rejects_escape_and_control_characters ... ok
test tests::scan_excludes_root_daily_report_but_preserves_business_files ... ok
test tests::scan_skips_hidden_symlink_and_temporary_files ... ok
failures:
---- report::tests::report_uses_upload_filters_and_requires_source_identity stdout ----
thread 'report::tests::report_uses_upload_filters_and_requires_source_identity' panicked at crates/core/src/report.rs:2815:9:
assertion `left == right` failed: same-size edits must invalidate the receipt
left: 1
right: 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
report::tests::report_uses_upload_filters_and_requires_source_identity
test result: FAILED. 52 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s
error: test failed, to rerun pass `-p drosync-core --lib`

View File

@ -0,0 +1,254 @@
Compiling syn v2.0.119
Compiling log v0.4.33
Compiling shlex v2.0.1
Compiling stable_deref_trait v1.2.1
Compiling find-msvc-tools v0.1.9
Compiling cc v1.4.0
Compiling mio v1.2.2
Compiling bytes v1.12.1
Compiling smallvec v1.15.2
Compiling futures-core v0.3.33
Compiling synstructure v0.13.2
Compiling errno v0.3.14
Compiling signal-hook-registry v1.4.8
Compiling socket2 v0.6.5
Compiling writeable v0.6.3
Compiling zeroize v1.9.0
Compiling zerofrom-derive v0.1.7
Compiling displaydoc v0.2.6
Compiling yoke-derive v0.8.2
Compiling zerofrom v0.1.8
Compiling zerovec-derive v0.11.3
Compiling yoke v0.8.3
Compiling tokio-macros v2.7.1
Compiling zerovec v0.11.6
Compiling tinystr v0.8.3
Compiling litemap v0.8.2
Compiling tokio v1.53.1
Compiling icu_locale_core v2.2.0
Compiling potential_utf v0.1.5
Compiling zerotrie v0.2.4
Compiling ring v0.17.14
Compiling tracing-core v0.1.36
Compiling utf8_iter v1.0.4
Compiling icu_properties_data v2.2.0
Compiling icu_normalizer_data v2.2.0
Compiling icu_collections v2.2.0
Compiling icu_provider v2.2.0
Compiling tracing-attributes v0.1.31
Compiling http v1.4.2
Compiling percent-encoding v2.3.2
Compiling tracing v0.1.44
Compiling http-body v1.1.0
Compiling rustls-pki-types v1.15.1
Compiling getrandom v0.2.17
Compiling slab v0.4.12
Compiling untrusted v0.9.0
Compiling subtle v2.6.1
Compiling futures-task v0.3.33
Compiling httparse v1.10.1
Compiling futures-util v0.3.33
Compiling icu_properties v2.2.0
Compiling icu_normalizer v2.2.0
Compiling try-lock v0.2.5
Compiling rustls v0.23.42
Compiling tower-service v0.3.3
Compiling want v0.3.1
Compiling idna_adapter v1.2.2
Compiling rustls-webpki v0.103.13
Compiling form_urlencoded v1.2.2
Compiling futures-channel v0.3.33
Compiling atomic-waker v1.1.2
Compiling semver v1.0.28
Compiling rustc_version v0.4.1
Compiling zopfli v0.8.3
Compiling hyper v1.11.0
Compiling idna v1.1.0
Compiling sync_wrapper v1.0.2
Compiling pkg-config v0.3.33
Compiling vcpkg v0.2.15
Compiling tower-layer v0.3.3
Compiling tower v0.5.3
Compiling libsqlite3-sys v0.36.0
Compiling tokio-rustls v0.26.4
Compiling zip v2.4.2
Compiling url v2.5.8
Compiling hyper-util v0.1.20
Compiling curve25519-dalek v4.1.3
Compiling webpki-roots v1.0.9
Compiling option-ext v0.2.0
Compiling foldhash v0.2.0
Compiling futures-sink v0.3.33
Compiling ryu v1.0.23
Compiling hyper-rustls v0.27.9
Compiling serde_urlencoded v0.7.1
Compiling tokio-util v0.7.19
Compiling hashbrown v0.16.1
Compiling dirs-sys v0.5.0
Compiling notify v8.2.0
Compiling tower-http v0.6.11
Compiling rust_xlsxwriter v0.80.0
Compiling http-body-util v0.1.4
Compiling cpufeatures v0.2.17
Compiling signature v2.2.0
Compiling regex-syntax v0.8.11
Compiling regex-automata v0.4.16
Compiling ed25519 v2.2.3
Compiling sha2 v0.10.9
Compiling reqwest v0.12.28
Compiling drosync-core v1.1.4 (/work/baseline/tools/drosync/crates/core)
Compiling directories v6.0.0
Compiling hashlink v0.11.1
Compiling fallible-streaming-iterator v0.1.9
Compiling fallible-iterator v0.3.0
Compiling lazy_static v1.5.0
Compiling anyhow v1.0.104
Compiling sharded-slab v0.1.7
Compiling rusqlite v0.38.0
Compiling drosync-platform v1.1.4 (/work/baseline/tools/drosync/crates/platform)
warning: unused variable: `profile`
--> crates/platform/src/lib.rs:578:28
|
578 | pub fn credential_location(profile: &str) -> Result<CredentialLocation, PlatformError> {
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
|
= note: `#[warn(unused_variables)]` on by default
warning: `drosync-platform` (lib) generated 1 warning
Compiling ed25519-dalek v2.2.0
Compiling matchers v0.2.0
Compiling tracing-log v0.2.0
Compiling thread_local v1.1.10
Compiling nu-ansi-term v0.50.3
Compiling hex v0.4.3
Compiling drosync-updater v1.1.4 (/work/baseline/tools/drosync/crates/updater)
Compiling tracing-subscriber v0.3.23
Compiling drosync-state v1.1.4 (/work/baseline/tools/drosync/crates/state)
Compiling drosync-transfer v1.1.4 (/work/baseline/tools/drosync/crates/transfer)
Compiling drosync-daemon v1.1.4 (/work/baseline/tools/drosync/crates/daemon)
Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 01s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_daemon-3e4663fcccda1842)
running 106 tests
test clean_service::tests::clean_dry_run_does_not_move_or_delete_source ... ok
test clean_service::tests::clean_execute_keeps_new_source_and_records_completion ... ok
test clean_service::tests::clean_full_session_rechecks_cloud_eligibility_and_activity ... ok
test clean_service::tests::clean_old_receipt_without_source_identity_fails_closed ... ok
test clean_service::tests::clean_preserves_conflicting_quarantine_and_reports_recovery ... ok
test clean_service::tests::clean_refuses_ineligible_sessions_active_work_overlap_and_installation ... ok
test clean_service::tests::clean_rejected_cloud_proof_restores_source ... ok
test clean_service::tests::clean_wrong_device_proof_restores_source ... ok
test clean_service::tests::cleanup_proof_expiry_is_monotonic_despite_clock_skew ... ok
test clean_service::tests::completed_and_partial_clean_only_verified_files_in_mixed_sessions ... ok
test clean_service::tests::durable_cleanup_recovery_blocks_sync_install_and_mapping_removal ... ok
test clean_service::tests::partial_receipt_refresh_enables_completed_clean_preview_without_deletion ... ok
test clean_service::tests::restart_recovers_deleted_receipt_but_never_executes_a_pending_delete ... ok
test closure_tests::capture_must_exclude_daemon_state_and_explicit_credential_file ... ok
test closure_tests::closure_rejects_parent_prefix_before_contacting_server ... ok
test closure_tests::closure_rejects_regular_file_mapping_before_contacting_server ... ok
test closure_tests::mapping_grants_require_enabled_space_actions_and_relative_scope ... ok
test commit_tests::commit_wait_downloads_details_only_once_when_finished ... ok
test commit_tests::commit_wait_stops_on_remote_abort_without_completing_session ... ok
test entry_tests::retired_ipc_entries_do_not_execute ... ok
test entry_tests::update_check_rejects_unsigned_metadata_without_download_or_installer_state ... ok
test entry_tests::update_policy_actions_are_separate_from_upload_pause ... ok
test ipc_error::tests::api_request_id_and_typed_retryability_cross_the_real_transfer_boundary ... ok
test ipc_error::tests::api_retry_hints_are_kept_without_reclassifying_permanent_failures ... ok
test journal_contract_tests::current_journal_has_a_single_versioned_shape ... ok
test lifecycle_tests::definitive_create_rejection_leaves_mapping_removable ... ok
test lifecycle_tests::legacy_pending_uses_cloud_discovery_and_preserves_failed_recovery ... ok
test lifecycle_tests::paused_preview_is_closed_and_cannot_replace_verified_receipts ... ok
test lifecycle_tests::recovered_remote_terminal_cleans_scan_rows_before_new_sync ... ok
test lifecycle_tests::unknown_create_outcome_preserves_and_replays_the_original_request ... ok
test logging_tests::concurrent_logs_keep_context_and_separate_work_from_wall_time ... ok
test logging_tests::daemon_protocol_uses_shared_constant ... ok
test logging_tests::paused_preflight_gets_one_summary_and_phase_drop_logs_interruption ... ok
test logging_tests::run_id_annotation_preserves_existing_failure_phase_and_metadata ... ok
test logging_tests::summary_is_emitted_once_even_when_shutdown_and_drop_both_try ... ok
test metadata_service::item_refresh_tests::failed_item_refresh_has_its_own_phase_and_api_request_id ... ok
test metadata_service::item_refresh_tests::status_explains_in_flight_item_refresh_and_records_response_metrics ... ok
test metadata_tests::commit_deadline_is_retryable_and_keeps_session_for_recovery ... ok
test metadata_tests::completed_checkpoint_is_reused_and_manifest_count_mismatch_fails_closed ... ok
test metadata_tests::durable_upload_queue_does_not_skip_work_when_resuming_cursor ... ok
test metadata_tests::final_metadata_budget_is_independent_of_commit_deadline ... ok
test metadata_tests::frozen_details_reject_invalid_page_without_advancing_checkpoint ... ok
test metadata_tests::heartbeat_completion_race_confirms_status_and_stops_only_that_lease ... ok
test metadata_tests::heartbeat_suppression_never_hides_other_errors_or_an_active_session ... ok
test metadata_tests::in_flight_metadata_exposes_phase_cursor_and_started_time_before_response ... ok
test metadata_tests::lease_ticks_do_not_interrupt_final_metadata_in_flight ... ok
test metadata_tests::metadata_deadline_is_retryable_and_does_not_publish_local_completion ... ok
test metadata_tests::missing_remote_session_cleanup_failure_preserves_atomic_recovery_state ... ok
test metadata_tests::page_failure_recovery_should_not_redownload_saved_page ... ok
test metadata_tests::progress_failure_rolls_back_page_and_cursor_then_resumes_from_last_atomic_page ... ok
test progress_tracker::tests::restored_bytes_are_not_counted_as_current_network_speed ... ok
test progress_tracker::tests::sampled_progress_retry_reset_and_final_receipt_never_race ... ok
test progress_tracker::tests::server_ack_before_commit_has_full_bytes_without_network_rate ... ok
test query_service::tests::conflicts_reach_every_record_and_cursor_stays_bound_to_session ... ok
test query_service::tests::doctor_verifies_identity_protocol_features_schema_and_upload_grant ... ok
test query_service::tests::query_rejects_invalid_flags_and_does_not_rewrite_cloud_session_status ... ok
test retry_tests::nonretryable_failure_preserves_events_but_does_not_invent_retry_work ... ok
test retry_tests::stage_deadline_requeues_without_any_new_file_event ... ok
test run_diagnostics::tests::deadline_ipc_and_persisted_status_retain_retryable_phase_and_ids ... ok
test run_diagnostics::tests::malformed_diagnostics_never_replace_original_transfer_failure ... ok
test run_diagnostics::tests::progress_merge_survives_phase_changes_and_new_sessions_reset_counters ... ok
test run_diagnostics::tests::stopped_run_clears_in_flight_requests_even_when_future_completion_was_dropped ... ok
test run_diagnostics::tests::terminal_state_keeps_actual_phase_and_last_failure_but_clears_current_error ... ok
test source_protection::tests::blocked_log_ancestors_still_protect_capture_and_symlink_targets ... ok
test source_protection::tests::relative_configuration_source_resolves_from_working_directory ... ok
test source_protection::tests::rotating_log_symlink_inside_capture_cannot_escape_protection ... ok
test source_protection::tests::sensitive_files_and_future_rotating_logs_cannot_be_captured ... ok
test source_protection::tests::symlinked_parent_of_future_secret_is_protected ... ok
test source_protection::tests::unavailable_log_parent_outside_capture_does_not_block_fallback_sync ... ok
test tests::bucket_resolution_fails_closed_for_missing_or_ambiguous_space ... ok
test tests::bucket_resolves_only_when_scoped_space_is_unique ... ok
test tests::item_abortable_error_detects_missing_file_and_conflict ... ok
test tests::multipart_part_size_never_exceeds_five_gib ... ok
test tests::one_tib_object_fits_bos_multipart_limits ... ok
test tests::watcher_ignores_reads_but_tracks_content_changes ... ok
test update_service::tests::awaiting_reboot_cannot_be_reauthorized_or_rolled_back_again ... ok
test update_service::tests::confirmed_ready_target_rotates_receipts_and_unlocks_in_one_transaction ... ok
test update_service::tests::installer_has_not_finished_even_if_target_files_are_already_ready ... ok
test update_service::tests::metadata_check_independently_rejects_tampering_and_incompatible_offers ... ok
test update_service::tests::reboot_and_live_build_evidence_are_required_before_confirmation ... ok
test update_service::tests::recovery_preserves_history_and_blocks_automatic_reupgrade ... ok
test upload_tests::actual_body_observer_reports_bytes_and_validates_before_success ... ok
test upload_tests::actual_upload_body_must_match_scanned_part_digest ... ok
test upload_tests::already_uploaded_object_can_commit_after_local_source_is_removed ... ok
test upload_tests::cancelling_unrequested_creation_never_contacts_control_plane ... ok
test upload_tests::commit_and_receipt_persistence_failures_keep_original_api_error_and_secondary_context ... ok
test upload_tests::configured_global_file_limit_across_mappings ... ok
test upload_tests::control_rate_limit_honors_retry_after_and_reuses_key ... ok
test upload_tests::direct_precondition_failure_recovers_owned_matching_object ... ok
test upload_tests::direct_precondition_failure_with_mismatching_metadata_sends_one_put ... ok
test upload_tests::equivalent_mapping_is_rejected_even_with_new_id ... ok
test upload_tests::failed_presigned_request_does_not_log_authorization_query ... ok
test upload_tests::lost_complete_response_replays_complete_without_reuploading ... ok
test upload_tests::lost_direct_response_with_definitive_conflict_does_not_retransmit ... ok
test upload_tests::lost_put_response_confirms_owned_object_without_reuploading ... ok
test upload_tests::manual_metadata_failure_is_written_to_the_daemon_log ... ok
test upload_tests::missing_local_source_never_aborts_an_uploaded_object_after_commit_outage ... ok
test upload_tests::missing_source_is_skipped_and_completed_cloud_data_is_preserved ... ok
test upload_tests::multipart_workers_fill_four_slots_and_checkpoint_all_parts ... ok
test upload_tests::rejected_commit_logs_file_error_and_stops_live_progress_without_aborting_cloud_data ... ok
test upload_tests::resumed_item_state_requests_overlap_instead_of_blocking_queue_dispatch ... ok
test upload_tests::server_upgrade_capability_is_required_without_legacy_fallback ... ok
test upload_tests::source_changed_after_scan_never_requests_upload ... FAILED
test upload_tests::temp_events_do_not_starve_stable_captures_but_done_wakes_source ... ok
test upload_tests::transient_direct_put_statuses_retain_bounded_retry_and_renewal ... ok
test upload_tests::uploaded_ack_winning_missing_race_retains_bytes_and_error_on_commit_failure ... ok
failures:
---- upload_tests::source_changed_after_scan_never_requests_upload stdout ----
thread 'upload_tests::source_changed_after_scan_never_requests_upload' panicked at crates/daemon/src/upload_tests.rs:77:6:
called `Result::unwrap()` on an `Err` value: Elapsed(())
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
upload_tests::source_changed_after_scan_never_requests_upload
test result: FAILED. 105 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 27.08s
error: test failed, to rerun pass `-p drosync-daemon --lib`

View File

@ -0,0 +1,7 @@
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_core-ec1a06b5afb95a93)
running 1 test
test report::tests::report_uses_upload_filters_and_requires_source_identity ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 52 filtered out; finished in 0.01s

View File

@ -0,0 +1,23 @@
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_core-ec1a06b5afb95a93)
running 1 test
test report::tests::report_uses_upload_filters_and_requires_source_identity ... FAILED
failures:
---- report::tests::report_uses_upload_filters_and_requires_source_identity stdout ----
thread 'report::tests::report_uses_upload_filters_and_requires_source_identity' panicked at crates/core/src/report.rs:2815:9:
assertion `left == right` failed: same-size edits must invalidate the receipt
left: 1
right: 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
report::tests::report_uses_upload_filters_and_requires_source_identity
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 52 filtered out; finished in 0.00s
error: test failed, to rerun pass `-p drosync-core --lib`

View File

@ -0,0 +1,7 @@
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_core-ec1a06b5afb95a93)
running 1 test
test report::tests::report_uses_upload_filters_and_requires_source_identity ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 52 filtered out; finished in 0.01s

View File

@ -0,0 +1,7 @@
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_core-ec1a06b5afb95a93)
running 1 test
test report::tests::report_uses_upload_filters_and_requires_source_identity ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 52 filtered out; finished in 0.00s

View File

@ -0,0 +1,7 @@
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_core-ec1a06b5afb95a93)
running 1 test
test report::tests::report_uses_upload_filters_and_requires_source_identity ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 52 filtered out; finished in 0.00s

View File

@ -0,0 +1,210 @@
warning: unused variable: `profile`
--> crates/platform/src/lib.rs:578:28
|
578 | pub fn credential_location(profile: &str) -> Result<CredentialLocation, PlatformError> {
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
|
= note: `#[warn(unused_variables)]` on by default
warning: `drosync-platform` (lib) generated 1 warning
Compiling drosync-state v1.1.4 (/work/baseline/tools/drosync/crates/state)
Compiling drosync-core v1.1.4 (/work/baseline/tools/drosync/crates/core)
Finished `test` profile [unoptimized + debuginfo] target(s) in 7.11s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_core-d7f15690eb88060c)
cleanup::linux_durability_tests::directory_sync_keeps_the_open_capability_after_parent_path_replacement: test
cleanup::linux_durability_tests::directory_sync_reopens_an_actual_o_path_capability: test
cleanup::linux_durability_tests::persisted_recovery_restores_payload_and_finishes_an_already_restored_file: test
cleanup::linux_durability_tests::zero_and_nonzero_nested_files_complete_durable_cleanup: test
cleanup::race_tests::final_authorization_rejection_retains_verified_payload: test
cleanup::race_tests::final_hash_rejects_same_size_change_even_when_identity_matches: test
cleanup::race_tests::replaced_before_quarantine_is_never_moved: test
cleanup::race_tests::writer_mutation_after_hash_is_retained_for_recovery: test
cleanup::tests::changed_or_traversal_candidates_fail_closed: test
cleanup::tests::clean_requires_content_identity_and_never_deletes_new_source: test
cleanup::tests::crash_after_rename_does_not_authorize_delete: test
cleanup::tests::preview_is_read_only_and_checks_actual_hash: test
cleanup::tests::recovery_restores_without_overwriting_new_data: test
cleanup::tests::symlink_parent_and_file_are_not_followed: test
report::date_contract_tests::report_dates_are_calendar_dates_never_paths_or_prefixes: test
report::tests::absent_file_details_keep_cleanup_and_historical_receipts_distinct: test
report::tests::archived_hash_conflict_is_visible_and_never_completed: test
report::tests::cleaned_batches_are_distinct_from_missing_even_after_empty_directory_removal: test
report::tests::episode_details_match_receipts_and_date_without_false_completion: test
report::tests::file_states_are_exclusive_and_commit_wait_is_not_completed: test
report::tests::missing_pending_sources_are_counted_and_filterable_before_remote_ack: test
report::tests::nested_episode_directory_belongs_to_outer_batch_and_pages_each_file_once: test
report::tests::pending_files_distinguish_stability_marker_and_upload_queue: test
report::tests::recreated_source_outranks_its_old_cleanup_path_without_double_counting: test
report::tests::report_excludes_root_daily_report_but_preserves_nested_payloads: test
report::tests::report_uses_upload_filters_and_requires_source_identity: test
report::tests::summary_query_does_not_retain_full_day_file_rows: test
report::tests::test_format_size: test
report::tests::test_remote_prefix_matching: test
report::tests::test_scan_and_export_lifecycle: test
report::tests::thousand_file_episode_has_exact_missing_path_and_bounded_pages: test
report::tests::unfinished_marker_file_is_counted_and_cannot_make_episode_complete: test
report::tests::unreadable_episode_fails_the_report_instead_of_hiding_missing_data: test
report::tests::weak_metadata_requires_streaming_content_verification: test
runtime_scan_tests::changed_existing_source_and_other_io_errors_are_not_missing: test
runtime_scan_tests::cleanup_quarantine_is_always_excluded_even_when_hidden_files_are_enabled: test
runtime_scan_tests::configured_hash_workers_are_shared_and_invalid_limits_rejected: test
runtime_scan_tests::disappeared_candidate_does_not_abort_remaining_scan_files: test
runtime_scan_tests::missing_and_cancelled_hashes_are_not_logged_as_fatal_scan_errors: test
runtime_scan_tests::non_missing_scan_failures_are_not_silently_skipped: test
runtime_scan_tests::root_walk_and_marker_diagnostics_keep_original_selection_behavior: test
runtime_scan_tests::scan_error_events_preserve_cache_read_and_sink_error_types_and_paths: test
runtime_scan_tests::source_unlinked_while_reading_is_a_missing_file_not_changed_content: test
scan_progress::tests::concurrent_bytes_and_failed_guard_are_not_success_receipts: test
snapshot_tests::cache_skips_unchanged_content_and_rehashes_same_size_rewrite: test
snapshot_tests::scan_digest_and_identity_bind_the_same_bytes_and_done_is_not_payload: test
snapshot_tests::young_files_request_a_follow_up_scan_even_when_events_stop: test
tests::bucket_mapping_defers_space_resolution_to_the_authenticated_daemon: test
tests::paged_scan_bounds_each_emitted_batch: test
tests::real_hash_progress_counts_processed_bytes_and_clears_on_error: test
tests::relative_path_rejects_escape_and_control_characters: test
tests::scan_excludes_root_daily_report_but_preserves_business_files: test
tests::scan_skips_hidden_symlink_and_temporary_files: test
53 tests, 0 benchmarks
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_daemon-3e4663fcccda1842)
clean_service::tests::clean_dry_run_does_not_move_or_delete_source: test
clean_service::tests::clean_execute_keeps_new_source_and_records_completion: test
clean_service::tests::clean_full_session_rechecks_cloud_eligibility_and_activity: test
clean_service::tests::clean_old_receipt_without_source_identity_fails_closed: test
clean_service::tests::clean_preserves_conflicting_quarantine_and_reports_recovery: test
clean_service::tests::clean_refuses_ineligible_sessions_active_work_overlap_and_installation: test
clean_service::tests::clean_rejected_cloud_proof_restores_source: test
clean_service::tests::clean_wrong_device_proof_restores_source: test
clean_service::tests::cleanup_proof_expiry_is_monotonic_despite_clock_skew: test
clean_service::tests::completed_and_partial_clean_only_verified_files_in_mixed_sessions: test
clean_service::tests::durable_cleanup_recovery_blocks_sync_install_and_mapping_removal: test
clean_service::tests::partial_receipt_refresh_enables_completed_clean_preview_without_deletion: test
clean_service::tests::restart_recovers_deleted_receipt_but_never_executes_a_pending_delete: test
closure_tests::capture_must_exclude_daemon_state_and_explicit_credential_file: test
closure_tests::closure_rejects_parent_prefix_before_contacting_server: test
closure_tests::closure_rejects_regular_file_mapping_before_contacting_server: test
closure_tests::mapping_grants_require_enabled_space_actions_and_relative_scope: test
commit_tests::commit_wait_downloads_details_only_once_when_finished: test
commit_tests::commit_wait_stops_on_remote_abort_without_completing_session: test
entry_tests::retired_ipc_entries_do_not_execute: test
entry_tests::update_check_rejects_unsigned_metadata_without_download_or_installer_state: test
entry_tests::update_policy_actions_are_separate_from_upload_pause: test
ipc_error::tests::api_request_id_and_typed_retryability_cross_the_real_transfer_boundary: test
ipc_error::tests::api_retry_hints_are_kept_without_reclassifying_permanent_failures: test
journal_contract_tests::current_journal_has_a_single_versioned_shape: test
lifecycle_tests::definitive_create_rejection_leaves_mapping_removable: test
lifecycle_tests::legacy_pending_uses_cloud_discovery_and_preserves_failed_recovery: test
lifecycle_tests::paused_preview_is_closed_and_cannot_replace_verified_receipts: test
lifecycle_tests::recovered_remote_terminal_cleans_scan_rows_before_new_sync: test
lifecycle_tests::unknown_create_outcome_preserves_and_replays_the_original_request: test
logging_tests::concurrent_logs_keep_context_and_separate_work_from_wall_time: test
logging_tests::daemon_protocol_uses_shared_constant: test
logging_tests::paused_preflight_gets_one_summary_and_phase_drop_logs_interruption: test
logging_tests::run_id_annotation_preserves_existing_failure_phase_and_metadata: test
logging_tests::summary_is_emitted_once_even_when_shutdown_and_drop_both_try: test
metadata_service::item_refresh_tests::failed_item_refresh_has_its_own_phase_and_api_request_id: test
metadata_service::item_refresh_tests::status_explains_in_flight_item_refresh_and_records_response_metrics: test
metadata_tests::commit_deadline_is_retryable_and_keeps_session_for_recovery: test
metadata_tests::completed_checkpoint_is_reused_and_manifest_count_mismatch_fails_closed: test
metadata_tests::durable_upload_queue_does_not_skip_work_when_resuming_cursor: test
metadata_tests::final_metadata_budget_is_independent_of_commit_deadline: test
metadata_tests::frozen_details_reject_invalid_page_without_advancing_checkpoint: test
metadata_tests::heartbeat_completion_race_confirms_status_and_stops_only_that_lease: test
metadata_tests::heartbeat_suppression_never_hides_other_errors_or_an_active_session: test
metadata_tests::in_flight_metadata_exposes_phase_cursor_and_started_time_before_response: test
metadata_tests::lease_ticks_do_not_interrupt_final_metadata_in_flight: test
metadata_tests::metadata_deadline_is_retryable_and_does_not_publish_local_completion: test
metadata_tests::missing_remote_session_cleanup_failure_preserves_atomic_recovery_state: test
metadata_tests::page_failure_recovery_should_not_redownload_saved_page: test
metadata_tests::progress_failure_rolls_back_page_and_cursor_then_resumes_from_last_atomic_page: test
progress_tracker::tests::restored_bytes_are_not_counted_as_current_network_speed: test
progress_tracker::tests::sampled_progress_retry_reset_and_final_receipt_never_race: test
progress_tracker::tests::server_ack_before_commit_has_full_bytes_without_network_rate: test
query_service::tests::conflicts_reach_every_record_and_cursor_stays_bound_to_session: test
query_service::tests::doctor_verifies_identity_protocol_features_schema_and_upload_grant: test
query_service::tests::query_rejects_invalid_flags_and_does_not_rewrite_cloud_session_status: test
retry_tests::nonretryable_failure_preserves_events_but_does_not_invent_retry_work: test
retry_tests::stage_deadline_requeues_without_any_new_file_event: test
run_diagnostics::tests::deadline_ipc_and_persisted_status_retain_retryable_phase_and_ids: test
run_diagnostics::tests::malformed_diagnostics_never_replace_original_transfer_failure: test
run_diagnostics::tests::progress_merge_survives_phase_changes_and_new_sessions_reset_counters: test
run_diagnostics::tests::stopped_run_clears_in_flight_requests_even_when_future_completion_was_dropped: test
run_diagnostics::tests::terminal_state_keeps_actual_phase_and_last_failure_but_clears_current_error: test
source_protection::tests::blocked_log_ancestors_still_protect_capture_and_symlink_targets: test
source_protection::tests::relative_configuration_source_resolves_from_working_directory: test
source_protection::tests::rotating_log_symlink_inside_capture_cannot_escape_protection: test
source_protection::tests::sensitive_files_and_future_rotating_logs_cannot_be_captured: test
source_protection::tests::symlinked_parent_of_future_secret_is_protected: test
source_protection::tests::unavailable_log_parent_outside_capture_does_not_block_fallback_sync: test
tests::bucket_resolution_fails_closed_for_missing_or_ambiguous_space: test
tests::bucket_resolves_only_when_scoped_space_is_unique: test
tests::item_abortable_error_detects_missing_file_and_conflict: test
tests::multipart_part_size_never_exceeds_five_gib: test
tests::one_tib_object_fits_bos_multipart_limits: test
tests::watcher_ignores_reads_but_tracks_content_changes: test
update_service::tests::awaiting_reboot_cannot_be_reauthorized_or_rolled_back_again: test
update_service::tests::confirmed_ready_target_rotates_receipts_and_unlocks_in_one_transaction: test
update_service::tests::installer_has_not_finished_even_if_target_files_are_already_ready: test
update_service::tests::metadata_check_independently_rejects_tampering_and_incompatible_offers: test
update_service::tests::reboot_and_live_build_evidence_are_required_before_confirmation: test
update_service::tests::recovery_preserves_history_and_blocks_automatic_reupgrade: test
upload_tests::actual_body_observer_reports_bytes_and_validates_before_success: test
upload_tests::actual_upload_body_must_match_scanned_part_digest: test
upload_tests::already_uploaded_object_can_commit_after_local_source_is_removed: test
upload_tests::cancelling_unrequested_creation_never_contacts_control_plane: test
upload_tests::commit_and_receipt_persistence_failures_keep_original_api_error_and_secondary_context: test
upload_tests::configured_global_file_limit_across_mappings: test
upload_tests::control_rate_limit_honors_retry_after_and_reuses_key: test
upload_tests::direct_precondition_failure_recovers_owned_matching_object: test
upload_tests::direct_precondition_failure_with_mismatching_metadata_sends_one_put: test
upload_tests::equivalent_mapping_is_rejected_even_with_new_id: test
upload_tests::failed_presigned_request_does_not_log_authorization_query: test
upload_tests::lost_complete_response_replays_complete_without_reuploading: test
upload_tests::lost_direct_response_with_definitive_conflict_does_not_retransmit: test
upload_tests::lost_put_response_confirms_owned_object_without_reuploading: test
upload_tests::manual_metadata_failure_is_written_to_the_daemon_log: test
upload_tests::missing_local_source_never_aborts_an_uploaded_object_after_commit_outage: test
upload_tests::missing_source_is_skipped_and_completed_cloud_data_is_preserved: test
upload_tests::multipart_workers_fill_four_slots_and_checkpoint_all_parts: test
upload_tests::rejected_commit_logs_file_error_and_stops_live_progress_without_aborting_cloud_data: test
upload_tests::resumed_item_state_requests_overlap_instead_of_blocking_queue_dispatch: test
upload_tests::server_upgrade_capability_is_required_without_legacy_fallback: test
upload_tests::source_changed_after_scan_never_requests_upload: test
upload_tests::temp_events_do_not_starve_stable_captures_but_done_wakes_source: test
upload_tests::transient_direct_put_statuses_retain_bounded_retry_and_renewal: test
upload_tests::uploaded_ack_winning_missing_race_retains_bytes_and_error_on_commit_failure: test
106 tests, 0 benchmarks
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_state-d95f41eef7b15e3b)
cleanup::tests::cleanup_receipt_and_pending_retirement_are_one_transaction: test
confirmed_skip::tests::confirmed_unchanged_files_skip_but_changed_scope_and_failure_do_not: test
confirmed_skip::tests::noncompleted_or_unbound_receipts_remain_in_the_next_manifest: test
confirmed_skip::tests::partial_receipt_is_replanned_until_completed_unchanged_receipt_replaces_it: test
progress::tests::bounded_pages_counts_restart_and_stale_session_are_correct: test
progress::tests::closed_latch_removes_live_samples_before_terminal_batch_can_fail: test
progress::tests::closed_session_cannot_be_resurrected_by_late_upload_samples: test
progress::tests::failed_run_freezes_uploaded_and_waiting_rows_without_closing_or_changing_other_results: test
progress::tests::interruption_visits_only_active_index_in_large_completed_history: test
progress::tests::mapping_removal_removes_only_its_progress_atomically: test
progress::tests::sampled_updates_are_atomic_and_isolated_between_mappings: test
progress::tests::startup_repair_corrects_old_skip_acknowledgment_bytes_without_reviving_activity: test
progress::tests::startup_repair_resume_cursor_commits_with_each_bounded_page: test
progress::tests::startup_repairs_completed_receipts_without_reviving_interrupted_uploads_and_only_once: test
report_receipts::tests::cleanup_evidence_must_match_current_exact_success_receipt: test
report_receipts::tests::latest_pages_cover_all_statuses_with_indexed_date_mapping_scope: test
tests::latest_projection_retains_identity_after_cleanup_and_rejects_old_session_refresh: test
tests::migrations_and_mapping_round_trip: test
tests::opening_current_journal_does_not_write_and_concurrent_writers_do_not_upgrade_read_locks: test
tests::page_and_checkpoint_commit_atomically_even_when_metadata_write_fails: test
tests::read_only_view_cannot_mutate_the_daemon_journal: test
tests::scan_cursor_has_no_duplicates_or_offset_and_keeps_snapshot: test
tests::schema_four_migration_builds_projection_without_inventing_source_identity: test
tests::session_queries_are_bounded_and_active_scoped: test
tests::source_cache_sweep_is_scoped_to_a_successful_mapping_run: test
tests::state_survives_process_restart_with_pending_work: test
tests::terminal_receipt_and_transfer_cleanup_are_atomic: test
upload_order::md5_migration_tests::old_hash_migration_keeps_archive_and_refuses_pending_work: test
upload_order::tests::chronological_pages_ignore_random_ids_and_preserve_ties: test
upload_order::tests::invalid_dates_are_not_capture_times: test
30 tests, 0 benchmarks

View File

@ -0,0 +1,16 @@
warning: unused variable: `profile`
--> crates/platform/src/lib.rs:578:28
|
578 | pub fn credential_location(profile: &str) -> Result<CredentialLocation, PlatformError> {
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
|
= note: `#[warn(unused_variables)]` on by default
warning: `drosync-platform` (lib) generated 1 warning
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_daemon-3e4663fcccda1842)
running 1 test
test upload_tests::source_changed_after_scan_never_requests_upload ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 105 filtered out; finished in 0.01s

View File

@ -0,0 +1,16 @@
warning: unused variable: `profile`
--> crates/platform/src/lib.rs:578:28
|
578 | pub fn credential_location(profile: &str) -> Result<CredentialLocation, PlatformError> {
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
|
= note: `#[warn(unused_variables)]` on by default
warning: `drosync-platform` (lib) generated 1 warning
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_daemon-3e4663fcccda1842)
running 1 test
test upload_tests::source_changed_after_scan_never_requests_upload ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 105 filtered out; finished in 0.01s

View File

@ -0,0 +1,16 @@
warning: unused variable: `profile`
--> crates/platform/src/lib.rs:578:28
|
578 | pub fn credential_location(profile: &str) -> Result<CredentialLocation, PlatformError> {
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
|
= note: `#[warn(unused_variables)]` on by default
warning: `drosync-platform` (lib) generated 1 warning
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_daemon-3e4663fcccda1842)
running 1 test
test upload_tests::source_changed_after_scan_never_requests_upload ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 105 filtered out; finished in 0.00s

View File

@ -0,0 +1,16 @@
warning: unused variable: `profile`
--> crates/platform/src/lib.rs:578:28
|
578 | pub fn credential_location(profile: &str) -> Result<CredentialLocation, PlatformError> {
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
|
= note: `#[warn(unused_variables)]` on by default
warning: `drosync-platform` (lib) generated 1 warning
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_daemon-3e4663fcccda1842)
running 1 test
test upload_tests::source_changed_after_scan_never_requests_upload ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 105 filtered out; finished in 0.00s

View File

@ -0,0 +1,16 @@
warning: unused variable: `profile`
--> crates/platform/src/lib.rs:578:28
|
578 | pub fn credential_location(profile: &str) -> Result<CredentialLocation, PlatformError> {
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
|
= note: `#[warn(unused_variables)]` on by default
warning: `drosync-platform` (lib) generated 1 warning
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
Running unittests src/lib.rs (work/baseline-fresh-target/debug/deps/drosync_daemon-3e4663fcccda1842)
running 1 test
test upload_tests::source_changed_after_scan_never_requests_upload ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 105 filtered out; finished in 0.00s

View File

@ -0,0 +1,130 @@
{
"case": "all-denied",
"uploadStatus": "partial",
"preview": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": true,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "0c542d45-725c-44b5-840e-1de2c819cb9e",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"clean": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "0c542d45-725c-44b5-840e-1de2c819cb9e",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"repeat": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "0c542d45-725c-44b5-840e-1de2c819cb9e",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"apiStats": {
"calls": null,
"contentReads": 0,
"objects": 1,
"sessions": [
{
"preview": false,
"id": "session-1",
"organizationId": "org_default",
"syncSpaceId": "space",
"credentialId": "credential",
"deviceId": "device",
"mappingId": "0c542d45-725c-44b5-840e-1de2c819cb9e",
"clientVersion": "",
"protocolVersion": "",
"status": "partial",
"policySnapshot": {
"allowedActions": null,
"maxObjectBytes": 0,
"maxSessionFiles": 0,
"maxSessionBytes": 0,
"maxConcurrentUploads": 0,
"allowDelete": false,
"allowConditionalUpdate": false,
"defaultConflictResolution": "",
"allowForceOverwrite": false
},
"counts": {
"manifest": 1,
"unchanged": 0,
"create": 1,
"update": 0,
"keptBoth": 0,
"skipped": 0,
"denied": 1,
"failed": 0,
"committed": 0
},
"totalBytes": 18,
"operationId": "op",
"createdAt": "",
"updatedAt": "",
"expiresAt": ""
}
]
},
"sourcesAfter": {
"legacy.bin": {
"exists": true,
"md5": "de6a3ecbdf49fd56f9b4da8cf19f6f5d",
"size": 18,
"inode": 1860102,
"mtimeNs": 1793274918627894163,
"ctimeNs": 1793275038627469276
}
},
"status": "PASS"
}

View File

@ -0,0 +1,42 @@
{
"case": "cloud-md5-missing",
"uploadStatus": "partial",
"retained": {
"alreadyCleanedFiles": 0,
"blockedFiles": 3,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "drosync API error 409 Conflict: cleanup_cloud_changed: Cloud object content or identity changed; local file retained",
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": "drosync API error 409 Conflict: cleanup_cloud_changed: Cloud object content or identity changed; local file retained",
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "61eeaa6a-643a-44ef-b14b-aa075de419ff",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"status": "PASS"
}

View File

@ -0,0 +1,190 @@
{
"case": "completed",
"uploadStatus": "completed",
"preview": {
"alreadyCleanedFiles": 0,
"blockedFiles": 0,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": true,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "candidate"
},
{
"itemId": "session-1-item-00001",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "candidate"
}
],
"filesTruncated": false,
"mappingId": "5a74c670-b32f-4e9a-8b5e-05e3c22ca008",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"clean": {
"alreadyCleanedFiles": 0,
"blockedFiles": 0,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 32,
"deletedFiles": 2,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "deleted"
},
{
"itemId": "session-1-item-00001",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "deleted"
}
],
"filesTruncated": false,
"mappingId": "5a74c670-b32f-4e9a-8b5e-05e3c22ca008",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"repeat": {
"alreadyCleanedFiles": 2,
"blockedFiles": 0,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "already_cleaned"
},
{
"itemId": "session-1-item-00001",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "already_cleaned"
}
],
"filesTruncated": false,
"mappingId": "5a74c670-b32f-4e9a-8b5e-05e3c22ca008",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"apiStats": {
"calls": [
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
}
],
"contentReads": 0,
"objects": 2,
"sessions": [
{
"preview": false,
"id": "session-1",
"organizationId": "org_default",
"syncSpaceId": "space",
"credentialId": "credential",
"deviceId": "device",
"mappingId": "5a74c670-b32f-4e9a-8b5e-05e3c22ca008",
"clientVersion": "",
"protocolVersion": "",
"status": "completed",
"policySnapshot": {
"allowedActions": null,
"maxObjectBytes": 0,
"maxSessionFiles": 0,
"maxSessionBytes": 0,
"maxConcurrentUploads": 0,
"allowDelete": false,
"allowConditionalUpdate": false,
"defaultConflictResolution": "",
"allowForceOverwrite": false
},
"counts": {
"manifest": 2,
"unchanged": 1,
"create": 2,
"update": 0,
"keptBoth": 0,
"skipped": 0,
"denied": 0,
"failed": 0,
"committed": 1
},
"totalBytes": 32,
"operationId": "op",
"createdAt": "",
"updatedAt": "",
"expiresAt": ""
}
]
},
"sourcesAfter": {
"good.bin": {
"exists": false
},
"same.bin": {
"exists": false
}
},
"status": "PASS"
}

View File

@ -0,0 +1,272 @@
[
{
"args": [
"pause"
],
"exitCode": 0,
"result": {
"paused": true
},
"stderr": ""
},
{
"args": [
"mapping",
"add",
"/work/fresh-results/matrix/expired-proof/capture",
"--space",
"space",
"--remote-prefix",
"node-test"
],
"exitCode": 0,
"result": {
"bucket": "",
"id": "80fedaeb-649a-40ca-8691-583d3f056382",
"includeHidden": false,
"localRoot": "/work/fresh-results/matrix/expired-proof/capture",
"remotePrefix": "node-test",
"requireDoneMarker": false,
"spaceRootPrefix": "",
"syncSpaceId": "space"
},
"stderr": ""
},
{
"args": [
"sync",
"80fedaeb-649a-40ca-8691-583d3f056382"
],
"exitCode": 50,
"result": {
"conflictCount": 0,
"dryRun": false,
"itemCount": 3,
"mappingId": "80fedaeb-649a-40ca-8691-583d3f056382",
"rescanNeeded": false,
"session": {
"counts": {
"committed": 1,
"create": 3,
"denied": 1,
"failed": 0,
"keptBoth": 0,
"manifest": 3,
"skipped": 0,
"unchanged": 1,
"update": 0
},
"errorSummary": "",
"id": "session-1",
"mappingId": "80fedaeb-649a-40ca-8691-583d3f056382",
"operationId": "op",
"preview": false,
"status": "partial",
"syncSpaceId": "space",
"totalBytes": 50
}
},
"stderr": ""
},
{
"args": [
"pause"
],
"exitCode": 0,
"result": {
"paused": true
},
"stderr": ""
},
{
"args": [
"clean",
"80fedaeb-649a-40ca-8691-583d3f056382",
"--session",
"session-1"
],
"exitCode": 50,
"result": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": true,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "candidate"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "candidate"
}
],
"filesTruncated": false,
"mappingId": "80fedaeb-649a-40ca-8691-583d3f056382",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"stderr": ""
},
{
"args": [
"clean",
"80fedaeb-649a-40ca-8691-583d3f056382",
"--session",
"session-1",
"--execute"
],
"exitCode": 50,
"result": {
"alreadyCleanedFiles": 0,
"blockedFiles": 3,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "cloud cleanup proof has expired",
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": "cloud cleanup proof has expired",
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "80fedaeb-649a-40ca-8691-583d3f056382",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"stderr": ""
},
{
"args": [
"clean",
"80fedaeb-649a-40ca-8691-583d3f056382",
"--session",
"session-1",
"--execute"
],
"exitCode": 50,
"result": {
"alreadyCleanedFiles": 0,
"blockedFiles": 3,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "cloud cleanup proof has expired",
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": "cloud cleanup proof has expired",
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "80fedaeb-649a-40ca-8691-583d3f056382",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"stderr": ""
},
{
"args": [
"clean",
"80fedaeb-649a-40ca-8691-583d3f056382",
"--session",
"session-1",
"--execute"
],
"exitCode": 50,
"result": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 32,
"deletedFiles": 2,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "deleted"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "deleted"
}
],
"filesTruncated": false,
"mappingId": "80fedaeb-649a-40ca-8691-583d3f056382",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"stderr": ""
}
]

View File

@ -0,0 +1,296 @@
{
"case": "expired-proof",
"uploadStatus": "partial",
"preview": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": true,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "candidate"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "candidate"
}
],
"filesTruncated": false,
"mappingId": "80fedaeb-649a-40ca-8691-583d3f056382",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"clean": {
"alreadyCleanedFiles": 0,
"blockedFiles": 3,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "cloud cleanup proof has expired",
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": "cloud cleanup proof has expired",
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "80fedaeb-649a-40ca-8691-583d3f056382",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"repeat": {
"alreadyCleanedFiles": 0,
"blockedFiles": 3,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "cloud cleanup proof has expired",
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": "cloud cleanup proof has expired",
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "80fedaeb-649a-40ca-8691-583d3f056382",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"retryWithFreshProofWithoutSync": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 32,
"deletedFiles": 2,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "deleted"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "deleted"
}
],
"filesTruncated": false,
"mappingId": "80fedaeb-649a-40ca-8691-583d3f056382",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"apiStats": {
"calls": [
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
}
],
"contentReads": 0,
"objects": 3,
"sessions": [
{
"preview": false,
"id": "session-1",
"organizationId": "org_default",
"syncSpaceId": "space",
"credentialId": "credential",
"deviceId": "device",
"mappingId": "80fedaeb-649a-40ca-8691-583d3f056382",
"clientVersion": "",
"protocolVersion": "",
"status": "partial",
"policySnapshot": {
"allowedActions": null,
"maxObjectBytes": 0,
"maxSessionFiles": 0,
"maxSessionBytes": 0,
"maxConcurrentUploads": 0,
"allowDelete": false,
"allowConditionalUpdate": false,
"defaultConflictResolution": "",
"allowForceOverwrite": false
},
"counts": {
"manifest": 3,
"unchanged": 1,
"create": 3,
"update": 0,
"keptBoth": 0,
"skipped": 0,
"denied": 1,
"failed": 0,
"committed": 1
},
"totalBytes": 50,
"operationId": "op",
"createdAt": "",
"updatedAt": "",
"expiresAt": ""
}
]
},
"sourcesAfter": {
"good.bin": {
"exists": false
},
"same.bin": {
"exists": false
},
"legacy.bin": {
"exists": true,
"md5": "de6a3ecbdf49fd56f9b4da8cf19f6f5d",
"size": 18,
"inode": 1860181,
"mtimeNs": 1793274923518354654,
"ctimeNs": 1793275043516634117
}
},
"status": "PASS"
}

View File

@ -0,0 +1,220 @@
{
"case": "gates",
"uploadStatus": "partial",
"blockedGateVariants": 14,
"preview": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": true,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "candidate"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "candidate"
}
],
"filesTruncated": false,
"mappingId": "641c0a0d-d1ac-471c-b9d4-4f4cfe340b03",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"clean": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 32,
"deletedFiles": 2,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "deleted"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "deleted"
}
],
"filesTruncated": false,
"mappingId": "641c0a0d-d1ac-471c-b9d4-4f4cfe340b03",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"repeat": {
"alreadyCleanedFiles": 2,
"blockedFiles": 1,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "already_cleaned"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "already_cleaned"
}
],
"filesTruncated": false,
"mappingId": "641c0a0d-d1ac-471c-b9d4-4f4cfe340b03",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"apiStats": {
"calls": [
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
}
],
"contentReads": 0,
"objects": 3,
"sessions": [
{
"preview": false,
"id": "session-1",
"organizationId": "org_default",
"syncSpaceId": "space",
"credentialId": "credential",
"deviceId": "device",
"mappingId": "641c0a0d-d1ac-471c-b9d4-4f4cfe340b03",
"clientVersion": "",
"protocolVersion": "",
"status": "partial",
"policySnapshot": {
"allowedActions": null,
"maxObjectBytes": 0,
"maxSessionFiles": 0,
"maxSessionBytes": 0,
"maxConcurrentUploads": 0,
"allowDelete": false,
"allowConditionalUpdate": false,
"defaultConflictResolution": "",
"allowForceOverwrite": false
},
"counts": {
"manifest": 3,
"unchanged": 1,
"create": 3,
"update": 0,
"keptBoth": 0,
"skipped": 0,
"denied": 1,
"failed": 0,
"committed": 1
},
"totalBytes": 50,
"operationId": "op",
"createdAt": "",
"updatedAt": "",
"expiresAt": ""
}
]
},
"sourcesAfter": {
"good.bin": {
"exists": false
},
"same.bin": {
"exists": false
},
"legacy.bin": {
"exists": true,
"md5": "de6a3ecbdf49fd56f9b4da8cf19f6f5d",
"size": 18,
"inode": 1860124,
"mtimeNs": 1793274919411568403,
"ctimeNs": 1793275039410483641
}
},
"status": "PASS"
}

View File

@ -0,0 +1,85 @@
{"case": "completed", "status": "PASS", "uploadStatus": "completed"}
{"case": "partial", "status": "PASS", "uploadStatus": "partial"}
{"case": "mixed", "status": "PASS", "uploadStatus": "partial"}
{"case": "all-denied", "status": "PASS", "uploadStatus": "partial"}
{"case": "gates", "status": "PASS", "uploadStatus": "partial"}
{"case": "zero-unicode", "status": "PASS", "uploadStatus": "partial"}
{"case": "writer", "status": "PASS", "uploadStatus": "partial"}
{"case": "expired-proof", "status": "PASS", "uploadStatus": "partial"}
{"case": "cloud-md5-missing", "status": "PASS", "uploadStatus": "partial"}
{"case": "recreated-source", "status": "PASS", "uploadStatus": "partial"}
{"case": "pagination", "status": "PASS", "uploadStatus": "partial"}
{"case": "old-api", "status": "PASS", "uploadStatus": "partial", "requiresResyncAfterRestore": false}
{
"scope": "actual CLI/daemon and Go cleanup API with MemoryStore, seeded receipts and fake storage HEAD; upload control/storage synthetic",
"baseHarnessSha256": "e3e8018443664155dc6401ef2e3563d5d9fba2c0d6820dcec58741caa473ed67",
"apiExitCodes": {
"old": 0,
"current": 0
},
"results": [
{
"case": "completed",
"status": "PASS",
"uploadStatus": "completed"
},
{
"case": "partial",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "mixed",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "all-denied",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "gates",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "zero-unicode",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "writer",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "expired-proof",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "cloud-md5-missing",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "recreated-source",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "pagination",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "old-api",
"status": "PASS",
"uploadStatus": "partial",
"requiresResyncAfterRestore": false
}
],
"passed": 12,
"failed": 0
}

View File

@ -0,0 +1,329 @@
[
{
"args": [
"pause"
],
"exitCode": 0,
"result": {
"paused": true
},
"stderr": ""
},
{
"args": [
"mapping",
"add",
"/work/fresh-results/matrix/mixed/capture",
"--space",
"space",
"--remote-prefix",
"node-test"
],
"exitCode": 0,
"result": {
"bucket": "",
"id": "8fd6874e-f1bf-489f-aa41-59fa7ab15fde",
"includeHidden": false,
"localRoot": "/work/fresh-results/matrix/mixed/capture",
"remotePrefix": "node-test",
"requireDoneMarker": false,
"spaceRootPrefix": "",
"syncSpaceId": "space"
},
"stderr": ""
},
{
"args": [
"sync",
"8fd6874e-f1bf-489f-aa41-59fa7ab15fde"
],
"exitCode": 50,
"result": {
"conflictCount": 0,
"dryRun": false,
"itemCount": 8,
"mappingId": "8fd6874e-f1bf-489f-aa41-59fa7ab15fde",
"rescanNeeded": false,
"session": {
"counts": {
"committed": 5,
"create": 8,
"denied": 1,
"failed": 1,
"keptBoth": 0,
"manifest": 8,
"skipped": 0,
"unchanged": 1,
"update": 0
},
"errorSummary": "",
"id": "session-1",
"mappingId": "8fd6874e-f1bf-489f-aa41-59fa7ab15fde",
"operationId": "op",
"preview": false,
"status": "partial",
"syncSpaceId": "space",
"totalBytes": 152
}
},
"stderr": ""
},
{
"args": [
"pause"
],
"exitCode": 0,
"result": {
"paused": true
},
"stderr": ""
},
{
"args": [
"clean",
"8fd6874e-f1bf-489f-aa41-59fa7ab15fde",
"--session",
"session-1"
],
"exitCode": 50,
"result": {
"alreadyCleanedFiles": 0,
"blockedFiles": 6,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": true,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "historical receipt lacks source identity; run sync to verify before cleaning",
"relativePath": "node-test/unbound.bin",
"sizeBytes": 19,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "item lacks a valid MD5 receipt; retained",
"relativePath": "node-test/missing-md5.bin",
"sizeBytes": 23,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00003",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "candidate"
},
{
"itemId": "session-1-item-00004",
"reason": "item lacks a valid MD5 receipt; retained",
"relativePath": "node-test/invalid-md5.bin",
"sizeBytes": 23,
"status": "retained"
},
{
"itemId": "session-1-item-00005",
"reason": "source identity changed since upload; retained",
"relativePath": "node-test/changed.bin",
"sizeBytes": 19,
"status": "retained"
},
{
"itemId": "session-1-item-00006",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/failed.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00007",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "candidate"
}
],
"filesTruncated": false,
"mappingId": "8fd6874e-f1bf-489f-aa41-59fa7ab15fde",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"stderr": ""
},
{
"args": [
"clean",
"8fd6874e-f1bf-489f-aa41-59fa7ab15fde",
"--session",
"session-1",
"--execute"
],
"exitCode": 50,
"result": {
"alreadyCleanedFiles": 0,
"blockedFiles": 6,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 32,
"deletedFiles": 2,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "historical receipt lacks source identity; run sync to verify before cleaning",
"relativePath": "node-test/unbound.bin",
"sizeBytes": 19,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "item lacks a valid MD5 receipt; retained",
"relativePath": "node-test/missing-md5.bin",
"sizeBytes": 23,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00003",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "deleted"
},
{
"itemId": "session-1-item-00004",
"reason": "item lacks a valid MD5 receipt; retained",
"relativePath": "node-test/invalid-md5.bin",
"sizeBytes": 23,
"status": "retained"
},
{
"itemId": "session-1-item-00005",
"reason": "source identity changed since upload; retained",
"relativePath": "node-test/changed.bin",
"sizeBytes": 19,
"status": "retained"
},
{
"itemId": "session-1-item-00006",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/failed.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00007",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "deleted"
}
],
"filesTruncated": false,
"mappingId": "8fd6874e-f1bf-489f-aa41-59fa7ab15fde",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"stderr": ""
},
{
"args": [
"clean",
"8fd6874e-f1bf-489f-aa41-59fa7ab15fde",
"--session",
"session-1",
"--execute"
],
"exitCode": 50,
"result": {
"alreadyCleanedFiles": 2,
"blockedFiles": 6,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "historical receipt lacks source identity; run sync to verify before cleaning",
"relativePath": "node-test/unbound.bin",
"sizeBytes": 19,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "item lacks a valid MD5 receipt; retained",
"relativePath": "node-test/missing-md5.bin",
"sizeBytes": 23,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00003",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "already_cleaned"
},
{
"itemId": "session-1-item-00004",
"reason": "item lacks a valid MD5 receipt; retained",
"relativePath": "node-test/invalid-md5.bin",
"sizeBytes": 23,
"status": "retained"
},
{
"itemId": "session-1-item-00005",
"reason": "source identity changed since upload; retained",
"relativePath": "node-test/changed.bin",
"sizeBytes": 19,
"status": "retained"
},
{
"itemId": "session-1-item-00006",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/failed.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00007",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "already_cleaned"
}
],
"filesTruncated": false,
"mappingId": "8fd6874e-f1bf-489f-aa41-59fa7ab15fde",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"stderr": ""
}
]

View File

@ -0,0 +1,364 @@
{
"case": "mixed",
"uploadStatus": "partial",
"preview": {
"alreadyCleanedFiles": 0,
"blockedFiles": 6,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": true,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "historical receipt lacks source identity; run sync to verify before cleaning",
"relativePath": "node-test/unbound.bin",
"sizeBytes": 19,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "item lacks a valid MD5 receipt; retained",
"relativePath": "node-test/missing-md5.bin",
"sizeBytes": 23,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00003",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "candidate"
},
{
"itemId": "session-1-item-00004",
"reason": "item lacks a valid MD5 receipt; retained",
"relativePath": "node-test/invalid-md5.bin",
"sizeBytes": 23,
"status": "retained"
},
{
"itemId": "session-1-item-00005",
"reason": "source identity changed since upload; retained",
"relativePath": "node-test/changed.bin",
"sizeBytes": 19,
"status": "retained"
},
{
"itemId": "session-1-item-00006",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/failed.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00007",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "candidate"
}
],
"filesTruncated": false,
"mappingId": "8fd6874e-f1bf-489f-aa41-59fa7ab15fde",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"clean": {
"alreadyCleanedFiles": 0,
"blockedFiles": 6,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 32,
"deletedFiles": 2,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "historical receipt lacks source identity; run sync to verify before cleaning",
"relativePath": "node-test/unbound.bin",
"sizeBytes": 19,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "item lacks a valid MD5 receipt; retained",
"relativePath": "node-test/missing-md5.bin",
"sizeBytes": 23,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00003",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "deleted"
},
{
"itemId": "session-1-item-00004",
"reason": "item lacks a valid MD5 receipt; retained",
"relativePath": "node-test/invalid-md5.bin",
"sizeBytes": 23,
"status": "retained"
},
{
"itemId": "session-1-item-00005",
"reason": "source identity changed since upload; retained",
"relativePath": "node-test/changed.bin",
"sizeBytes": 19,
"status": "retained"
},
{
"itemId": "session-1-item-00006",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/failed.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00007",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "deleted"
}
],
"filesTruncated": false,
"mappingId": "8fd6874e-f1bf-489f-aa41-59fa7ab15fde",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"repeat": {
"alreadyCleanedFiles": 2,
"blockedFiles": 6,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "historical receipt lacks source identity; run sync to verify before cleaning",
"relativePath": "node-test/unbound.bin",
"sizeBytes": 19,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "item lacks a valid MD5 receipt; retained",
"relativePath": "node-test/missing-md5.bin",
"sizeBytes": 23,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00003",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "already_cleaned"
},
{
"itemId": "session-1-item-00004",
"reason": "item lacks a valid MD5 receipt; retained",
"relativePath": "node-test/invalid-md5.bin",
"sizeBytes": 23,
"status": "retained"
},
{
"itemId": "session-1-item-00005",
"reason": "source identity changed since upload; retained",
"relativePath": "node-test/changed.bin",
"sizeBytes": 19,
"status": "retained"
},
{
"itemId": "session-1-item-00006",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/failed.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00007",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "already_cleaned"
}
],
"filesTruncated": false,
"mappingId": "8fd6874e-f1bf-489f-aa41-59fa7ab15fde",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"apiStats": {
"calls": [
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00003/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00003/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00007/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00007/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00003/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00003/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00007/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00007/cleanup-proof",
"status": 200
}
],
"contentReads": 0,
"objects": 7,
"sessions": [
{
"preview": false,
"id": "session-1",
"organizationId": "org_default",
"syncSpaceId": "space",
"credentialId": "credential",
"deviceId": "device",
"mappingId": "8fd6874e-f1bf-489f-aa41-59fa7ab15fde",
"clientVersion": "",
"protocolVersion": "",
"status": "partial",
"policySnapshot": {
"allowedActions": null,
"maxObjectBytes": 0,
"maxSessionFiles": 0,
"maxSessionBytes": 0,
"maxConcurrentUploads": 0,
"allowDelete": false,
"allowConditionalUpdate": false,
"defaultConflictResolution": "",
"allowForceOverwrite": false
},
"counts": {
"manifest": 8,
"unchanged": 1,
"create": 8,
"update": 0,
"keptBoth": 0,
"skipped": 0,
"denied": 1,
"failed": 1,
"committed": 5
},
"totalBytes": 152,
"operationId": "op",
"createdAt": "",
"updatedAt": "",
"expiresAt": ""
}
]
},
"sourcesAfter": {
"good.bin": {
"exists": false
},
"same.bin": {
"exists": false
},
"legacy.bin": {
"exists": true,
"md5": "de6a3ecbdf49fd56f9b4da8cf19f6f5d",
"size": 18,
"inode": 1860083,
"mtimeNs": 1793274917489044427,
"ctimeNs": 1793275037488457227
},
"failed.bin": {
"exists": true,
"md5": "2b50ce53874d27462d9651df40ef1be2",
"size": 18,
"inode": 1860084,
"mtimeNs": 1793274917489244699,
"ctimeNs": 1793275037488457227
},
"missing-md5.bin": {
"exists": true,
"md5": "1979c44811e78056bde481685ab290c2",
"size": 23,
"inode": 1860085,
"mtimeNs": 1793274917489335298,
"ctimeNs": 1793275037488457227
},
"invalid-md5.bin": {
"exists": true,
"md5": "983e26f0425b8e7d90636ae72049ccf9",
"size": 23,
"inode": 1860086,
"mtimeNs": 1793274917489901065,
"ctimeNs": 1793275037489457233
},
"unbound.bin": {
"exists": true,
"md5": "dd00427f6ad98609c48bce4276147eb0",
"size": 19,
"inode": 1860087,
"mtimeNs": 1793274917489956855,
"ctimeNs": 1793275037489457233
},
"changed.bin": {
"exists": true,
"md5": "744fee1ec30d92fd103bf9c5b18ba7cf",
"size": 21,
"inode": 1860088,
"mtimeNs": 1793275037846459415,
"ctimeNs": 1793275037846459415
}
},
"status": "PASS"
}

View File

@ -0,0 +1,187 @@
[
{
"args": [
"pause"
],
"exitCode": 0,
"result": {
"paused": true
},
"stderr": ""
},
{
"args": [
"mapping",
"add",
"/work/fresh-results/matrix/old-api/capture",
"--space",
"space",
"--remote-prefix",
"node-test"
],
"exitCode": 0,
"result": {
"bucket": "",
"id": "8aecce4c-7fb7-4783-a8a6-c2d22824facc",
"includeHidden": false,
"localRoot": "/work/fresh-results/matrix/old-api/capture",
"remotePrefix": "node-test",
"requireDoneMarker": false,
"spaceRootPrefix": "",
"syncSpaceId": "space"
},
"stderr": ""
},
{
"args": [
"sync",
"8aecce4c-7fb7-4783-a8a6-c2d22824facc"
],
"exitCode": 50,
"result": {
"conflictCount": 0,
"dryRun": false,
"itemCount": 3,
"mappingId": "8aecce4c-7fb7-4783-a8a6-c2d22824facc",
"rescanNeeded": false,
"session": {
"counts": {
"committed": 1,
"create": 3,
"denied": 1,
"failed": 0,
"keptBoth": 0,
"manifest": 3,
"skipped": 0,
"unchanged": 1,
"update": 0
},
"errorSummary": "",
"id": "session-1",
"mappingId": "8aecce4c-7fb7-4783-a8a6-c2d22824facc",
"operationId": "op",
"preview": false,
"status": "partial",
"syncSpaceId": "space",
"totalBytes": 50
}
},
"stderr": ""
},
{
"args": [
"pause"
],
"exitCode": 0,
"result": {
"paused": true
},
"stderr": ""
},
{
"args": [
"clean",
"8aecce4c-7fb7-4783-a8a6-c2d22824facc",
"--session",
"session-1",
"--execute"
],
"exitCode": 50,
"result": {
"alreadyCleanedFiles": 0,
"blockedFiles": 3,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "drosync API error 409 Conflict: cleanup_session_not_completed: Only a completed upload session can authorize cleanup",
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "drosync API error 409 Conflict: cleanup_session_not_completed: Only a completed upload session can authorize cleanup",
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "8aecce4c-7fb7-4783-a8a6-c2d22824facc",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"stderr": ""
},
{
"args": [
"pause"
],
"exitCode": 0,
"result": {
"paused": true
},
"stderr": ""
},
{
"args": [
"clean",
"8aecce4c-7fb7-4783-a8a6-c2d22824facc",
"--session",
"session-1",
"--execute"
],
"exitCode": 50,
"result": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 32,
"deletedFiles": 2,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "deleted"
},
{
"itemId": "session-1-item-00001",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "deleted"
},
{
"itemId": "session-1-item-00002",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "8aecce4c-7fb7-4783-a8a6-c2d22824facc",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"stderr": ""
}
]

View File

@ -0,0 +1,107 @@
{
"case": "old-api",
"uploadStatus": "partial",
"oldAPIRejection": {
"alreadyCleanedFiles": 0,
"blockedFiles": 3,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "drosync API error 409 Conflict: cleanup_session_not_completed: Only a completed upload session can authorize cleanup",
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "drosync API error 409 Conflict: cleanup_session_not_completed: Only a completed upload session can authorize cleanup",
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "8aecce4c-7fb7-4783-a8a6-c2d22824facc",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"afterRejection": {
"good.bin": {
"exists": true,
"md5": "32764405c1fb99d5d720c287c0f98de7",
"size": 16,
"inode": 1860243,
"mtimeNs": 1793274959970614433,
"ctimeNs": 1793275080272750325
},
"same.bin": {
"exists": true,
"md5": "2a002f77b7a95eeeb2a1d617afb903a4",
"size": 16,
"inode": 1860244,
"mtimeNs": 1793274959970665216,
"ctimeNs": 1793275080263748529
},
"legacy.bin": {
"exists": true,
"md5": "de6a3ecbdf49fd56f9b4da8cf19f6f5d",
"size": 18,
"inode": 1860245,
"mtimeNs": 1793274959970698595,
"ctimeNs": 1793275079969689928
}
},
"retryAfterAPIUpgrade": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 32,
"deletedFiles": 2,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "deleted"
},
{
"itemId": "session-1-item-00001",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "deleted"
},
{
"itemId": "session-1-item-00002",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "8aecce4c-7fb7-4783-a8a6-c2d22824facc",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"requiresResyncAfterRestore": false,
"sameSessionDirectRetryAfterRestart": true,
"status": "PASS"
}

View File

@ -0,0 +1,219 @@
{
"case": "partial",
"uploadStatus": "partial",
"preview": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": true,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "candidate"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "candidate"
}
],
"filesTruncated": false,
"mappingId": "f4986df4-ebbb-4fab-ad68-324297f74310",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"clean": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 32,
"deletedFiles": 2,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "deleted"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "deleted"
}
],
"filesTruncated": false,
"mappingId": "f4986df4-ebbb-4fab-ad68-324297f74310",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"repeat": {
"alreadyCleanedFiles": 2,
"blockedFiles": 1,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "already_cleaned"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "already_cleaned"
}
],
"filesTruncated": false,
"mappingId": "f4986df4-ebbb-4fab-ad68-324297f74310",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"apiStats": {
"calls": [
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
}
],
"contentReads": 0,
"objects": 3,
"sessions": [
{
"preview": false,
"id": "session-1",
"organizationId": "org_default",
"syncSpaceId": "space",
"credentialId": "credential",
"deviceId": "device",
"mappingId": "f4986df4-ebbb-4fab-ad68-324297f74310",
"clientVersion": "",
"protocolVersion": "",
"status": "partial",
"policySnapshot": {
"allowedActions": null,
"maxObjectBytes": 0,
"maxSessionFiles": 0,
"maxSessionBytes": 0,
"maxConcurrentUploads": 0,
"allowDelete": false,
"allowConditionalUpdate": false,
"defaultConflictResolution": "",
"allowForceOverwrite": false
},
"counts": {
"manifest": 3,
"unchanged": 1,
"create": 3,
"update": 0,
"keptBoth": 0,
"skipped": 0,
"denied": 1,
"failed": 0,
"committed": 1
},
"totalBytes": 50,
"operationId": "op",
"createdAt": "",
"updatedAt": "",
"expiresAt": ""
}
]
},
"sourcesAfter": {
"good.bin": {
"exists": false
},
"same.bin": {
"exists": false
},
"legacy.bin": {
"exists": true,
"md5": "de6a3ecbdf49fd56f9b4da8cf19f6f5d",
"size": 18,
"inode": 1860065,
"mtimeNs": 1793274916217994928,
"ctimeNs": 1793275036217456024
}
},
"status": "PASS"
}

View File

@ -0,0 +1,129 @@
[
{
"case": "completed",
"retainedFiles": [],
"contentsVerified": true,
"cleanupLedgerEntries": 2,
"pendingRecovery": 0,
"syncCommands": 1
},
{
"case": "partial",
"retainedFiles": [
"legacy.bin"
],
"contentsVerified": true,
"cleanupLedgerEntries": 2,
"pendingRecovery": 0,
"syncCommands": 1
},
{
"case": "mixed",
"retainedFiles": [
"changed.bin",
"failed.bin",
"invalid-md5.bin",
"legacy.bin",
"missing-md5.bin",
"unbound.bin"
],
"contentsVerified": true,
"cleanupLedgerEntries": 2,
"pendingRecovery": 0,
"syncCommands": 1
},
{
"case": "all-denied",
"retainedFiles": [
"legacy.bin"
],
"contentsVerified": true,
"cleanupLedgerEntries": 0,
"pendingRecovery": 0,
"syncCommands": 1
},
{
"case": "gates",
"retainedFiles": [
"legacy.bin"
],
"contentsVerified": true,
"cleanupLedgerEntries": 2,
"pendingRecovery": 0,
"syncCommands": 1
},
{
"case": "zero-unicode",
"retainedFiles": [
"legacy.bin"
],
"contentsVerified": true,
"cleanupLedgerEntries": 2,
"pendingRecovery": 0,
"syncCommands": 1
},
{
"case": "writer",
"retainedFiles": [
"good.bin",
"legacy.bin"
],
"contentsVerified": true,
"cleanupLedgerEntries": 1,
"pendingRecovery": 0,
"syncCommands": 1
},
{
"case": "expired-proof",
"retainedFiles": [
"legacy.bin"
],
"contentsVerified": true,
"cleanupLedgerEntries": 2,
"pendingRecovery": 0,
"syncCommands": 1
},
{
"case": "cloud-md5-missing",
"retainedFiles": [
"good.bin",
"legacy.bin",
"same.bin"
],
"contentsVerified": true,
"cleanupLedgerEntries": 0,
"pendingRecovery": 0,
"syncCommands": 1
},
{
"case": "recreated-source",
"retainedFiles": [
"good.bin",
"legacy.bin"
],
"contentsVerified": true,
"cleanupLedgerEntries": 2,
"pendingRecovery": 0,
"syncCommands": 1
},
{
"case": "pagination",
"retainedFiles": [
"legacy.bin"
],
"contentsVerified": true,
"cleanupLedgerEntries": 1002,
"pendingRecovery": 0,
"syncCommands": 1
},
{
"case": "old-api",
"retainedFiles": [
"legacy.bin"
],
"contentsVerified": true,
"cleanupLedgerEntries": 2,
"pendingRecovery": 0,
"syncCommands": 1
}
]

View File

@ -0,0 +1,261 @@
{
"case": "recreated-source",
"uploadStatus": "partial",
"preview": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": true,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "candidate"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "candidate"
}
],
"filesTruncated": false,
"mappingId": "96c30317-8c75-4eec-928e-c51ab8abc6ee",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"clean": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 32,
"deletedFiles": 2,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "deleted"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "deleted"
}
],
"filesTruncated": false,
"mappingId": "96c30317-8c75-4eec-928e-c51ab8abc6ee",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"repeat": {
"alreadyCleanedFiles": 2,
"blockedFiles": 1,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "already_cleaned"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "already_cleaned"
}
],
"filesTruncated": false,
"mappingId": "96c30317-8c75-4eec-928e-c51ab8abc6ee",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"recreated": {
"alreadyCleanedFiles": 1,
"blockedFiles": 2,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "source identity changed since upload; retained",
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "already_cleaned"
}
],
"filesTruncated": false,
"mappingId": "96c30317-8c75-4eec-928e-c51ab8abc6ee",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"apiStats": {
"calls": [
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
}
],
"contentReads": 0,
"objects": 3,
"sessions": [
{
"preview": false,
"id": "session-1",
"organizationId": "org_default",
"syncSpaceId": "space",
"credentialId": "credential",
"deviceId": "device",
"mappingId": "96c30317-8c75-4eec-928e-c51ab8abc6ee",
"clientVersion": "",
"protocolVersion": "",
"status": "partial",
"policySnapshot": {
"allowedActions": null,
"maxObjectBytes": 0,
"maxSessionFiles": 0,
"maxSessionBytes": 0,
"maxConcurrentUploads": 0,
"allowDelete": false,
"allowConditionalUpdate": false,
"defaultConflictResolution": "",
"allowForceOverwrite": false
},
"counts": {
"manifest": 3,
"unchanged": 1,
"create": 3,
"update": 0,
"keptBoth": 0,
"skipped": 0,
"denied": 1,
"failed": 0,
"committed": 1
},
"totalBytes": 50,
"operationId": "op",
"createdAt": "",
"updatedAt": "",
"expiresAt": ""
}
]
},
"sourcesAfter": {
"good.bin": {
"exists": true,
"md5": "620ab4423675aa08f23478d09f169ed5",
"size": 23,
"inode": 1860217,
"mtimeNs": 1793275046157792214,
"ctimeNs": 1793275046157792214
},
"same.bin": {
"exists": false
},
"legacy.bin": {
"exists": true,
"md5": "de6a3ecbdf49fd56f9b4da8cf19f6f5d",
"size": 18,
"inode": 1860219,
"mtimeNs": 1793274925752226829,
"ctimeNs": 1793275045751765089
}
},
"status": "PASS"
}

View File

@ -0,0 +1,73 @@
{
"scope": "actual CLI/daemon and Go cleanup API with MemoryStore, seeded receipts and fake storage HEAD; upload control/storage synthetic",
"baseHarnessSha256": "e3e8018443664155dc6401ef2e3563d5d9fba2c0d6820dcec58741caa473ed67",
"apiExitCodes": {
"old": 0,
"current": 0
},
"results": [
{
"case": "completed",
"status": "PASS",
"uploadStatus": "completed"
},
{
"case": "partial",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "mixed",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "all-denied",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "gates",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "zero-unicode",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "writer",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "expired-proof",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "cloud-md5-missing",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "recreated-source",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "pagination",
"status": "PASS",
"uploadStatus": "partial"
},
{
"case": "old-api",
"status": "PASS",
"uploadStatus": "partial",
"requiresResyncAfterRestore": false
}
],
"passed": 12,
"failed": 0
}

View File

@ -0,0 +1,224 @@
[
{
"args": [
"pause"
],
"exitCode": 0,
"result": {
"paused": true
},
"stderr": ""
},
{
"args": [
"mapping",
"add",
"/work/fresh-results/matrix/writer/capture",
"--space",
"space",
"--remote-prefix",
"node-test"
],
"exitCode": 0,
"result": {
"bucket": "",
"id": "926b9172-af7c-4f16-99b6-9ab90cdddc52",
"includeHidden": false,
"localRoot": "/work/fresh-results/matrix/writer/capture",
"remotePrefix": "node-test",
"requireDoneMarker": false,
"spaceRootPrefix": "",
"syncSpaceId": "space"
},
"stderr": ""
},
{
"args": [
"sync",
"926b9172-af7c-4f16-99b6-9ab90cdddc52"
],
"exitCode": 50,
"result": {
"conflictCount": 0,
"dryRun": false,
"itemCount": 3,
"mappingId": "926b9172-af7c-4f16-99b6-9ab90cdddc52",
"rescanNeeded": false,
"session": {
"counts": {
"committed": 1,
"create": 3,
"denied": 1,
"failed": 0,
"keptBoth": 0,
"manifest": 3,
"skipped": 0,
"unchanged": 1,
"update": 0
},
"errorSummary": "",
"id": "session-1",
"mappingId": "926b9172-af7c-4f16-99b6-9ab90cdddc52",
"operationId": "op",
"preview": false,
"status": "partial",
"syncSpaceId": "space",
"totalBytes": 50
}
},
"stderr": ""
},
{
"args": [
"pause"
],
"exitCode": 0,
"result": {
"paused": true
},
"stderr": ""
},
{
"args": [
"clean",
"926b9172-af7c-4f16-99b6-9ab90cdddc52",
"--session",
"session-1"
],
"exitCode": 50,
"result": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": true,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "candidate"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "candidate"
}
],
"filesTruncated": false,
"mappingId": "926b9172-af7c-4f16-99b6-9ab90cdddc52",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"stderr": ""
},
{
"args": [
"clean",
"926b9172-af7c-4f16-99b6-9ab90cdddc52",
"--session",
"session-1",
"--execute"
],
"exitCode": 50,
"result": {
"alreadyCleanedFiles": 0,
"blockedFiles": 2,
"candidateBytes": 16,
"candidateFiles": 1,
"deletedBytes": 16,
"deletedFiles": 1,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "source content changed since upload; retained",
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "deleted"
}
],
"filesTruncated": false,
"mappingId": "926b9172-af7c-4f16-99b6-9ab90cdddc52",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"stderr": ""
},
{
"args": [
"clean",
"926b9172-af7c-4f16-99b6-9ab90cdddc52",
"--session",
"session-1",
"--execute"
],
"exitCode": 50,
"result": {
"alreadyCleanedFiles": 1,
"blockedFiles": 2,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "source identity changed since upload; retained",
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "already_cleaned"
}
],
"filesTruncated": false,
"mappingId": "926b9172-af7c-4f16-99b6-9ab90cdddc52",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"stderr": ""
}
]

View File

@ -0,0 +1,224 @@
{
"case": "writer",
"uploadStatus": "partial",
"preview": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 32,
"candidateFiles": 2,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": true,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": null,
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "candidate"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "candidate"
}
],
"filesTruncated": false,
"mappingId": "926b9172-af7c-4f16-99b6-9ab90cdddc52",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"clean": {
"alreadyCleanedFiles": 0,
"blockedFiles": 2,
"candidateBytes": 16,
"candidateFiles": 1,
"deletedBytes": 16,
"deletedFiles": 1,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "source content changed since upload; retained",
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "deleted"
}
],
"filesTruncated": false,
"mappingId": "926b9172-af7c-4f16-99b6-9ab90cdddc52",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"repeat": {
"alreadyCleanedFiles": 1,
"blockedFiles": 2,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
},
{
"itemId": "session-1-item-00001",
"reason": "source identity changed since upload; retained",
"relativePath": "node-test/good.bin",
"sizeBytes": 16,
"status": "retained"
},
{
"itemId": "session-1-item-00002",
"reason": null,
"relativePath": "node-test/same.bin",
"sizeBytes": 16,
"status": "already_cleaned"
}
],
"filesTruncated": false,
"mappingId": "926b9172-af7c-4f16-99b6-9ab90cdddc52",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"apiStats": {
"calls": [
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00002/cleanup-proof",
"status": 200
}
],
"contentReads": 0,
"objects": 3,
"sessions": [
{
"preview": false,
"id": "session-1",
"organizationId": "org_default",
"syncSpaceId": "space",
"credentialId": "credential",
"deviceId": "device",
"mappingId": "926b9172-af7c-4f16-99b6-9ab90cdddc52",
"clientVersion": "",
"protocolVersion": "",
"status": "partial",
"policySnapshot": {
"allowedActions": null,
"maxObjectBytes": 0,
"maxSessionFiles": 0,
"maxSessionBytes": 0,
"maxConcurrentUploads": 0,
"allowDelete": false,
"allowConditionalUpdate": false,
"defaultConflictResolution": "",
"allowForceOverwrite": false
},
"counts": {
"manifest": 3,
"unchanged": 1,
"create": 3,
"update": 0,
"keptBoth": 0,
"skipped": 0,
"denied": 1,
"failed": 0,
"committed": 1
},
"totalBytes": 50,
"operationId": "op",
"createdAt": "",
"updatedAt": "",
"expiresAt": ""
}
]
},
"sourcesAfter": {
"good.bin": {
"exists": true,
"md5": "88715ed7ef62bb8c9be5a24b951acbf2",
"size": 16,
"inode": 1860160,
"mtimeNs": 1793275042976606654,
"ctimeNs": 1793275042983606963
},
"same.bin": {
"exists": false
},
"legacy.bin": {
"exists": true,
"md5": "de6a3ecbdf49fd56f9b4da8cf19f6f5d",
"size": 18,
"inode": 1860162,
"mtimeNs": 1793274922781499624,
"ctimeNs": 1793275042780597982
}
},
"status": "PASS"
}

View File

@ -0,0 +1,219 @@
{
"case": "zero-unicode",
"uploadStatus": "partial",
"preview": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 24,
"candidateFiles": 2,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": true,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/中文 空格.bin",
"sizeBytes": 24,
"status": "candidate"
},
{
"itemId": "session-1-item-00001",
"reason": null,
"relativePath": "node-test/empty.bin",
"sizeBytes": 0,
"status": "candidate"
},
{
"itemId": "session-1-item-00002",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "22768b1b-2f97-43b2-882b-d7ca8afa0d4d",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"clean": {
"alreadyCleanedFiles": 0,
"blockedFiles": 1,
"candidateBytes": 24,
"candidateFiles": 2,
"deletedBytes": 24,
"deletedFiles": 2,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/中文 空格.bin",
"sizeBytes": 24,
"status": "deleted"
},
{
"itemId": "session-1-item-00001",
"reason": null,
"relativePath": "node-test/empty.bin",
"sizeBytes": 0,
"status": "deleted"
},
{
"itemId": "session-1-item-00002",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "22768b1b-2f97-43b2-882b-d7ca8afa0d4d",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"repeat": {
"alreadyCleanedFiles": 2,
"blockedFiles": 1,
"candidateBytes": 0,
"candidateFiles": 0,
"deletedBytes": 0,
"deletedFiles": 0,
"dryRun": false,
"files": [
{
"itemId": "session-1-item-00000",
"reason": null,
"relativePath": "node-test/中文 空格.bin",
"sizeBytes": 24,
"status": "already_cleaned"
},
{
"itemId": "session-1-item-00001",
"reason": null,
"relativePath": "node-test/empty.bin",
"sizeBytes": 0,
"status": "already_cleaned"
},
{
"itemId": "session-1-item-00002",
"reason": "item has not been formally uploaded; retained",
"relativePath": "node-test/legacy.bin",
"sizeBytes": 18,
"status": "retained"
}
],
"filesTruncated": false,
"mappingId": "22768b1b-2f97-43b2-882b-d7ca8afa0d4d",
"recovery": null,
"recoveryNeeded": 0,
"sessionId": "session-1"
},
"apiStats": {
"calls": [
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00000/cleanup-proof",
"status": 200
},
{
"method": "POST",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
},
{
"method": "DELETE",
"path": "/api/external/object-sync/items/session-1-item-00001/cleanup-proof",
"status": 200
}
],
"contentReads": 0,
"objects": 3,
"sessions": [
{
"preview": false,
"id": "session-1",
"organizationId": "org_default",
"syncSpaceId": "space",
"credentialId": "credential",
"deviceId": "device",
"mappingId": "22768b1b-2f97-43b2-882b-d7ca8afa0d4d",
"clientVersion": "",
"protocolVersion": "",
"status": "partial",
"policySnapshot": {
"allowedActions": null,
"maxObjectBytes": 0,
"maxSessionFiles": 0,
"maxSessionBytes": 0,
"maxConcurrentUploads": 0,
"allowDelete": false,
"allowConditionalUpdate": false,
"defaultConflictResolution": "",
"allowForceOverwrite": false
},
"counts": {
"manifest": 3,
"unchanged": 0,
"create": 3,
"update": 0,
"keptBoth": 0,
"skipped": 0,
"denied": 1,
"failed": 0,
"committed": 2
},
"totalBytes": 42,
"operationId": "op",
"createdAt": "",
"updatedAt": "",
"expiresAt": ""
}
]
},
"sourcesAfter": {
"empty.bin": {
"exists": false
},
"中文 空格.bin": {
"exists": false
},
"legacy.bin": {
"exists": true,
"md5": "de6a3ecbdf49fd56f9b4da8cf19f6f5d",
"size": 18,
"inode": 1860142,
"mtimeNs": 1793274921821711540,
"ctimeNs": 1793275041820556800
}
},
"status": "PASS"
}

View File

@ -0,0 +1,15 @@
Compiling reqwest v0.12.28
warning: unused variable: `profile`
--> crates/platform/src/lib.rs:578:28
|
578 | pub fn credential_location(profile: &str) -> Result<CredentialLocation, PlatformError> {
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
|
= note: `#[warn(unused_variables)]` on by default
warning: `drosync-platform` (lib) generated 1 warning
Compiling drosync-updater v1.1.4 (/work/repo/tools/drosync/crates/updater)
Compiling drosync-transfer v1.1.4 (/work/repo/tools/drosync/crates/transfer)
Compiling drosync-daemon v1.1.4 (/work/repo/tools/drosync/crates/daemon)
Compiling drosync-cli v1.1.4 (/work/repo/tools/drosync/crates/cli)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.97s

View File

@ -0,0 +1,35 @@
Compiling syn v2.0.119
Compiling log v0.4.33
Compiling zopfli v0.8.3
Compiling mio v1.2.2
Compiling tracing-core v0.1.36
Compiling notify v8.2.0
Compiling displaydoc v0.2.6
Compiling tracing-attributes v0.1.31
Compiling zip v2.4.2
Compiling tracing v0.1.44
Compiling rust_xlsxwriter v0.80.0
Compiling drosync-core v1.1.4 (/work/repo/tools/drosync/crates/core)
Finished `test` profile [unoptimized + debuginfo] target(s) in 10.48s
Running unittests src/lib.rs (work/current-fresh-target/debug/deps/drosync_core-ec1a06b5afb95a93)
running 17 tests
test cleanup::linux_durability_tests::directory_sync_keeps_the_open_capability_after_parent_path_replacement ... ok
test cleanup::linux_durability_tests::directory_sync_reopens_an_actual_o_path_capability ... ok
test cleanup::linux_durability_tests::persisted_recovery_restores_payload_and_finishes_an_already_restored_file ... ok
test cleanup::linux_durability_tests::zero_and_nonzero_nested_files_complete_durable_cleanup ... ok
test cleanup::race_tests::final_authorization_rejection_retains_verified_payload ... ok
test cleanup::race_tests::final_hash_rejects_same_size_change_even_when_identity_matches ... ok
test cleanup::race_tests::replaced_before_quarantine_is_never_moved ... ok
test cleanup::race_tests::writer_mutation_after_hash_is_retained_for_recovery ... ok
test cleanup::tests::changed_or_traversal_candidates_fail_closed ... ok
test cleanup::tests::clean_requires_content_identity_and_never_deletes_new_source ... ok
test cleanup::tests::crash_after_rename_does_not_authorize_delete ... ok
test cleanup::tests::preview_is_read_only_and_checks_actual_hash ... ok
test cleanup::tests::recovery_restores_without_overwriting_new_data ... ok
test cleanup::tests::restore_does_not_certify_changed_or_identical_replacement_payloads ... ok
test cleanup::tests::restored_guard_rejects_same_content_replacement_and_symlink ... ok
test cleanup::tests::symlink_parent_and_file_are_not_followed ... ok
test cleanup::tests::verified_restore_allows_strict_retry_and_checkpoint_replay ... ok
test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 39 filtered out; finished in 0.06s

View File

@ -0,0 +1,37 @@
warning: unused variable: `profile`
--> crates/platform/src/lib.rs:578:28
|
578 | pub fn credential_location(profile: &str) -> Result<CredentialLocation, PlatformError> {
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
|
= note: `#[warn(unused_variables)]` on by default
warning: `drosync-platform` (lib) generated 1 warning
Compiling drosync-daemon v1.1.4 (/work/repo/tools/drosync/crates/daemon)
Finished `test` profile [unoptimized + debuginfo] target(s) in 8.93s
Running unittests src/lib.rs (work/current-fresh-target/debug/deps/drosync_daemon-3e4663fcccda1842)
running 15 tests
test clean_service::tests::clean_dry_run_does_not_move_or_delete_source ... ok
test clean_service::tests::clean_execute_keeps_new_source_and_records_completion ... ok
test clean_service::tests::clean_full_session_rechecks_cloud_eligibility_and_activity ... ok
test clean_service::tests::clean_old_receipt_without_source_identity_fails_closed ... ok
test clean_service::tests::clean_preserves_conflicting_quarantine_and_reports_recovery ... ok
test clean_service::tests::clean_refuses_ineligible_sessions_active_work_overlap_and_installation ... ok
test clean_service::tests::clean_rejected_cloud_proof_restores_source ... ok
test clean_service::tests::clean_wrong_device_proof_restores_source ... ok
test clean_service::tests::cleanup_proof_expiry_is_monotonic_despite_clock_skew ... ok
test clean_service::tests::completed_and_partial_clean_only_verified_files_in_mixed_sessions ... ok
test clean_service::tests::durable_cleanup_recovery_blocks_sync_install_and_mapping_removal ... ok
test clean_service::tests::partial_receipt_refresh_enables_completed_clean_preview_without_deletion ... ok
test clean_service::tests::rejected_proofs_can_be_retried_without_sync_but_require_fresh_authorization ... ok
test clean_service::tests::restart_recovers_deleted_receipt_but_never_executes_a_pending_delete ... ok
test clean_service::tests::restart_refreshes_only_verified_restore_evidence_without_deleting ... ok
test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 93 filtered out; finished in 0.97s
Running unittests src/main.rs (work/current-fresh-target/debug/deps/drosync_daemon-c368fdbd3311022f)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finished in 0.00s

View File

@ -0,0 +1,14 @@
Compiling smallvec v1.15.2
Compiling drosync-core v1.1.4 (/work/repo/tools/drosync/crates/core)
Compiling rusqlite v0.38.0
Compiling drosync-state v1.1.4 (/work/repo/tools/drosync/crates/state)
Finished `test` profile [unoptimized + debuginfo] target(s) in 3.71s
Running unittests src/lib.rs (work/current-fresh-target/debug/deps/drosync_state-b6b18e068694a395)
running 4 tests
test cleanup::tests::cleanup_receipt_and_pending_retirement_are_one_transaction ... ok
test cleanup::tests::recovery_checkpoints_cannot_replace_a_new_journal ... ok
test cleanup::tests::recovery_does_not_overwrite_changed_scope_or_newer_evidence ... ok
test cleanup::tests::restored_identity_and_journal_retirement_commit_atomically ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 29 filtered out; finished in 0.06s

View File

@ -0,0 +1,241 @@
Compiling syn v3.0.3
Compiling tokio v1.53.1
Compiling serde_derive v1.0.229
Compiling serde v1.0.229
Compiling thiserror-impl v2.0.19
Compiling thiserror v2.0.19
Compiling chrono v0.4.45
Compiling zip v2.4.2
Compiling drosync-protocol v1.1.4 (/work/repo/tools/drosync/crates/protocol)
Compiling hyper v1.11.0
Compiling rust_xlsxwriter v0.80.0
Compiling tower v0.5.3
Compiling hyper-util v0.1.20
Compiling tokio-rustls v0.26.4
Compiling serde_urlencoded v0.7.1
Compiling tokio-util v0.7.19
Compiling hyper-rustls v0.27.9
Compiling tower-http v0.6.11
Compiling drosync-core v1.1.4 (/work/repo/tools/drosync/crates/core)
Compiling reqwest v0.12.28
Compiling drosync-platform v1.1.4 (/work/repo/tools/drosync/crates/platform)
warning: unused variable: `profile`
--> crates/platform/src/lib.rs:578:28
|
578 | pub fn credential_location(profile: &str) -> Result<CredentialLocation, PlatformError> {
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
|
= note: `#[warn(unused_variables)]` on by default
warning: `drosync-platform` (lib) generated 1 warning
Compiling drosync-updater v1.1.4 (/work/repo/tools/drosync/crates/updater)
Compiling drosync-transfer v1.1.4 (/work/repo/tools/drosync/crates/transfer)
Compiling drosync-state v1.1.4 (/work/repo/tools/drosync/crates/state)
Compiling drosync-daemon v1.1.4 (/work/repo/tools/drosync/crates/daemon)
Finished `test` profile [unoptimized + debuginfo] target(s) in 34.32s
Running unittests src/lib.rs (work/current-fresh-target/debug/deps/drosync_core-d7f15690eb88060c)
cleanup::linux_durability_tests::directory_sync_keeps_the_open_capability_after_parent_path_replacement: test
cleanup::linux_durability_tests::directory_sync_reopens_an_actual_o_path_capability: test
cleanup::linux_durability_tests::persisted_recovery_restores_payload_and_finishes_an_already_restored_file: test
cleanup::linux_durability_tests::zero_and_nonzero_nested_files_complete_durable_cleanup: test
cleanup::race_tests::final_authorization_rejection_retains_verified_payload: test
cleanup::race_tests::final_hash_rejects_same_size_change_even_when_identity_matches: test
cleanup::race_tests::replaced_before_quarantine_is_never_moved: test
cleanup::race_tests::writer_mutation_after_hash_is_retained_for_recovery: test
cleanup::tests::changed_or_traversal_candidates_fail_closed: test
cleanup::tests::clean_requires_content_identity_and_never_deletes_new_source: test
cleanup::tests::crash_after_rename_does_not_authorize_delete: test
cleanup::tests::preview_is_read_only_and_checks_actual_hash: test
cleanup::tests::recovery_restores_without_overwriting_new_data: test
cleanup::tests::restore_does_not_certify_changed_or_identical_replacement_payloads: test
cleanup::tests::restored_guard_rejects_same_content_replacement_and_symlink: test
cleanup::tests::symlink_parent_and_file_are_not_followed: test
cleanup::tests::verified_restore_allows_strict_retry_and_checkpoint_replay: test
report::date_contract_tests::report_dates_are_calendar_dates_never_paths_or_prefixes: test
report::tests::absent_file_details_keep_cleanup_and_historical_receipts_distinct: test
report::tests::archived_hash_conflict_is_visible_and_never_completed: test
report::tests::cleaned_batches_are_distinct_from_missing_even_after_empty_directory_removal: test
report::tests::episode_details_match_receipts_and_date_without_false_completion: test
report::tests::file_states_are_exclusive_and_commit_wait_is_not_completed: test
report::tests::missing_pending_sources_are_counted_and_filterable_before_remote_ack: test
report::tests::nested_episode_directory_belongs_to_outer_batch_and_pages_each_file_once: test
report::tests::pending_files_distinguish_stability_marker_and_upload_queue: test
report::tests::recreated_source_outranks_its_old_cleanup_path_without_double_counting: test
report::tests::report_excludes_root_daily_report_but_preserves_nested_payloads: test
report::tests::report_uses_upload_filters_and_requires_source_identity: test
report::tests::summary_query_does_not_retain_full_day_file_rows: test
report::tests::test_format_size: test
report::tests::test_remote_prefix_matching: test
report::tests::test_scan_and_export_lifecycle: test
report::tests::thousand_file_episode_has_exact_missing_path_and_bounded_pages: test
report::tests::unfinished_marker_file_is_counted_and_cannot_make_episode_complete: test
report::tests::unreadable_episode_fails_the_report_instead_of_hiding_missing_data: test
report::tests::weak_metadata_requires_streaming_content_verification: test
runtime_scan_tests::changed_existing_source_and_other_io_errors_are_not_missing: test
runtime_scan_tests::cleanup_quarantine_is_always_excluded_even_when_hidden_files_are_enabled: test
runtime_scan_tests::configured_hash_workers_are_shared_and_invalid_limits_rejected: test
runtime_scan_tests::disappeared_candidate_does_not_abort_remaining_scan_files: test
runtime_scan_tests::missing_and_cancelled_hashes_are_not_logged_as_fatal_scan_errors: test
runtime_scan_tests::non_missing_scan_failures_are_not_silently_skipped: test
runtime_scan_tests::root_walk_and_marker_diagnostics_keep_original_selection_behavior: test
runtime_scan_tests::scan_error_events_preserve_cache_read_and_sink_error_types_and_paths: test
runtime_scan_tests::source_unlinked_while_reading_is_a_missing_file_not_changed_content: test
scan_progress::tests::concurrent_bytes_and_failed_guard_are_not_success_receipts: test
snapshot_tests::cache_skips_unchanged_content_and_rehashes_same_size_rewrite: test
snapshot_tests::scan_digest_and_identity_bind_the_same_bytes_and_done_is_not_payload: test
snapshot_tests::young_files_request_a_follow_up_scan_even_when_events_stop: test
tests::bucket_mapping_defers_space_resolution_to_the_authenticated_daemon: test
tests::paged_scan_bounds_each_emitted_batch: test
tests::real_hash_progress_counts_processed_bytes_and_clears_on_error: test
tests::relative_path_rejects_escape_and_control_characters: test
tests::scan_excludes_root_daily_report_but_preserves_business_files: test
tests::scan_skips_hidden_symlink_and_temporary_files: test
56 tests, 0 benchmarks
Running unittests src/lib.rs (work/current-fresh-target/debug/deps/drosync_daemon-3e4663fcccda1842)
clean_service::tests::clean_dry_run_does_not_move_or_delete_source: test
clean_service::tests::clean_execute_keeps_new_source_and_records_completion: test
clean_service::tests::clean_full_session_rechecks_cloud_eligibility_and_activity: test
clean_service::tests::clean_old_receipt_without_source_identity_fails_closed: test
clean_service::tests::clean_preserves_conflicting_quarantine_and_reports_recovery: test
clean_service::tests::clean_refuses_ineligible_sessions_active_work_overlap_and_installation: test
clean_service::tests::clean_rejected_cloud_proof_restores_source: test
clean_service::tests::clean_wrong_device_proof_restores_source: test
clean_service::tests::cleanup_proof_expiry_is_monotonic_despite_clock_skew: test
clean_service::tests::completed_and_partial_clean_only_verified_files_in_mixed_sessions: test
clean_service::tests::durable_cleanup_recovery_blocks_sync_install_and_mapping_removal: test
clean_service::tests::partial_receipt_refresh_enables_completed_clean_preview_without_deletion: test
clean_service::tests::rejected_proofs_can_be_retried_without_sync_but_require_fresh_authorization: test
clean_service::tests::restart_recovers_deleted_receipt_but_never_executes_a_pending_delete: test
clean_service::tests::restart_refreshes_only_verified_restore_evidence_without_deleting: test
closure_tests::capture_must_exclude_daemon_state_and_explicit_credential_file: test
closure_tests::closure_rejects_parent_prefix_before_contacting_server: test
closure_tests::closure_rejects_regular_file_mapping_before_contacting_server: test
closure_tests::mapping_grants_require_enabled_space_actions_and_relative_scope: test
commit_tests::commit_wait_downloads_details_only_once_when_finished: test
commit_tests::commit_wait_stops_on_remote_abort_without_completing_session: test
entry_tests::retired_ipc_entries_do_not_execute: test
entry_tests::update_check_rejects_unsigned_metadata_without_download_or_installer_state: test
entry_tests::update_policy_actions_are_separate_from_upload_pause: test
ipc_error::tests::api_request_id_and_typed_retryability_cross_the_real_transfer_boundary: test
ipc_error::tests::api_retry_hints_are_kept_without_reclassifying_permanent_failures: test
journal_contract_tests::current_journal_has_a_single_versioned_shape: test
lifecycle_tests::definitive_create_rejection_leaves_mapping_removable: test
lifecycle_tests::legacy_pending_uses_cloud_discovery_and_preserves_failed_recovery: test
lifecycle_tests::paused_preview_is_closed_and_cannot_replace_verified_receipts: test
lifecycle_tests::recovered_remote_terminal_cleans_scan_rows_before_new_sync: test
lifecycle_tests::unknown_create_outcome_preserves_and_replays_the_original_request: test
logging_tests::concurrent_logs_keep_context_and_separate_work_from_wall_time: test
logging_tests::daemon_protocol_uses_shared_constant: test
logging_tests::paused_preflight_gets_one_summary_and_phase_drop_logs_interruption: test
logging_tests::run_id_annotation_preserves_existing_failure_phase_and_metadata: test
logging_tests::summary_is_emitted_once_even_when_shutdown_and_drop_both_try: test
metadata_service::item_refresh_tests::failed_item_refresh_has_its_own_phase_and_api_request_id: test
metadata_service::item_refresh_tests::status_explains_in_flight_item_refresh_and_records_response_metrics: test
metadata_tests::commit_deadline_is_retryable_and_keeps_session_for_recovery: test
metadata_tests::completed_checkpoint_is_reused_and_manifest_count_mismatch_fails_closed: test
metadata_tests::durable_upload_queue_does_not_skip_work_when_resuming_cursor: test
metadata_tests::final_metadata_budget_is_independent_of_commit_deadline: test
metadata_tests::frozen_details_reject_invalid_page_without_advancing_checkpoint: test
metadata_tests::heartbeat_completion_race_confirms_status_and_stops_only_that_lease: test
metadata_tests::heartbeat_suppression_never_hides_other_errors_or_an_active_session: test
metadata_tests::in_flight_metadata_exposes_phase_cursor_and_started_time_before_response: test
metadata_tests::lease_ticks_do_not_interrupt_final_metadata_in_flight: test
metadata_tests::metadata_deadline_is_retryable_and_does_not_publish_local_completion: test
metadata_tests::missing_remote_session_cleanup_failure_preserves_atomic_recovery_state: test
metadata_tests::page_failure_recovery_should_not_redownload_saved_page: test
metadata_tests::progress_failure_rolls_back_page_and_cursor_then_resumes_from_last_atomic_page: test
progress_tracker::tests::restored_bytes_are_not_counted_as_current_network_speed: test
progress_tracker::tests::sampled_progress_retry_reset_and_final_receipt_never_race: test
progress_tracker::tests::server_ack_before_commit_has_full_bytes_without_network_rate: test
query_service::tests::conflicts_reach_every_record_and_cursor_stays_bound_to_session: test
query_service::tests::doctor_verifies_identity_protocol_features_schema_and_upload_grant: test
query_service::tests::query_rejects_invalid_flags_and_does_not_rewrite_cloud_session_status: test
retry_tests::nonretryable_failure_preserves_events_but_does_not_invent_retry_work: test
retry_tests::stage_deadline_requeues_without_any_new_file_event: test
run_diagnostics::tests::deadline_ipc_and_persisted_status_retain_retryable_phase_and_ids: test
run_diagnostics::tests::malformed_diagnostics_never_replace_original_transfer_failure: test
run_diagnostics::tests::progress_merge_survives_phase_changes_and_new_sessions_reset_counters: test
run_diagnostics::tests::stopped_run_clears_in_flight_requests_even_when_future_completion_was_dropped: test
run_diagnostics::tests::terminal_state_keeps_actual_phase_and_last_failure_but_clears_current_error: test
source_protection::tests::blocked_log_ancestors_still_protect_capture_and_symlink_targets: test
source_protection::tests::relative_configuration_source_resolves_from_working_directory: test
source_protection::tests::rotating_log_symlink_inside_capture_cannot_escape_protection: test
source_protection::tests::sensitive_files_and_future_rotating_logs_cannot_be_captured: test
source_protection::tests::symlinked_parent_of_future_secret_is_protected: test
source_protection::tests::unavailable_log_parent_outside_capture_does_not_block_fallback_sync: test
tests::bucket_resolution_fails_closed_for_missing_or_ambiguous_space: test
tests::bucket_resolves_only_when_scoped_space_is_unique: test
tests::item_abortable_error_detects_missing_file_and_conflict: test
tests::multipart_part_size_never_exceeds_five_gib: test
tests::one_tib_object_fits_bos_multipart_limits: test
tests::watcher_ignores_reads_but_tracks_content_changes: test
update_service::tests::awaiting_reboot_cannot_be_reauthorized_or_rolled_back_again: test
update_service::tests::confirmed_ready_target_rotates_receipts_and_unlocks_in_one_transaction: test
update_service::tests::installer_has_not_finished_even_if_target_files_are_already_ready: test
update_service::tests::metadata_check_independently_rejects_tampering_and_incompatible_offers: test
update_service::tests::reboot_and_live_build_evidence_are_required_before_confirmation: test
update_service::tests::recovery_preserves_history_and_blocks_automatic_reupgrade: test
upload_tests::actual_body_observer_reports_bytes_and_validates_before_success: test
upload_tests::actual_upload_body_must_match_scanned_part_digest: test
upload_tests::already_uploaded_object_can_commit_after_local_source_is_removed: test
upload_tests::cancelling_unrequested_creation_never_contacts_control_plane: test
upload_tests::commit_and_receipt_persistence_failures_keep_original_api_error_and_secondary_context: test
upload_tests::configured_global_file_limit_across_mappings: test
upload_tests::control_rate_limit_honors_retry_after_and_reuses_key: test
upload_tests::direct_precondition_failure_recovers_owned_matching_object: test
upload_tests::direct_precondition_failure_with_mismatching_metadata_sends_one_put: test
upload_tests::equivalent_mapping_is_rejected_even_with_new_id: test
upload_tests::failed_presigned_request_does_not_log_authorization_query: test
upload_tests::lost_complete_response_replays_complete_without_reuploading: test
upload_tests::lost_direct_response_with_definitive_conflict_does_not_retransmit: test
upload_tests::lost_put_response_confirms_owned_object_without_reuploading: test
upload_tests::manual_metadata_failure_is_written_to_the_daemon_log: test
upload_tests::missing_local_source_never_aborts_an_uploaded_object_after_commit_outage: test
upload_tests::missing_source_is_skipped_and_completed_cloud_data_is_preserved: test
upload_tests::multipart_workers_fill_four_slots_and_checkpoint_all_parts: test
upload_tests::rejected_commit_logs_file_error_and_stops_live_progress_without_aborting_cloud_data: test
upload_tests::resumed_item_state_requests_overlap_instead_of_blocking_queue_dispatch: test
upload_tests::server_upgrade_capability_is_required_without_legacy_fallback: test
upload_tests::source_changed_after_scan_never_requests_upload: test
upload_tests::temp_events_do_not_starve_stable_captures_but_done_wakes_source: test
upload_tests::transient_direct_put_statuses_retain_bounded_retry_and_renewal: test
upload_tests::uploaded_ack_winning_missing_race_retains_bytes_and_error_on_commit_failure: test
108 tests, 0 benchmarks
Running unittests src/lib.rs (work/current-fresh-target/debug/deps/drosync_state-d95f41eef7b15e3b)
cleanup::tests::cleanup_receipt_and_pending_retirement_are_one_transaction: test
cleanup::tests::recovery_checkpoints_cannot_replace_a_new_journal: test
cleanup::tests::recovery_does_not_overwrite_changed_scope_or_newer_evidence: test
cleanup::tests::restored_identity_and_journal_retirement_commit_atomically: test
confirmed_skip::tests::confirmed_unchanged_files_skip_but_changed_scope_and_failure_do_not: test
confirmed_skip::tests::noncompleted_or_unbound_receipts_remain_in_the_next_manifest: test
confirmed_skip::tests::partial_receipt_is_replanned_until_completed_unchanged_receipt_replaces_it: test
progress::tests::bounded_pages_counts_restart_and_stale_session_are_correct: test
progress::tests::closed_latch_removes_live_samples_before_terminal_batch_can_fail: test
progress::tests::closed_session_cannot_be_resurrected_by_late_upload_samples: test
progress::tests::failed_run_freezes_uploaded_and_waiting_rows_without_closing_or_changing_other_results: test
progress::tests::interruption_visits_only_active_index_in_large_completed_history: test
progress::tests::mapping_removal_removes_only_its_progress_atomically: test
progress::tests::sampled_updates_are_atomic_and_isolated_between_mappings: test
progress::tests::startup_repair_corrects_old_skip_acknowledgment_bytes_without_reviving_activity: test
progress::tests::startup_repair_resume_cursor_commits_with_each_bounded_page: test
progress::tests::startup_repairs_completed_receipts_without_reviving_interrupted_uploads_and_only_once: test
report_receipts::tests::cleanup_evidence_must_match_current_exact_success_receipt: test
report_receipts::tests::latest_pages_cover_all_statuses_with_indexed_date_mapping_scope: test
tests::latest_projection_retains_identity_after_cleanup_and_rejects_old_session_refresh: test
tests::migrations_and_mapping_round_trip: test
tests::opening_current_journal_does_not_write_and_concurrent_writers_do_not_upgrade_read_locks: test
tests::page_and_checkpoint_commit_atomically_even_when_metadata_write_fails: test
tests::read_only_view_cannot_mutate_the_daemon_journal: test
tests::scan_cursor_has_no_duplicates_or_offset_and_keeps_snapshot: test
tests::schema_four_migration_builds_projection_without_inventing_source_identity: test
tests::session_queries_are_bounded_and_active_scoped: test
tests::source_cache_sweep_is_scoped_to_a_successful_mapping_run: test
tests::state_survives_process_restart_with_pending_work: test
tests::terminal_receipt_and_transfer_cleanup_are_atomic: test
upload_order::md5_migration_tests::old_hash_migration_keeps_archive_and_refuses_pending_work: test
upload_order::tests::chronological_pages_ignore_random_ids_and_preserve_ties: test
upload_order::tests::invalid_dates_are_not_capture_times: test
33 tests, 0 benchmarks

View File

@ -0,0 +1,626 @@
Compiling proc-macro2 v1.0.107
Compiling quote v1.0.47
Compiling unicode-ident v1.0.24
Compiling libc v0.2.189
Compiling syn v2.0.119
Compiling cfg-if v1.0.4
Compiling syn v3.0.3
Compiling once_cell v1.21.4
Compiling log v0.4.33
Compiling itoa v1.0.18
Compiling bitflags v2.13.1
Compiling serde_core v1.0.229
Compiling displaydoc v0.2.6
Compiling pin-project-lite v0.2.17
Compiling serde v1.0.229
Compiling mio v1.2.2
Compiling serde_derive v1.0.229
Compiling synstructure v0.13.2
Compiling shlex v2.0.1
Compiling zmij v1.0.23
Compiling version_check v0.9.5
Compiling memchr v2.8.3
Compiling find-msvc-tools v0.1.9
Compiling cc v1.4.0
Compiling generic-array v0.14.7
Compiling serde_json v1.0.151
Compiling zerofrom-derive v0.1.7
Compiling typenum v1.20.1
Compiling zerofrom v0.1.8
Compiling yoke-derive v0.8.2
Compiling stable_deref_trait v1.2.1
Compiling autocfg v1.5.1
Compiling smallvec v1.15.2
Compiling getrandom v0.4.3
Compiling thiserror v2.0.19
Compiling yoke v0.8.3
Compiling num-traits v0.2.19
Compiling tracing-core v0.1.36
Compiling thiserror-impl v2.0.19
Compiling rustix v1.1.4
Compiling ipnet v2.12.0
Compiling block-buffer v0.10.4
Compiling crypto-common v0.1.7
Compiling tracing-attributes v0.1.31
Compiling zerovec-derive v0.11.3
Compiling linux-raw-sys v0.12.1
Compiling tracing v0.1.44
Compiling zerovec v0.11.6
Compiling digest v0.10.7
Compiling bytes v1.12.1
Compiling iana-time-zone v0.1.65
Compiling chrono v0.4.45
Compiling uuid v1.24.0
Compiling base64 v0.22.1
Compiling futures-core v0.3.33
Compiling errno v0.3.14
Compiling io-lifetimes v3.0.1
Compiling io-lifetimes v2.0.4
Compiling crc32fast v1.5.0
Compiling crossbeam-utils v0.8.22
Compiling signal-hook-registry v1.4.8
Compiling drosync-protocol v1.1.4 (/work/repo/tools/drosync/crates/protocol)
Compiling tinystr v0.8.3
Compiling tokio-macros v2.7.1
Compiling socket2 v0.6.5
Compiling writeable v0.6.3
Compiling io-extras v0.19.0
Compiling litemap v0.8.2
Compiling zeroize v1.9.0
Compiling simd-adler32 v0.3.10
Compiling crossbeam-epoch v0.9.20
Compiling icu_locale_core v2.2.0
Compiling tokio v1.53.1
Compiling potential_utf v0.1.5
Compiling zerotrie v0.2.4
Compiling ring v0.17.14
Compiling adler2 v2.0.1
Compiling crossbeam-deque v0.8.7
Compiling icu_properties_data v2.2.0
Compiling cap-primitives v4.0.3
Compiling icu_normalizer_data v2.2.0
Compiling utf8_iter v1.0.4
Compiling inotify-sys v0.1.8
Compiling icu_collections v2.2.0
Compiling miniz_oxide v0.8.9
Compiling icu_provider v2.2.0
Compiling fs-set-times v0.20.3
Compiling rustix-linux-procfs v0.1.1
Compiling http v1.4.2
Compiling hashbrown v0.17.1
Compiling percent-encoding v2.3.2
Compiling equivalent v1.0.2
Compiling ambient-authority v0.0.2
Compiling zip v2.4.2
Compiling cap-std v4.0.3
Compiling maybe-owned v0.3.4
Compiling rayon-core v1.13.0
Compiling bumpalo v3.20.3
Compiling zopfli v0.8.3
Compiling indexmap v2.14.0
Compiling http-body v1.1.0
Compiling flate2 v1.1.9
Compiling rustls-pki-types v1.15.1
Compiling getrandom v0.2.17
Compiling slab v0.4.12
Compiling subtle v2.6.1
Compiling futures-task v0.3.33
Compiling same-file v1.0.6
Compiling httparse v1.10.1
Compiling cap-fs-ext v4.0.3
Compiling untrusted v0.9.0
Compiling futures-util v0.3.33
Compiling walkdir v2.5.0
Compiling icu_properties v2.2.0
Compiling inotify v0.11.4
Compiling icu_normalizer v2.2.0
Compiling notify-types v2.1.0
Compiling either v1.17.0
Compiling tower-service v0.3.3
Compiling try-lock v0.2.5
Compiling rustls v0.23.42
Compiling rayon v1.12.0
Compiling want v0.3.1
Compiling notify v8.2.0
Compiling rust_xlsxwriter v0.80.0
Compiling idna_adapter v1.2.2
Compiling rustls-webpki v0.103.13
Compiling form_urlencoded v1.2.2
Compiling futures-channel v0.3.33
Compiling md-5 v0.10.6
Compiling atomic-waker v1.1.2
Compiling hyper v1.11.0
Compiling idna v1.1.0
Compiling sync_wrapper v1.0.2
Compiling tower-layer v0.3.3
Compiling tower v0.5.3
Compiling tokio-rustls v0.26.4
Compiling url v2.5.8
Compiling hyper-util v0.1.20
Compiling drosync-core v1.1.4 (/work/repo/tools/drosync/crates/core)
Compiling webpki-roots v1.0.9
Compiling futures-sink v0.3.33
Compiling semver v1.0.28
Compiling ryu v1.0.23
Compiling serde_urlencoded v0.7.1
Compiling rustc_version v0.4.1
Compiling tokio-util v0.7.19
Compiling hyper-rustls v0.27.9
Compiling tower-http v0.6.11
Compiling http-body-util v0.1.4
Compiling option-ext v0.2.0
Compiling pkg-config v0.3.33
Compiling vcpkg v0.2.15
Compiling dirs-sys v0.5.0
Compiling libsqlite3-sys v0.36.0
Compiling reqwest v0.12.28
Compiling curve25519-dalek v4.1.3
Compiling fastrand v2.5.0
Compiling foldhash v0.2.0
Compiling hashbrown v0.16.1
Compiling tempfile v3.27.0
Compiling directories v6.0.0
Compiling cpufeatures v0.2.17
Compiling signature v2.2.0
Compiling ed25519 v2.2.3
Compiling sha2 v0.10.9
Compiling hashlink v0.11.1
Compiling regex-syntax v0.8.11
Compiling fallible-streaming-iterator v0.1.9
Compiling fallible-iterator v0.3.0
Compiling regex-automata v0.4.16
Compiling rusqlite v0.38.0
Compiling ed25519-dalek v2.2.0
Compiling drosync-platform v1.1.4 (/work/repo/tools/drosync/crates/platform)
Compiling lazy_static v1.5.0
Compiling hex v0.4.3
warning: unused variable: `profile`
--> crates/platform/src/lib.rs:578:28
|
578 | pub fn credential_location(profile: &str) -> Result<CredentialLocation, PlatformError> {
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
|
= note: `#[warn(unused_variables)]` on by default
Compiling sharded-slab v0.1.7
warning: `drosync-platform` (lib) generated 1 warning
Compiling matchers v0.2.0
Compiling tracing-log v0.2.0
Compiling thread_local v1.1.10
Compiling nu-ansi-term v0.50.3
Compiling tracing-subscriber v0.3.23
Compiling drosync-updater v1.1.4 (/work/repo/tools/drosync/crates/updater)
Compiling drosync-state v1.1.4 (/work/repo/tools/drosync/crates/state)
Compiling anyhow v1.0.104
Compiling drosync-transfer v1.1.4 (/work/repo/tools/drosync/crates/transfer)
Compiling utf8parse v0.2.2
Compiling anstyle-parse v1.0.0
Compiling colorchoice v1.0.5
Compiling is_terminal_polyfill v1.70.2
Compiling anstyle-query v1.1.5
Compiling anstyle v1.0.14
Compiling anstream v1.0.0
Compiling drosync-daemon v1.1.4 (/work/repo/tools/drosync/crates/daemon)
Compiling clap_lex v1.1.0
Compiling heck v0.5.0
Compiling strsim v0.11.1
Compiling clap_builder v4.6.2
Compiling clap_derive v4.6.4
Compiling clap v4.6.4
Compiling drosync-cli v1.1.4 (/work/repo/tools/drosync/crates/cli)
warning: `drosync-platform` (lib test) generated 1 warning (1 duplicate)
Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 26s
Running unittests src/main.rs (work/current-fresh-target/debug/deps/drosync-97379993b75669be)
running 31 tests
test command_tests::canonical_actions_have_one_entry ... ok
test command_tests::clean_help_describes_per_file_terminal_session_cleanup ... ok
test command_tests::daily_requirements_have_canonical_cli_entries_and_config ... ok
test command_tests::doctor_readiness_and_exit_codes_must_agree ... ok
test command_tests::dry_run_success_requires_confirmed_preview_cleanup ... ok
test command_tests::ipc_disconnects_are_retryable_but_invalid_response_schemas_are_not ... ok
test command_tests::local_status_pagination_is_bounded_and_not_a_conflict_alias ... ok
test command_tests::mixed_cleanup_keeps_nonzero_exit_without_losing_partial_results ... ok
test command_tests::recovered_device_uses_auth_and_remote_status_is_not_a_second_cloud_entry ... ok
test command_tests::retired_command_entries_are_rejected ... ok
test command_tests::rpc_error_metadata_survives_cli_output_without_message_guessing ... ok
test command_tests::sync_exit_codes_preserve_business_failures ... ok
test episodes::tests::episode_filters_are_exclusive_and_pagination_retains_global_counts ... ok
test report_service::tests::cleanup_evidence_is_date_scoped_and_a_new_source_overrides_history ... ok
test report_service::tests::current_receipt_union_covers_all_statuses_missing_directories_and_recreated_sources ... ok
test report_service::tests::failed_publication_does_not_follow_destination_symlink_or_truncate_source ... ok
test report_service::tests::file_cursors_preserve_unicode_paths_and_reject_changed_scope_or_filter ... ok
test report_service::tests::missing_source_receipts_keep_partial_and_removed_batches_incomplete ... ok
test report_service::tests::report_names_distinguish_roots_and_mappings ... ok
test update_command::tests::permanent_installer_failures_are_not_marked_retryable ... ok
test update_command::tests::readiness_poll_waits_through_restart_wrong_attempt_and_unready_state ... ok
test update_command::tests::success_requires_same_attempt_target_and_installed_readiness ... ok
test web_server::tests::complete_fragmented_request_lines_support_long_cursors ... ok
test web_server::tests::complete_request_and_headers_in_one_write_preserve_buffered_headers ... ok
test web_server::tests::dashboard_has_no_control_export_or_page_alias_routes ... ok
test web_server::tests::file_query_is_read_only_and_rejects_ambiguous_parameters ... ok
test web_server::tests::file_response_pages_real_sources_and_keeps_day_counts ... ok
test web_server::tests::invalid_report_dates_are_client_errors ... ok
test web_server::tests::preparation_is_bound_to_the_current_running_scan ... ok
test web_server::tests::progress_is_read_only_bounded_and_decodes_opaque_cursors ... ok
test web_server::tests::report_routes_share_capacity_while_progress_and_method_checks_remain_available ... ok
test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s
Running unittests src/lib.rs (work/current-fresh-target/debug/deps/drosync_core-dc1b437edcea68aa)
running 56 tests
test cleanup::linux_durability_tests::directory_sync_keeps_the_open_capability_after_parent_path_replacement ... ok
test cleanup::linux_durability_tests::directory_sync_reopens_an_actual_o_path_capability ... ok
test cleanup::linux_durability_tests::persisted_recovery_restores_payload_and_finishes_an_already_restored_file ... ok
test cleanup::linux_durability_tests::zero_and_nonzero_nested_files_complete_durable_cleanup ... ok
test cleanup::race_tests::final_authorization_rejection_retains_verified_payload ... ok
test cleanup::race_tests::final_hash_rejects_same_size_change_even_when_identity_matches ... ok
test cleanup::race_tests::replaced_before_quarantine_is_never_moved ... ok
test cleanup::race_tests::writer_mutation_after_hash_is_retained_for_recovery ... ok
test cleanup::tests::changed_or_traversal_candidates_fail_closed ... ok
test cleanup::tests::clean_requires_content_identity_and_never_deletes_new_source ... ok
test cleanup::tests::crash_after_rename_does_not_authorize_delete ... ok
test cleanup::tests::preview_is_read_only_and_checks_actual_hash ... ok
test cleanup::tests::recovery_restores_without_overwriting_new_data ... ok
test cleanup::tests::restore_does_not_certify_changed_or_identical_replacement_payloads ... ok
test cleanup::tests::restored_guard_rejects_same_content_replacement_and_symlink ... ok
test cleanup::tests::symlink_parent_and_file_are_not_followed ... ok
test cleanup::tests::verified_restore_allows_strict_retry_and_checkpoint_replay ... ok
test report::date_contract_tests::report_dates_are_calendar_dates_never_paths_or_prefixes ... ok
test report::tests::absent_file_details_keep_cleanup_and_historical_receipts_distinct ... ok
test report::tests::archived_hash_conflict_is_visible_and_never_completed ... ok
test report::tests::cleaned_batches_are_distinct_from_missing_even_after_empty_directory_removal ... ok
test report::tests::episode_details_match_receipts_and_date_without_false_completion ... ok
test report::tests::file_states_are_exclusive_and_commit_wait_is_not_completed ... ok
test report::tests::missing_pending_sources_are_counted_and_filterable_before_remote_ack ... ok
test report::tests::nested_episode_directory_belongs_to_outer_batch_and_pages_each_file_once ... ok
test report::tests::pending_files_distinguish_stability_marker_and_upload_queue ... ok
test report::tests::recreated_source_outranks_its_old_cleanup_path_without_double_counting ... ok
test report::tests::report_excludes_root_daily_report_but_preserves_nested_payloads ... ok
test report::tests::report_uses_upload_filters_and_requires_source_identity ... FAILED
test report::tests::summary_query_does_not_retain_full_day_file_rows ... ok
test report::tests::test_format_size ... ok
test report::tests::test_remote_prefix_matching ... ok
test report::tests::test_scan_and_export_lifecycle ... ok
test report::tests::thousand_file_episode_has_exact_missing_path_and_bounded_pages ... ok
test report::tests::unfinished_marker_file_is_counted_and_cannot_make_episode_complete ... ok
test report::tests::unreadable_episode_fails_the_report_instead_of_hiding_missing_data ... ok
test report::tests::weak_metadata_requires_streaming_content_verification ... ok
test runtime_scan_tests::changed_existing_source_and_other_io_errors_are_not_missing ... ok
test runtime_scan_tests::cleanup_quarantine_is_always_excluded_even_when_hidden_files_are_enabled ... ok
test runtime_scan_tests::configured_hash_workers_are_shared_and_invalid_limits_rejected ... ok
test runtime_scan_tests::disappeared_candidate_does_not_abort_remaining_scan_files ... ok
test runtime_scan_tests::missing_and_cancelled_hashes_are_not_logged_as_fatal_scan_errors ... ok
test runtime_scan_tests::non_missing_scan_failures_are_not_silently_skipped ... ok
test runtime_scan_tests::root_walk_and_marker_diagnostics_keep_original_selection_behavior ... ok
test runtime_scan_tests::scan_error_events_preserve_cache_read_and_sink_error_types_and_paths ... ok
test runtime_scan_tests::source_unlinked_while_reading_is_a_missing_file_not_changed_content ... ok
test scan_progress::tests::concurrent_bytes_and_failed_guard_are_not_success_receipts ... ok
test snapshot_tests::cache_skips_unchanged_content_and_rehashes_same_size_rewrite ... ok
test snapshot_tests::scan_digest_and_identity_bind_the_same_bytes_and_done_is_not_payload ... ok
test snapshot_tests::young_files_request_a_follow_up_scan_even_when_events_stop ... ok
test tests::bucket_mapping_defers_space_resolution_to_the_authenticated_daemon ... ok
test tests::paged_scan_bounds_each_emitted_batch ... ok
test tests::real_hash_progress_counts_processed_bytes_and_clears_on_error ... ok
test tests::relative_path_rejects_escape_and_control_characters ... ok
test tests::scan_excludes_root_daily_report_but_preserves_business_files ... ok
test tests::scan_skips_hidden_symlink_and_temporary_files ... ok
failures:
---- report::tests::report_uses_upload_filters_and_requires_source_identity stdout ----
thread 'report::tests::report_uses_upload_filters_and_requires_source_identity' panicked at crates/core/src/report.rs:2815:9:
assertion `left == right` failed: same-size edits must invalidate the receipt
left: 1
right: 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
report::tests::report_uses_upload_filters_and_requires_source_identity
test result: FAILED. 55 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s
error: test failed, to rerun pass `-p drosync-core --lib`
Running unittests src/lib.rs (work/current-fresh-target/debug/deps/drosync_daemon-f9938918a9428903)
running 108 tests
test clean_service::tests::clean_dry_run_does_not_move_or_delete_source ... ok
test clean_service::tests::clean_execute_keeps_new_source_and_records_completion ... ok
test clean_service::tests::clean_full_session_rechecks_cloud_eligibility_and_activity ... ok
test clean_service::tests::clean_old_receipt_without_source_identity_fails_closed ... ok
test clean_service::tests::clean_preserves_conflicting_quarantine_and_reports_recovery ... ok
test clean_service::tests::clean_refuses_ineligible_sessions_active_work_overlap_and_installation ... ok
test clean_service::tests::clean_rejected_cloud_proof_restores_source ... ok
test clean_service::tests::clean_wrong_device_proof_restores_source ... ok
test clean_service::tests::cleanup_proof_expiry_is_monotonic_despite_clock_skew ... ok
test clean_service::tests::completed_and_partial_clean_only_verified_files_in_mixed_sessions ... ok
test clean_service::tests::durable_cleanup_recovery_blocks_sync_install_and_mapping_removal ... ok
test clean_service::tests::partial_receipt_refresh_enables_completed_clean_preview_without_deletion ... ok
test clean_service::tests::rejected_proofs_can_be_retried_without_sync_but_require_fresh_authorization ... ok
test clean_service::tests::restart_recovers_deleted_receipt_but_never_executes_a_pending_delete ... ok
test clean_service::tests::restart_refreshes_only_verified_restore_evidence_without_deleting ... ok
test closure_tests::capture_must_exclude_daemon_state_and_explicit_credential_file ... ok
test closure_tests::closure_rejects_parent_prefix_before_contacting_server ... ok
test closure_tests::closure_rejects_regular_file_mapping_before_contacting_server ... ok
test closure_tests::mapping_grants_require_enabled_space_actions_and_relative_scope ... ok
test commit_tests::commit_wait_downloads_details_only_once_when_finished ... ok
test commit_tests::commit_wait_stops_on_remote_abort_without_completing_session ... ok
test entry_tests::retired_ipc_entries_do_not_execute ... ok
test entry_tests::update_check_rejects_unsigned_metadata_without_download_or_installer_state ... ok
test entry_tests::update_policy_actions_are_separate_from_upload_pause ... ok
test ipc_error::tests::api_request_id_and_typed_retryability_cross_the_real_transfer_boundary ... ok
test ipc_error::tests::api_retry_hints_are_kept_without_reclassifying_permanent_failures ... ok
test journal_contract_tests::current_journal_has_a_single_versioned_shape ... ok
test lifecycle_tests::definitive_create_rejection_leaves_mapping_removable ... ok
test lifecycle_tests::legacy_pending_uses_cloud_discovery_and_preserves_failed_recovery ... ok
test lifecycle_tests::paused_preview_is_closed_and_cannot_replace_verified_receipts ... ok
test lifecycle_tests::recovered_remote_terminal_cleans_scan_rows_before_new_sync ... ok
test lifecycle_tests::unknown_create_outcome_preserves_and_replays_the_original_request ... ok
test logging_tests::concurrent_logs_keep_context_and_separate_work_from_wall_time ... ok
test logging_tests::daemon_protocol_uses_shared_constant ... ok
test logging_tests::paused_preflight_gets_one_summary_and_phase_drop_logs_interruption ... ok
test logging_tests::run_id_annotation_preserves_existing_failure_phase_and_metadata ... ok
test logging_tests::summary_is_emitted_once_even_when_shutdown_and_drop_both_try ... ok
test metadata_service::item_refresh_tests::failed_item_refresh_has_its_own_phase_and_api_request_id ... ok
test metadata_service::item_refresh_tests::status_explains_in_flight_item_refresh_and_records_response_metrics ... ok
test metadata_tests::commit_deadline_is_retryable_and_keeps_session_for_recovery ... ok
test metadata_tests::completed_checkpoint_is_reused_and_manifest_count_mismatch_fails_closed ... ok
test metadata_tests::durable_upload_queue_does_not_skip_work_when_resuming_cursor ... ok
test metadata_tests::final_metadata_budget_is_independent_of_commit_deadline ... ok
test metadata_tests::frozen_details_reject_invalid_page_without_advancing_checkpoint ... ok
test metadata_tests::heartbeat_completion_race_confirms_status_and_stops_only_that_lease ... ok
test metadata_tests::heartbeat_suppression_never_hides_other_errors_or_an_active_session ... ok
test metadata_tests::in_flight_metadata_exposes_phase_cursor_and_started_time_before_response ... ok
test metadata_tests::lease_ticks_do_not_interrupt_final_metadata_in_flight ... ok
test metadata_tests::metadata_deadline_is_retryable_and_does_not_publish_local_completion ... ok
test metadata_tests::missing_remote_session_cleanup_failure_preserves_atomic_recovery_state ... ok
test metadata_tests::page_failure_recovery_should_not_redownload_saved_page ... ok
test metadata_tests::progress_failure_rolls_back_page_and_cursor_then_resumes_from_last_atomic_page ... ok
test progress_tracker::tests::restored_bytes_are_not_counted_as_current_network_speed ... ok
test progress_tracker::tests::sampled_progress_retry_reset_and_final_receipt_never_race ... ok
test progress_tracker::tests::server_ack_before_commit_has_full_bytes_without_network_rate ... ok
test query_service::tests::conflicts_reach_every_record_and_cursor_stays_bound_to_session ... ok
test query_service::tests::doctor_verifies_identity_protocol_features_schema_and_upload_grant ... ok
test query_service::tests::query_rejects_invalid_flags_and_does_not_rewrite_cloud_session_status ... ok
test retry_tests::nonretryable_failure_preserves_events_but_does_not_invent_retry_work ... ok
test retry_tests::stage_deadline_requeues_without_any_new_file_event ... ok
test run_diagnostics::tests::deadline_ipc_and_persisted_status_retain_retryable_phase_and_ids ... ok
test run_diagnostics::tests::malformed_diagnostics_never_replace_original_transfer_failure ... ok
test run_diagnostics::tests::progress_merge_survives_phase_changes_and_new_sessions_reset_counters ... ok
test run_diagnostics::tests::stopped_run_clears_in_flight_requests_even_when_future_completion_was_dropped ... ok
test run_diagnostics::tests::terminal_state_keeps_actual_phase_and_last_failure_but_clears_current_error ... ok
test source_protection::tests::blocked_log_ancestors_still_protect_capture_and_symlink_targets ... ok
test source_protection::tests::relative_configuration_source_resolves_from_working_directory ... ok
test source_protection::tests::rotating_log_symlink_inside_capture_cannot_escape_protection ... ok
test source_protection::tests::sensitive_files_and_future_rotating_logs_cannot_be_captured ... ok
test source_protection::tests::symlinked_parent_of_future_secret_is_protected ... ok
test source_protection::tests::unavailable_log_parent_outside_capture_does_not_block_fallback_sync ... ok
test tests::bucket_resolution_fails_closed_for_missing_or_ambiguous_space ... ok
test tests::bucket_resolves_only_when_scoped_space_is_unique ... ok
test tests::item_abortable_error_detects_missing_file_and_conflict ... ok
test tests::multipart_part_size_never_exceeds_five_gib ... ok
test tests::one_tib_object_fits_bos_multipart_limits ... ok
test tests::watcher_ignores_reads_but_tracks_content_changes ... ok
test update_service::tests::awaiting_reboot_cannot_be_reauthorized_or_rolled_back_again ... ok
test update_service::tests::confirmed_ready_target_rotates_receipts_and_unlocks_in_one_transaction ... ok
test update_service::tests::installer_has_not_finished_even_if_target_files_are_already_ready ... ok
test update_service::tests::metadata_check_independently_rejects_tampering_and_incompatible_offers ... ok
test update_service::tests::reboot_and_live_build_evidence_are_required_before_confirmation ... ok
test update_service::tests::recovery_preserves_history_and_blocks_automatic_reupgrade ... ok
test upload_tests::actual_body_observer_reports_bytes_and_validates_before_success ... ok
test upload_tests::actual_upload_body_must_match_scanned_part_digest ... ok
test upload_tests::already_uploaded_object_can_commit_after_local_source_is_removed ... ok
test upload_tests::cancelling_unrequested_creation_never_contacts_control_plane ... ok
test upload_tests::commit_and_receipt_persistence_failures_keep_original_api_error_and_secondary_context ... ok
test upload_tests::configured_global_file_limit_across_mappings ... ok
test upload_tests::control_rate_limit_honors_retry_after_and_reuses_key ... ok
test upload_tests::direct_precondition_failure_recovers_owned_matching_object ... ok
test upload_tests::direct_precondition_failure_with_mismatching_metadata_sends_one_put ... ok
test upload_tests::equivalent_mapping_is_rejected_even_with_new_id ... ok
test upload_tests::failed_presigned_request_does_not_log_authorization_query ... ok
test upload_tests::lost_complete_response_replays_complete_without_reuploading ... ok
test upload_tests::lost_direct_response_with_definitive_conflict_does_not_retransmit ... ok
test upload_tests::lost_put_response_confirms_owned_object_without_reuploading ... ok
test upload_tests::manual_metadata_failure_is_written_to_the_daemon_log ... ok
test upload_tests::missing_local_source_never_aborts_an_uploaded_object_after_commit_outage ... ok
test upload_tests::missing_source_is_skipped_and_completed_cloud_data_is_preserved ... ok
test upload_tests::multipart_workers_fill_four_slots_and_checkpoint_all_parts ... ok
test upload_tests::rejected_commit_logs_file_error_and_stops_live_progress_without_aborting_cloud_data ... ok
test upload_tests::resumed_item_state_requests_overlap_instead_of_blocking_queue_dispatch ... ok
test upload_tests::server_upgrade_capability_is_required_without_legacy_fallback ... ok
test upload_tests::source_changed_after_scan_never_requests_upload ... ok
test upload_tests::temp_events_do_not_starve_stable_captures_but_done_wakes_source ... ok
test upload_tests::transient_direct_put_statuses_retain_bounded_retry_and_renewal ... ok
test upload_tests::uploaded_ack_winning_missing_race_retains_bytes_and_error_on_commit_failure ... ok
test result: ok. 108 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 24.60s
Running unittests src/main.rs (work/current-fresh-target/debug/deps/drosync_daemon-f8bd2c00737e26b9)
running 13 tests
test file_logging::tests::both_destinations_failing_replays_to_stderr_without_retry_or_growth ... ok
test file_logging::tests::bounded_writer_flushes_on_shutdown_and_rotates_with_retention ... ok
test file_logging::tests::failed_direct_write_replays_triggering_large_event ... ok
test file_logging::tests::failed_flush_replays_the_entire_unconfirmed_batch ... ok
test file_logging::tests::fallback_failure_after_switch_preserves_later_events_on_stderr ... ok
test file_logging::tests::fallback_is_selected_when_primary_is_not_a_writable_file ... ok
test file_logging::tests::queue_backpressure_retains_all_events_and_oversized_events_are_explicit ... ok
test file_logging::tests::runtime_rotation_failure_replays_event_to_fallback ... drosync file logging failed at /tmp/.tmpzTPdVJ/primary.log: Is a directory (os error 21); retaining 1 unconfirmed events (39 bytes)
drosync file logging switched to /tmp/.tmpzTPdVJ/fallback.log; replayed unconfirmed events may repeat entries already partly written to /tmp/.tmpzTPdVJ/primary.log
ok
test file_logging::tests::signed_queries_and_url_userinfo_are_redacted_together ... ok
test file_logging::tests::signed_url_credentials_are_removed ... ok
test file_logging::tests::tracing_records_file_metadata_status_and_verification ... ok
test file_logging::tests::unconfirmed_replay_buffer_stays_bounded_under_continuous_traffic ... ok
test filter_tests::debug_keeps_client_requests_but_not_dependency_headers_or_chunks ... ok
test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
Running unittests src/lib.rs (work/current-fresh-target/debug/deps/drosync_platform-b9907bceef5df900)
running 12 tests
test config::tests::configuration_rejects_retired_business_keys_and_shell_syntax_without_echoing_secrets ... ok
test config::tests::explicit_missing_configuration_fails_but_absent_default_is_allowed ... ok
test config::tests::parses_literal_file_configuration_and_bounded_concurrency ... ok
test credential_transaction_tests::missing_secure_stage_cleanup_is_idempotent ... ok
test tests::arm64_credential_store_round_trips_through_explicit_secret_file ... ok
test tests::headless_secret_atomic_write_read_and_delete_round_trip ... ok
test tests::headless_secret_path_requires_an_explicit_nonempty_value ... ok
test tests::headless_secret_rejects_an_unsafe_parent_directory ... ok
test tests::headless_secret_requires_private_permissions ... ok
test tests::release_platform_keys_cover_supported_client_targets ... ok
test tests::unix_socket_is_restricted_to_current_user ... ok
test tests::update_key_environment_is_platform_specific ... ok
test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Running unittests src/lib.rs (work/current-fresh-target/debug/deps/drosync_protocol-c6a2444ca5942282)
running 4 tests
test tests::manifest_page_fixture_round_trips ... ok
test tests::manifest_parser_fuzz_corpus_never_panics ... ok
test tests::nullable_server_collections_decode_as_empty ... ok
test tests::status_contract_is_snake_case ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (work/current-fresh-target/debug/deps/drosync_state-ca05af0b2b318450)
running 33 tests
test cleanup::tests::cleanup_receipt_and_pending_retirement_are_one_transaction ... ok
test cleanup::tests::recovery_checkpoints_cannot_replace_a_new_journal ... ok
test cleanup::tests::recovery_does_not_overwrite_changed_scope_or_newer_evidence ... ok
test cleanup::tests::restored_identity_and_journal_retirement_commit_atomically ... ok
test confirmed_skip::tests::confirmed_unchanged_files_skip_but_changed_scope_and_failure_do_not ... ok
test confirmed_skip::tests::noncompleted_or_unbound_receipts_remain_in_the_next_manifest ... ok
test confirmed_skip::tests::partial_receipt_is_replanned_until_completed_unchanged_receipt_replaces_it ... ok
test progress::tests::bounded_pages_counts_restart_and_stale_session_are_correct ... ok
test progress::tests::closed_latch_removes_live_samples_before_terminal_batch_can_fail ... ok
test progress::tests::closed_session_cannot_be_resurrected_by_late_upload_samples ... ok
test progress::tests::failed_run_freezes_uploaded_and_waiting_rows_without_closing_or_changing_other_results ... ok
test progress::tests::interruption_visits_only_active_index_in_large_completed_history ... ok
test progress::tests::mapping_removal_removes_only_its_progress_atomically ... ok
test progress::tests::sampled_updates_are_atomic_and_isolated_between_mappings ... ok
test progress::tests::startup_repair_corrects_old_skip_acknowledgment_bytes_without_reviving_activity ... ok
test progress::tests::startup_repair_resume_cursor_commits_with_each_bounded_page ... ok
test progress::tests::startup_repairs_completed_receipts_without_reviving_interrupted_uploads_and_only_once ... ok
test report_receipts::tests::cleanup_evidence_must_match_current_exact_success_receipt ... ok
test report_receipts::tests::latest_pages_cover_all_statuses_with_indexed_date_mapping_scope ... ok
test tests::latest_projection_retains_identity_after_cleanup_and_rejects_old_session_refresh ... ok
test tests::migrations_and_mapping_round_trip ... ok
test tests::opening_current_journal_does_not_write_and_concurrent_writers_do_not_upgrade_read_locks ... ok
test tests::page_and_checkpoint_commit_atomically_even_when_metadata_write_fails ... ok
test tests::read_only_view_cannot_mutate_the_daemon_journal ... ok
test tests::scan_cursor_has_no_duplicates_or_offset_and_keeps_snapshot ... ok
test tests::schema_four_migration_builds_projection_without_inventing_source_identity ... ok
test tests::session_queries_are_bounded_and_active_scoped ... ok
test tests::source_cache_sweep_is_scoped_to_a_successful_mapping_run ... ok
test tests::state_survives_process_restart_with_pending_work ... ok
test tests::terminal_receipt_and_transfer_cleanup_are_atomic ... ok
test upload_order::md5_migration_tests::old_hash_migration_keeps_archive_and_refuses_pending_work ... ok
test upload_order::tests::chronological_pages_ignore_random_ids_and_preserve_ties ... ok
test upload_order::tests::invalid_dates_are_not_capture_times ... ok
test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s
Running unittests src/lib.rs (work/current-fresh-target/debug/deps/drosync_transfer-9146e3541beb5d5c)
running 21 tests
test configured_concurrency_tests::configured_upload_limit_is_shared_across_clients ... ok
test diagnostics::tests::commit_wait_is_throttled_without_catchup_bursts ... ok
test diagnostics::tests::notices_continue_during_a_blocked_control_request ... ok
test diagnostics::tests::spawned_work_keeps_run_and_separate_byte_counters ... ok
test logging_tests::failed_put_duration_also_excludes_waiting_for_global_permit ... ok
test logging_tests::info_omits_successful_request_details ... ok
test logging_tests::lost_response_rate_limit_then_success_logs_each_retry_without_secrets ... ok
test logging_tests::retry_exhaustion_is_visible_and_body_is_not_logged ... ok
test logging_tests::successful_put_duration_excludes_waiting_for_global_permit ... ok
test logging_tests::timeout_logs_safe_classification_and_recovers ... ok
test tests::client_transport_policy_is_explicit ... ok
test tests::presigned_uploads_remain_https_only_off_loopback ... ok
test tests::raw_upload_response_retryability_is_status_aware ... ok
test tests::update_check_percent_encodes_semver_build_metadata ... ok
test upload_header_tests::absent_bound_length_uses_known_source_length_once ... ok
test upload_header_tests::bound_headers_do_not_bypass_actual_stream_digest_verification ... ok
test upload_header_tests::direct_bound_headers_emit_one_wire_content_length_and_verified_body ... ok
test upload_header_tests::impossible_or_overflowing_source_ranges_never_connect ... ok
test upload_header_tests::invalid_upload_headers_are_nonretryable_and_never_connect ... ok
test upload_header_tests::multipart_bound_headers_emit_one_length_for_exact_source_range ... ok
test upload_header_tests::validated_signed_content_length_keeps_its_original_value ... ok
test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.34s
Running unittests src/lib.rs (work/current-fresh-target/debug/deps/drosync_updater-7c45f76d28470f1b)
running 13 tests
test download::tests::concurrent_preparations_share_verified_cache_without_clobbering ... ok
test download::tests::incorrect_download_is_never_published_and_cleans_temporary_file ... ok
test installed_build::tests::readiness_requires_both_installed_binary_digests_and_schema ... ok
test tests::authorization_plan_never_interpolates_unquoted_package_paths ... ok
test tests::explicit_portable_marker_rejects_native_installation ... ok
test tests::failed_target_uses_verified_private_baseline_once ... previous release restored
ok
test tests::installer_logs_cannot_pollute_a_single_json_response ... ok
test tests::malformed_identity_and_schema_or_server_mismatch_are_rejected ... ok
test tests::private_install_copy_rejects_a_changed_source_before_any_installer ... drosync package changed before authorized installation
ok
test tests::rollout_changes_do_not_change_v2_artifact_identity ... ok
test tests::signed_manifest_and_artifact_verify ... ok
test tests::signed_manifest_rejects_tampering ... ok
test tests::signed_manifest_requires_linux_arm64_and_exact_platform_key ... ok
test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s
Running unittests src/bin/drosync-sign-manifest.rs (work/current-fresh-target/debug/deps/drosync_sign_manifest-d823533d0e7292c0)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests drosync_core
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests drosync_daemon
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests drosync_platform
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests drosync_protocol
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests drosync_state
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests drosync_transfer
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests drosync_updater
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
error: 1 target failed:
`-p drosync-core --lib`

View File

@ -0,0 +1,14 @@
{
"checkedAt": "2026-10-29T11:29:16.104224+00:00",
"sourceCommit": "e14c27fc1426f356c944f4fd3f0f55b48de4a488",
"dockerContext": "colima-wishforge",
"engine": "\"29.5.2\" \"linux\" \"aarch64\" 6 12513595392",
"testLimits": {
"cpus": 2,
"memoryBytes": 4294967296,
"network": "none",
"hostDataMounts": false
},
"authorizedRestart": "colima restart --profile wishforge",
"productionDeploymentPerformed": false
}

View File

@ -0,0 +1,54 @@
{
"baseline-cache-1.txt": "10841a4320b5092a07255d1de42628cbe17c5614a9071845518b181e3c26d0d9",
"baseline-cache-2.txt": "2adc47fbcc9b650421ce28b589e2161c48a25af91133808c4eaa1aedf84019da",
"baseline-cache-3.txt": "554034b98fc45d7fecea7b5dd966f86b78bf3e863f6bd0fee3995f982b5c7993",
"baseline-cache-4.txt": "24028b0040a070cfacb42742202f4b98759690bb1e147b9a08f01ae666183195",
"baseline-cache-5.txt": "fabc4e32191fb11e42f16296263de5f3b0297f95eba8caee4f7fab8f9c79add3",
"baseline-core.txt": "c32d56f48e1ba8ea73bde4ae82c4c743bb50c6737bde20d3f3431ff00c643644",
"baseline-daemon.txt": "26a63ecf0ce350e22c54e51cf9c3fef5bf8ae686c551105af52d77f683ceac08",
"baseline-report-1.txt": "b9e4f22f8e0a48313e264cb455981ac9a4f05307b69ed723eed7d367c9f2cd22",
"baseline-report-2.txt": "d999f2c8a56fe782537f75ec9fc1a9de403637966c1965245c5eb208a1d02ffd",
"baseline-report-3.txt": "cdafe796bf8cc172c5b131c21b5079654d8cb00bf4185318bac4acdf4d6acc42",
"baseline-report-4.txt": "21d4f733f1122a45919db5131bbb511b0b7c70ad75c549984e5cf1a481b51d7b",
"baseline-report-5.txt": "bc049f742945ed7070c1177a0cde7cbb6c993c957e99d0cab484b43ff8da530d",
"baseline-test-list.txt": "47416347e934314bf6087407f4bc66ef31f0deb4f0648d276df112d2f7f61bbc",
"baseline-upload-1.txt": "e9d29176e6ac535fe4a9486ffe683e3dd59fa37459393aa2aa682c188b27b4db",
"baseline-upload-2.txt": "773a242f3acffb2029303905d6fd0e0f2931455dc3e08f3fbf69aafc9b7535a8",
"baseline-upload-3.txt": "f3686ceb3f2c22bab04f86c87488fa8a0db1d7604cd7b6a16ebcf7bf6c840370",
"baseline-upload-4.txt": "662e2b004431d0173135ae1961dfb204298554c0b324f06b3bebf5c69717ccad",
"baseline-upload-5.txt": "a7c5973c59311395b3d981d5757d5c164f69c67da63f0cf01408f0c2ba4a3900",
"cli-all-denied.json": "4436b3c9cc1a5e7fc2d024d5adc1836357be0727f168edec5748d454931f64da",
"cli-cloud-md5-missing.json": "85b66dc9d18e104ccd1a548f83e695a8a0ea91bdfc9bd1e0dc8ca290cfb37b2c",
"cli-completed.json": "dd881f9fb66c11ec61c7dd095790a969ad6c53df05b35b552d8a60f0e962c4f6",
"cli-expired-proof-commands.json": "4e7839d86fa47efad14e358cfff9d167ee53a0b6d2551358d984e740369d685e",
"cli-expired-proof.json": "1d3e29afd2ce8b7ebb24e153cd8f48406f0f16a60b158b371865196154750c34",
"cli-gates.json": "e12c23f3283cf4924acc6b924ac305e2091c93aa0ebc1ff30df5b4481d5b6bfd",
"cli-matrix.txt": "3f31e3ddce6b8e3e0f3b744fb143c62a529ad46815846909ec533715b1dbe060",
"cli-mixed-commands.json": "6c8adab808df536e7e43f033b03d4055acaf7909f17396c13a8faf480503c96d",
"cli-mixed.json": "b99a723d39279a57c75d3918bbfdc585b60a3d6990322c85ec2a8b71ec7e4707",
"cli-old-api-commands.json": "35ba8d40e3e55c2245ed1546acc0fb69534a619a44313771e560e10976689f16",
"cli-old-api.json": "8de00efd1de47e84bcbaae491ccc508c535c028cd9b6b99e037a83deabae152b",
"cli-pagination-commands.json.gz": "e3d0d26cab41268f4fe90479933c6766c3127ed78742d4a1cb2b4a114f78c08f",
"cli-pagination.json.gz": "a2baeda75ae65a965947c23f93791bc5a5f9fd3b5d820b5758981a13337901b5",
"cli-partial.json": "f2f395039cc7e4d93e6fae244241cc7aeddf15096d9c41020885b303695a1b0d",
"cli-postconditions.json": "ff8175213dba5e68c6efa9e6df19be36d2c2f95a8c0eab34159f3b722366e0a4",
"cli-recreated-source.json": "0796717fcde2f78577fb0a09ddf33122ffe6f4e47c2f3280eb6522fe10fce6cf",
"cli-summary.json": "d7cf6908b0c5fc5a984f70cd386b7abfbbee1a7baa19fbea175d2e820cba43cb",
"cli-writer-commands.json": "d52a7337b1b5640e1b7b8abc50dbd0e60d785f1482806dc51bd7e0cf58b430a2",
"cli-writer.json": "f1a2810fb7340723199cd41c420e0b0eae4a1ecc16ba7564ff2f8873149e1725",
"cli-zero-unicode.json": "56c1a934468ac16b365d47bd46fdf6d6777cc355b75c230defd7428f6b3fb49a",
"current-build.txt": "dc49f0b63b8ce5332dd9d933259a3ec0b6f7d7ceaa2ab3bfd0b7fa5db3e1338c",
"current-core-cleanup.txt": "56d260ed96234dfbfac65348e2f9dbe4fbbff50c7a9979aef392d112ec3b8665",
"current-daemon-cleanup.txt": "5324e1a8b9ab4286f15d31d58721fd964036e14f8138a40043c704220fe5126e",
"current-state-cleanup.txt": "ac161c550b7e0a813339c8a7008c0927868e6fec38533d5ef522244680c79a1b",
"current-test-list.txt": "a040558a0cd4dac721c9f1122ef56e22fb5788f3f4d2aa6c79c304745eb28c82",
"current-workspace.txt": "5d806d581ff64a13350fb6a2fc8c2ff778f2bc1f9a5952a1f34293f34b4c50ee",
"environment.json": "0e20487ad4e130f5b9ebd34726c58f42fae20131a768697494cd422f8b65882e",
"identity-probe.rs": "65db0904fd126c7512bab356b7c66895b853e13bc84975878b8f884ea245b0ec",
"identity-probe.txt": "edbda4f0fbd5edc517a7854134ff05ad116011065ed4a820e3fa14cbe1686e8d",
"metadata.json": "253d318112475760fcfd70d4cdf44fcaedc77884c55811fcedca1d11482835d4",
"results.json": "67dd396542520e99d76be07cf3e4392b7fdb064c008b2d1ed66cc07dd52cd5a6",
"run-isolated-checks.sh": "e0d762ffe4a86a4e2b4f6f2dbfdb953eaad092c28ae799fc3ec00538087691e8",
"source-sha256.json": "4eb6880571fa98c399f73e64b06aeead460c4c75faedcce8c48c7aa6a0120614",
"test-counts.json": "4769ea687298df94df8fe2beabdabf76aee28a81a111f1f7cf9255b563dd9f95"
}

View File

@ -0,0 +1,52 @@
use std::fs::{self, File, FileTimes, Metadata};
use std::io;
use std::os::unix::fs::MetadataExt;
use std::path::Path;
use std::time::{SystemTime, UNIX_EPOCH};
#[derive(Clone, Debug, PartialEq, Eq)]
struct Identity {
size: u64,
modified: Option<(u64, u32)>,
created: Option<(u64, u32)>,
device: u64,
inode: u64,
changed: (i64, i64),
}
fn timestamp(value: io::Result<SystemTime>) -> Option<(u64, u32)> {
value.ok()?.duration_since(UNIX_EPOCH).ok().map(|value| (value.as_secs(), value.subsec_nanos()))
}
fn identity(meta: &Metadata) -> Identity {
Identity {size: meta.len(), modified: timestamp(meta.modified()), created: timestamp(meta.created()), device: meta.dev(), inode: meta.ino(), changed: (meta.ctime(), meta.ctime_nsec())}
}
fn probe(root: &Path, restore_mtime: bool) -> io::Result<(usize, Option<Identity>)> {
let mut indistinguishable = 0;
let mut first = None;
for index in 0..500 {
let file = root.join(format!("{}-{index}.bin", if restore_mtime {"restored-mtime"} else {"normal-write"}));
fs::write(&file, b"AAAA")?;
let metadata = fs::metadata(&file)?;
let original = identity(&metadata);
fs::write(&file, b"BBBB")?;
if restore_mtime {
File::options().write(true).open(&file)?.set_times(FileTimes::new().set_modified(metadata.modified()?))?;
}
if original == identity(&fs::metadata(&file)?) {
indistinguishable += 1;
if first.is_none() { first = Some(original); }
}
assert_eq!(fs::read(file)?, b"BBBB");
}
Ok((indistinguishable, first))
}
fn main() -> io::Result<()> {
let path = std::env::args().nth(1).expect("new empty probe output directory");
let root = Path::new(&path);
fs::create_dir(root)?;
let plain = probe(root, false)?;
let restored = probe(root, true)?;
println!("{{\"iterationsPerMode\":500,\"normalWriteIdenticalMetadata\":{},\"restoredMtimeIdenticalMetadata\":{},\"allContentsChanged\":true}}", plain.0, restored.0);
println!("normal write example: {:?}", plain.1);
println!("restored mtime example: {:?}", restored.1);
Ok(())
}

View File

@ -0,0 +1,3 @@
{"iterationsPerMode":500,"normalWriteIdenticalMetadata":485,"restoredMtimeIdenticalMetadata":474,"allContentsChanged":true}
normal write example: Some(Identity { size: 4, modified: Some((1793275208, 54321564)), created: Some((1793275208, 54321564)), device: 46, inode: 1489889, changed: (1793275208, 54321564) })
restored mtime example: Some(Identity { size: 4, modified: Some((1793275208, 135353567)), created: Some((1793275208, 135353567)), device: 46, inode: 1490391, changed: (1793275208, 135353567) })

View File

@ -0,0 +1,46 @@
{
"recordedAt": "2026-10-29T12:05:56.815406+00:00",
"sourceCommit": "e14c27fc1426f356c944f4fd3f0f55b48de4a488",
"baselineCommit": "9fa582bc892a46843b7191f536883f6c9ce81b2c",
"hostRestart": {
"command": "colima restart --profile wishforge",
"exitCode": 0,
"dockerAfter": "active",
"k3sAfter": "active",
"deletedVMOrData": false
},
"container": "drosync-linux-acceptance-ioiwai",
"network": "none",
"mounts": [],
"rust": "1.90.0",
"kernel": "Linux 6.8.0-117-generic aarch64",
"separateFreshCargoTargets": true,
"cargoIncremental": false,
"releasePackageGenerated": false,
"productionDeploymentPerformed": false,
"productionDataCleaned": false,
"installedClientsUpgraded": false,
"discardedBaselineComparison": "Shared Cargo target comparison listed newly introduced tests on old source; excluded from baseline conclusions. Only fresh-results with verified test lists is used.",
"logNormalization": {
"action": "Remove only extra blank lines at EOF; assertions and output text unchanged",
"files": [
"baseline-cache-1.txt",
"baseline-cache-2.txt",
"baseline-cache-3.txt",
"baseline-cache-4.txt",
"baseline-cache-5.txt",
"baseline-report-1.txt",
"baseline-report-3.txt",
"baseline-report-4.txt",
"baseline-report-5.txt",
"baseline-upload-1.txt",
"baseline-upload-2.txt",
"baseline-upload-3.txt",
"baseline-upload-4.txt",
"baseline-upload-5.txt",
"current-core-cleanup.txt",
"current-daemon-cleanup.txt",
"current-state-cleanup.txt"
]
}
}

View File

@ -0,0 +1,38 @@
{
"commands": {
"current-workspace": 101,
"current-test-list": 0,
"current-core-cleanup": 0,
"current-state-cleanup": 0,
"current-daemon-cleanup": 0,
"current-build": 0,
"cli-matrix": 0,
"baseline-core": 101,
"baseline-daemon": 101,
"baseline-test-list": 0,
"baseline-report-1": 0,
"baseline-upload-1": 0,
"baseline-cache-1": 0,
"baseline-report-2": 101,
"baseline-upload-2": 0,
"baseline-cache-2": 0,
"baseline-report-3": 0,
"baseline-upload-3": 0,
"baseline-cache-3": 0,
"baseline-report-4": 0,
"baseline-upload-4": 0,
"baseline-cache-4": 0,
"baseline-report-5": 0,
"baseline-upload-5": 0,
"baseline-cache-5": 0
},
"testBinaryIdentityVerified": true,
"binarySha256": {
"drosync": "2f77cd0c894802ec353a956c0fbc58c49762fa37a53bb979b9b1b184a7ebc495",
"drosync-daemon": "dae2d25d3f77856484579f354d6579b9475ac24bb4df79c7c658167f365a6e6c",
"api-current": "08b964f311906e1d80447b5f6354cb42983900d397b417bbb30dc12bfee93a22",
"api-old": "8e2196d6e9c8dc59846a444400ddd40d9a7a9d3a7a6b4471cac827e1f91d06ea"
},
"freshTargets": true,
"incremental": false
}

View File

@ -0,0 +1,32 @@
#!/bin/sh
set -u
mkdir /work/fresh-results || exit 2
mkdir /work/current-fresh-target /work/baseline-fresh-target || exit 2
: > /work/fresh-results/exits.tsv
run_check() {
name="$1"
shift
"$@" > "/work/fresh-results/$name.txt" 2>&1
code=$?
printf '%s\t%s\n' "$name" "$code" >> /work/fresh-results/exits.tsv
printf '%s exit=%s\n' "$name" "$code"
return "$code"
}
export CARGO_INCREMENTAL=0
run_check current-workspace cargo test --manifest-path /work/repo/tools/drosync/Cargo.toml --target-dir /work/current-fresh-target --locked --offline --workspace --no-fail-fast -- --test-threads=1
run_check current-test-list cargo test --manifest-path /work/repo/tools/drosync/Cargo.toml --target-dir /work/current-fresh-target --locked --offline -p drosync-core -p drosync-state -p drosync-daemon --lib -- --list
run_check current-core-cleanup cargo test --manifest-path /work/repo/tools/drosync/Cargo.toml --target-dir /work/current-fresh-target --locked --offline -p drosync-core cleanup:: -- --test-threads=1
run_check current-state-cleanup cargo test --manifest-path /work/repo/tools/drosync/Cargo.toml --target-dir /work/current-fresh-target --locked --offline -p drosync-state cleanup:: -- --test-threads=1
run_check current-daemon-cleanup cargo test --manifest-path /work/repo/tools/drosync/Cargo.toml --target-dir /work/current-fresh-target --locked --offline -p drosync-daemon clean_service:: -- --test-threads=1
if run_check current-build cargo build --manifest-path /work/repo/tools/drosync/Cargo.toml --target-dir /work/current-fresh-target --locked --offline -p drosync-cli -p drosync-daemon; then
run_check cli-matrix python3 -I /work/repo/scripts/drosync-partial-clean-acceptance.py --bin-dir /work/current-fresh-target/debug --api-test-bin /work/bin/api-current.test --old-api-test-bin /work/bin/api-old.test --output /work/fresh-results/matrix --cases completed,partial,mixed,all-denied,gates,zero-unicode,writer,expired-proof,cloud-md5-missing,recreated-source,pagination,old-api
fi
run_check baseline-core cargo test --manifest-path /work/baseline/tools/drosync/Cargo.toml --target-dir /work/baseline-fresh-target --locked --offline -p drosync-core -- --test-threads=1
run_check baseline-daemon cargo test --manifest-path /work/baseline/tools/drosync/Cargo.toml --target-dir /work/baseline-fresh-target --locked --offline -p drosync-daemon --lib -- --test-threads=1
run_check baseline-test-list cargo test --manifest-path /work/baseline/tools/drosync/Cargo.toml --target-dir /work/baseline-fresh-target --locked --offline -p drosync-core -p drosync-state -p drosync-daemon --lib -- --list
for attempt in 1 2 3 4 5; do
run_check "baseline-report-$attempt" cargo test --manifest-path /work/baseline/tools/drosync/Cargo.toml --target-dir /work/baseline-fresh-target --locked --offline -p drosync-core report_uses_upload_filters_and_requires_source_identity -- --test-threads=1
run_check "baseline-upload-$attempt" cargo test --manifest-path /work/baseline/tools/drosync/Cargo.toml --target-dir /work/baseline-fresh-target --locked --offline -p drosync-daemon --lib source_changed_after_scan_never_requests_upload -- --test-threads=1
run_check "baseline-cache-$attempt" cargo test --manifest-path /work/baseline/tools/drosync/Cargo.toml --target-dir /work/baseline-fresh-target --locked --offline -p drosync-core cache_skips_unchanged_content_and_rehashes_same_size_rewrite -- --test-threads=1
done
python3 -I -c 'import hashlib,json,pathlib,re; p=pathlib.Path("/work/fresh-results"); exits={line.split()[0]:int(line.split()[1]) for line in (p/"exits.tsv").read_text().splitlines()}; names=("verified_restore_allows_strict_retry_and_checkpoint_replay", "rejected_proofs_can_be_retried_without_sync_but_require_fresh_authorization", "restored_identity_and_journal_retirement_commit_atomically"); current=(p/"current-test-list.txt").read_text(); old=(p/"baseline-test-list.txt").read_text(); assert all(name in current and name not in old for name in names), "test binary identity mismatch"; binaries={name:hashlib.sha256(pathlib.Path(path).read_bytes()).hexdigest() for name,path in {"drosync":"/work/current-fresh-target/debug/drosync","drosync-daemon":"/work/current-fresh-target/debug/drosync-daemon","api-current":"/work/bin/api-current.test","api-old":"/work/bin/api-old.test"}.items()}; report={"commands":exits,"testBinaryIdentityVerified":True,"binarySha256":binaries,"freshTargets":True,"incremental":False}; (p/"results.json").write_text(json.dumps(report,indent=2)+"\n"); print(json.dumps(report,indent=2))'

View File

@ -0,0 +1,102 @@
{
"internal/api/testdata/drosync-release-v2-rust.json": "53697ab64c2f3ba8f2d96c5e4144389698d6183e1be787131e201ac549dd7afa",
"scripts/drosync-local-daily-acceptance.py": "e3e8018443664155dc6401ef2e3563d5d9fba2c0d6820dcec58741caa473ed67",
"scripts/drosync-partial-clean-acceptance.py": "96fe011d6f2bd14aa521e0bbdb84da7e951e615b91809a3e47f0782adaa12cda",
"tools/drosync/.gitignore": "e925b19b8e8068e6b35e89e59ed2416033e473ea1ab2af690601e2fb6fadff54",
"tools/drosync/Cargo.lock": "c6dad553f2ece34cebbfa8f96e94c0bbe8e025161cb79872dd992fa054c75dac",
"tools/drosync/Cargo.toml": "a9129eb4891a9ef5d69bf88b6bef6b5b8b3a6ccaee1ddf6d4d1b363591a9424b",
"tools/drosync/README.md": "c00d5df5a289ad4f8620827b7001cc006f48cb2162b86b82cebdfa2813cd9913",
"tools/drosync/crates/cli/Cargo.toml": "70402ec9090b86f9d582ab6a3eea3b56d6836535217487d1cb5ed57870d9931e",
"tools/drosync/crates/cli/src/command_tests.rs": "f04b29cbb18da83d35e6e6e023edf09839dfe5f21f366230023190e1b60199ed",
"tools/drosync/crates/cli/src/dashboard.html": "3814ca86140847174191213f6b66fb740d2f6ec676980610b5192196de0e47ad",
"tools/drosync/crates/cli/src/episodes.rs": "42118b039f8a767d3f242ae1219eb35d31fb70920990543c3b5b28a827242651",
"tools/drosync/crates/cli/src/main.rs": "2bb17092db32135e93bc156e86e16dfe08ba01d2094f648628d940b333d01eee",
"tools/drosync/crates/cli/src/report_service.rs": "d784e2b9f7dfa2e41a88cbffe50d80a29c30bc55ef5af806a5a02a6d6fbbc09b",
"tools/drosync/crates/cli/src/update_command.rs": "915447f8cb840197749bfa1f5a8e2df2d99ea6690669667c9b9ad1524f811e85",
"tools/drosync/crates/cli/src/web_server.rs": "a9f3342aeb4d038e6e2d89bc28f7ec6efb47d8688390055c8a69065effb33f30",
"tools/drosync/crates/core/Cargo.toml": "4ee58fd0f3fb587444c0a431abd5965f7d0b366007dae23deb7152d3beadb8cc",
"tools/drosync/crates/core/examples/scan-benchmark.rs": "7d7b0cb4455ad1dc59329a43da50832cc33aee9377303113305d61bbcb5c554c",
"tools/drosync/crates/core/src/cleanup.rs": "f3aee690dfb5db82128b3f864746c289b00220960750653e7898a9c8238bea9a",
"tools/drosync/crates/core/src/lib.rs": "a84810814249a62e773470698c565706b975c5450b8f0473454cfdc2a9aeb10b",
"tools/drosync/crates/core/src/report.rs": "7c4b473131519e549a004e8049e4bdfbd262de5629c01f3f699d76c0666d13e5",
"tools/drosync/crates/core/src/scan_progress.rs": "c635f1aa431de3d577fc0e7429f6aa88fb69d75150d35daa524396a70cafe480",
"tools/drosync/crates/daemon/Cargo.toml": "45a291bc63a349fe53ac4cf1cf264300cedafee681f522a8bb16c6e466475801",
"tools/drosync/crates/daemon/src/auth_service.rs": "6e4fea0db91155015f3d5d6287a3144bbfd33b1de329b4706e4afce0ccb8265d",
"tools/drosync/crates/daemon/src/clean_service.rs": "3eb033de43e730f958c0117dd00416abd8801f975495fa6242e67d5de9898e86",
"tools/drosync/crates/daemon/src/closure_tests.rs": "4aa49e5d068fef95095bd52d212f040191202bec3fbdf258849359204174fe0f",
"tools/drosync/crates/daemon/src/commit_tests.rs": "6b98d7a11ab0127b497aefcb3c03c9002883fa5e9c5e40a756951b8a9af72000",
"tools/drosync/crates/daemon/src/entry_tests.rs": "cc38394de8b346b95e3ca9130ed25c5d49b1dd6c3b58e9bb66a567f01dd56bca",
"tools/drosync/crates/daemon/src/file_logging.rs": "604407cf625b63fe6dabba3ee0fd9cc87c51c24801575f99eff8b97c1ba49f1d",
"tools/drosync/crates/daemon/src/ipc_error.rs": "c7211d1029ab088838a8b8247e30941a9c5b280579c229d0f05cc573d9ede3f0",
"tools/drosync/crates/daemon/src/item_refresh_tests.rs": "531f655df75393d86f574e54eb970b7b0aee66e5c441d1dbc60a5e66fb3fb974",
"tools/drosync/crates/daemon/src/lib.rs": "0ca44821e4c0e61e60ddd9c2d20bffbf359147cba75a642a0e9b7f60fe057458",
"tools/drosync/crates/daemon/src/lifecycle_tests.rs": "cfa5d1769530a029291199693b685dc24d4ce3d946ac291117531f43ef2635ea",
"tools/drosync/crates/daemon/src/logging_tests.rs": "82daf9b6e91988decf3a95f1bbb0a14474906cd3a97c2af02f5d8ae5427af518",
"tools/drosync/crates/daemon/src/main.rs": "45200236e840e9a67ef88c98dc5614967f2c98236b53ba175cff03feeea2e818",
"tools/drosync/crates/daemon/src/metadata_service.rs": "6ab8214e467970aa7c613c9d3a148839122ad4094464192393fb1d52bd2cf180",
"tools/drosync/crates/daemon/src/metadata_tests.rs": "b48b37b36cab447e37c4781bdb2085f5e2d8b640c4de36911e164ca40041ad6a",
"tools/drosync/crates/daemon/src/progress_tracker.rs": "1966ac5fa120f365d51d1ca8ef7f1edddf8f734504c669fcfde1e9c974b6fc1f",
"tools/drosync/crates/daemon/src/query_service.rs": "31ebed2d4c72f81b4d46c06bd5ea066add0ce588b1f5c2033f31735bf91132fe",
"tools/drosync/crates/daemon/src/retry_tests.rs": "c8c137b66554542e87101bc2261abe0c8fad2a29fa49b344e65d6c26c3b9332c",
"tools/drosync/crates/daemon/src/run_diagnostics.rs": "031c8871ed360f6707637683c4c455db778e0c238d2b8e86b53c9b25755acad2",
"tools/drosync/crates/daemon/src/run_diagnostics/tests.rs": "d956981bd6415314b6f50cb40748250970b7ecabf8f4af2122e6ccdc9f0b2f8e",
"tools/drosync/crates/daemon/src/source_protection.rs": "70e302bbe29a7d4da41562de6587e5a586c02610414b2621b2e3b2adecd3fbb2",
"tools/drosync/crates/daemon/src/update_service.rs": "b2fa6f15070e92f1398b360d32738b12a9a84b8a2140c1b5635041878b0eeb92",
"tools/drosync/crates/daemon/src/upload_tests.rs": "21a386378d9b8b719f555cbbc643e7039e0fea0ae73e92a054af536cf3ebc747",
"tools/drosync/crates/platform/Cargo.toml": "2f1552e42e9dcec584bd61a847c7471e0c6659faec5b926d7ff7c9ba96ae8332",
"tools/drosync/crates/platform/src/config.rs": "25eecf864efa0370c5a5de97719328794d8581ce24f9edfe9ef5f0ee8a68806e",
"tools/drosync/crates/platform/src/lib.rs": "07ba64f7fa7afc2fd924a8c239d2edaf04df93ba1e9ae9314818ba8d59b192d0",
"tools/drosync/crates/protocol/Cargo.toml": "6faad29a4b5377f38e6318cfe4e5b4ed37281f69177f90f654a67f2a45883f95",
"tools/drosync/crates/protocol/src/generated.rs": "de8b10b80d407f626978f3a818128d6cf48cbb32f9104a5d557dc0079326de0a",
"tools/drosync/crates/protocol/src/lib.rs": "e0aa7891a7f02baaa61d2f99373e4acfb78f6e48e056c97a384c1620e73a20b7",
"tools/drosync/crates/state/Cargo.toml": "8e95646217b3f72629033b1b8da07165dc537076b0938fbdfa0ccbcc95e9159a",
"tools/drosync/crates/state/examples/metadata_benchmark.rs": "daecd4c9dfdfa27f365b8898dc7b2b9bb0c47f9bb389b30f0b320a81da6d9fde",
"tools/drosync/crates/state/src/cleanup.rs": "dc7f5e3d1324a6c4cec9b3ddb1a682cbfd578d33d0d9c5a58cef140dd5aee075",
"tools/drosync/crates/state/src/confirmed_skip.rs": "25dbb12922b5da83ebdb9132555b728854cc50003288acc9073236caf036b035",
"tools/drosync/crates/state/src/lib.rs": "c6ee2d75e481fd7db9199aeff69bdc7f52f1991fcb04f2c57a42d42bcf3e7f3e",
"tools/drosync/crates/state/src/progress.rs": "6b74aa31942d2866fde5e57b361efbfac6aa4a2f43e23247e177e239d1ea7697",
"tools/drosync/crates/state/src/report_receipts.rs": "3b5425d403953a511f4b42008d981d5a35ee12024e762e994a60f6a7c08ccb31",
"tools/drosync/crates/state/src/upload_order.rs": "e6c20c25234f4f96a47763794f252222549291b2e98aa709e9b66c24834527b4",
"tools/drosync/crates/transfer/Cargo.toml": "1c0363ea2140117219e1d7022dbc0cc046964049579e7fc9c61a1a2f0c29dec7",
"tools/drosync/crates/transfer/src/cleanup.rs": "4a36691377cc429caa121600837dd79082d469051cad1247b55c2e5b2779b1fc",
"tools/drosync/crates/transfer/src/configured_concurrency_tests.rs": "9925c4f64de9bc3863399988614e389a6281c677ce3bef9b82887cdfb35fc60b",
"tools/drosync/crates/transfer/src/diagnostics.rs": "1d149f7f39e173566e00abcc32fa6d53b4f689025e6a1c3600f1b31d742a0e75",
"tools/drosync/crates/transfer/src/lib.rs": "d35bdf4d2ba214c8ca8d2a7000dc07c5454f98231de4332f1d11f03ee79233eb",
"tools/drosync/crates/transfer/src/logging_tests.rs": "46edc6aadaeb0ebc0af287227f2407b25f5bbe2f5c1bfcb7ab600b5e2b181942",
"tools/drosync/crates/transfer/src/upload_header_tests.rs": "9c13a4666e8eacb2d4e0577872b0d454b3e0cc18cfcb1b5bd36dc730ad4496de",
"tools/drosync/crates/updater/Cargo.toml": "96d6888056810a1281362715aa7d338b4f48400d40c92c7fccd95d118224f40f",
"tools/drosync/crates/updater/src/bin/drosync-sign-manifest.rs": "5282084b961090c9deb30fc7415ba90a3c3aa41d1d8f0619fbb3039dd5b37e65",
"tools/drosync/crates/updater/src/download.rs": "9a607d5b529763125bff753998f58a451ada7a1cdbae97ab9e2f5014ad128d40",
"tools/drosync/crates/updater/src/installed_build.rs": "7e116e43a6318106b68ef538b52ff70f205e30eade9f01d12ec7b1f87b3a8333",
"tools/drosync/crates/updater/src/installer_stdio.rs": "93267a5e1a90ca40931567657a23bd72391c9ed47f4166c77d3fc25e2b4d90d2",
"tools/drosync/crates/updater/src/lib.rs": "65aad80f46f48d65fbcca209640cac5dc0127c4277d98b4aa6f4bc3d2a32b8b0",
"tools/drosync/crates/updater/src/release.rs": "1941f2a37e471d83f9b9f7a78e6c24a75a0a58dc3d21c9ed6d82674d9137d949",
"tools/drosync/packaging/build-metadata.py": "5e174b5b007f82d81da6d902354904ce1b80aa00cc02978b0c126c92b1f755c7",
"tools/drosync/packaging/build-preview.sh": "9edcee395cd3e817fbbd77eb378ebe34ff083529ed50b529c5c5b45cfb38d422",
"tools/drosync/packaging/build-release.sh": "7002a53439e9c124dd8f7517b6f85f2f8ae1cb6f80af9a38a4132e397333f256",
"tools/drosync/packaging/linux/PORTABLE-SYSTEMD-README.md": "807c99140aa93a9358e616215e937dd8f384c8efa2461720ced4506364b6cbd1",
"tools/drosync/packaging/linux/build-deb.sh": "0fd9ab73fd1a492487f5acba32631c3caabdf22736d00f87dd9e3f2f1ce997cd",
"tools/drosync/packaging/linux/build-portable.sh": "26f516cf6a1e8c68945c5a884d67ce457b454433b671a38aab8bda460c491333",
"tools/drosync/packaging/linux/debian/control": "2e8b44e76eb54516c70bda8f336b58b53e9f8bc3eb7af1643a82fafe74018590",
"tools/drosync/packaging/linux/debian/postinst": "1ad70bc85f487f1e2fa0ae9f59853b67a87b7ef1f0ecd60842a8a895a1a57250",
"tools/drosync/packaging/linux/debian/preinst": "f872fc7af28f2964045664cf89834724e5dc41defec15bf8c358d3d5d0907007",
"tools/drosync/packaging/linux/debian/prerm": "dcffed3a81874b9408755af2ff3e94b3d2aa3f53f55c88f1b36bd7498eea4bd3",
"tools/drosync/packaging/linux/drosync-portable.service": "e1a7c9f2d1ac62941ac32afa4e0252834bd49e5c4f327061fff578b14af6e539",
"tools/drosync/packaging/linux/drosync.service": "f07b1454a3f8760b944b3e1609a008faede112069c634d3b353b31ccac6a25e4",
"tools/drosync/packaging/linux/environment": "cd73ece7ef684aa6f4dab3b3e51802034071d93ed037e20342d936d757acb9bb",
"tools/drosync/packaging/linux/install-systemd-portable.sh": "2d60ec94414806364dc084dececa2875c9aee175776108c6885ff62a55c49232",
"tools/drosync/packaging/linux/uninstall-systemd-portable.sh": "1c85d7782b93876da6aeaff766b09eb1487997e80fae2918e507195c47e875bf",
"tools/drosync/packaging/linux/verify-arm64-portable.sh": "c1b9de238a065bc9d1a5a5d9596011d6121bbeacc0c41781b2c3c904ef751e1e",
"tools/drosync/packaging/macos/build-pkg.sh": "75159754bfb43f7a5bdcaff3836c5a36790ad39cb10ed86e2bf2a105edb5b791",
"tools/drosync/packaging/macos/com.drobotics.drosync.agent.plist": "ffdc7c7d72bcf932f2323157eafb79d150fb14876d11e6fce4dc00a523b9345b",
"tools/drosync/packaging/macos/entitlements.plist": "09ff48130bcae52f78393d2806ced8f6920365baf4e1ba46258c51479acea45b",
"tools/drosync/packaging/macos/scripts/postinstall": "155415d27fbb296a789a1caa54c13abb80089cb232f66d5d71072e7cce0bf426",
"tools/drosync/packaging/macos/scripts/preinstall": "e7b021639304c3044744211065157387e501f00cf8e2da76efa2823ed4f256e9",
"tools/drosync/packaging/native-installation-format": "c54b6fd77bc699a17876ed9b46dcf770b66d0bd01380e25cd620ec82adf9c736",
"tools/drosync/packaging/tests/test_installation.py": "f1e5394a69f71a9e797fc8fd914d49df3f79fc33b6890e1e3aaee1f52b8dfd24",
"tools/drosync/packaging/update-manifest.schema.json": "0c440c6d1ed23a91fe73d2cb9f08bfab34c9ec38f7ffadebd35770099420f21f",
"tools/drosync/packaging/windows/build-msi.ps1": "b3df87bf57298da2098b177073acc145988e0ccb2c0a9026f6bc39cdedc10aad",
"tools/drosync/packaging/windows/build-preview.ps1": "7edbbd8a66cfa53e7440c91739dd55bf53e303143b605b7d41ee01366fb022a2",
"tools/drosync/packaging/windows/drosync.wxs": "0964f70a2973a382c95b2df96f06d8567a501854bb9df8e6297f0dc363ff2fe3",
"tools/drosync/rust-toolchain.toml": "a93527593d1f1e9a134e588cadec40ac33c2b08194b7342c9d24cf05b128a0d5"
}

View File

@ -0,0 +1,44 @@
{
"current-workspace": {
"passed": 290,
"failed": 1,
"ignored": 0,
"failedTests": [
"test report::tests::report_uses_upload_filters_and_requires_source_identity ... FAILED"
]
},
"current-core-cleanup": {
"passed": 17,
"failed": 0,
"ignored": 0,
"failedTests": []
},
"current-state-cleanup": {
"passed": 4,
"failed": 0,
"ignored": 0,
"failedTests": []
},
"current-daemon-cleanup": {
"passed": 15,
"failed": 0,
"ignored": 0,
"failedTests": []
},
"baseline-core": {
"passed": 52,
"failed": 1,
"ignored": 0,
"failedTests": [
"test report::tests::report_uses_upload_filters_and_requires_source_identity ... FAILED"
]
},
"baseline-daemon": {
"passed": 105,
"failed": 1,
"ignored": 0,
"failedTests": [
"test upload_tests::source_changed_after_scan_never_requests_upload ... FAILED"
]
}
}

View File

@ -354,6 +354,7 @@ go test ./internal/api ./internal/objectsync ./internal/store -count=1
- [completed/partial 安全清理修复及验证](../../doc/drosync-partial逐文件安全清理-2026-10-28.md)
- [详细回归、线上版本与失败恢复限制](../../doc/drosync-partial清理详细回归-2026-10-29.md)
- [受控恢复后原 Session 直接重试修复](../../doc/drosync-clean恢复后直接重试修复-2026-10-29.md)
- [Linux 补充验收:清理通过与全量剩余失败](../../doc/drosync-Linux清理恢复补充验收-2026-10-29.md)
- [历史:1.1.2 partial 回执恢复](../../doc/drosync-1.1.2-partial修复与验证-2026-10-22.md)
- [历史:MD5-only 内容协议切换](../../doc/drosync仅MD5校验-2026-10-12.md)