Skip to content

Commit bde1da9

Browse files
committed
BB-91: close interop smoke coverage plan
Signed-off-by: Eli Ma <eli@patch.sh>
1 parent 6b81a23 commit bde1da9

6 files changed

Lines changed: 22 additions & 7 deletions

File tree

‎Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mega2"
3-
version = "0.41.71"
3+
version = "0.41.72"
44
edition = "2024"
55
license = "MIT OR Apache-2.0"
66
description = "Monorepo engine and Git hosting server for AI agents: trunk-based storage, Git Smart HTTP, Git LFS, OCI registry, and Agent Session Capture"

‎docs/plan/plan-20260902.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ Result 只允许 `PASS` 或 `FAIL`。`FAIL` 必须列出 P0/P1 条目并在下
16291629
| DEFER-DR-03 | S3 multipart / copy 加速 complete | 现有两遍流式正确但 2 读 1 写 O(size) | 大镜像推送成为瓶颈时 | 新日期计划 |
16301630
| DEFER-DR-04 | referrers API(`/v2/<name>/referrers/<digest>`) | cosign/notation 场景,超出最小面 | 签名工件需求出现 | 新日期计划 |
16311631
| DEFER-DR-05 | manifest list 平台重写(老客户端兼容) | docker ≥1.13 客户端自选平台 | 出现老客户端投诉 | 新日期计划 |
1632-
| DEFER-DR-06 | compose smoke profile 集成(`docker-compose-storage-only.yml`) | 属部署拓扑轴,独立于本计划 | OCI smoke 需 compose 化时 | 新日期计划 |
1632+
| DEFER-DR-06 | compose smoke profile 集成(`docker-compose-storage-only.yml`) | 已由 [`plan-20261001`](plan-20261001.md) 的 BB-10..BB-23 与 BB-90/BB-91 交付:`interop-smoke` 默认栈 OCI 12 passed / 0 failed,auth-none opt-in case PASS 且恢复默认栈 | 已关闭 | [`plan-20261001`](plan-20261001.md) |
16331633

16341634
## 完成判据
16351635

‎docs/plan/plan-20261001.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Storage-only 形态 OCI / Artifacts / Libra 客户端黑盒 smoke 计划(2026-10-01)
22

33
**模板版本:** v2.1;依据 [`plan-template.md`](plan-template.md)。源码核对日期 2026-10-01;tip `da6e895`(R10 时刷新;`7b2a435` 之后另一会话发布了 license / README 元数据与 `v0.41.0`「默认 `push_policy` 改为 trunk、文档一致性」),crate `0.41.0`。各卡开工时仍按 GC-01 刷新锚点。
4-
**计划状态:** **实施中**。原始事实基线与 R1–R11 评审记录保留成稿时状态;逐卡进度以各卡 `Lifecycle / Acceptance` 和发布证据为准。BB-72 已发布 v0.41.67 且 Docker D 组成功;BB-73 已发布 v0.41.68 且 Docker D 组成功;BB-74 已发布 v0.41.69 且 Docker D 组成功;BB-75 已发布 v0.41.70 且 Docker D 组成功;BB-90 实施中。
4+
**计划状态:** **实施中**。原始事实基线与 R1–R11 评审记录保留成稿时状态;逐卡进度以各卡 `Lifecycle / Acceptance` 和发布证据为准。BB-72 已发布 v0.41.67 且 Docker D 组成功;BB-73 已发布 v0.41.68 且 Docker D 组成功;BB-74 已发布 v0.41.69 且 Docker D 组成功;BB-75 已发布 v0.41.70 且 Docker D 组成功;BB-90 已发布 v0.41.71 且 Docker D 组成功;BB-91 实施中。
55

66
## 文档职责
77

@@ -4851,7 +4851,7 @@
48514851
### Task BB-90: 三脚本整跑与聚合守卫
48524852
48534853
**Task type:** `release`
4854-
**Lifecycle / Acceptance:** `in-progress` / `remote-pending`(默认栈 OCI `12 passed, 0 failed (1 skipped)`、Artifacts `14 passed, 0 failed (3 skipped)`、Libra `24 passed, 0 failed (0 skipped)`;三脚本退出 0,三份日志 token 零命中;附录 54 行、54 个唯一名称,逐项脚本注册与部署文档守卫通过;证据复核 PASS,无 P0/P1/P2。v0.41.71 bump 后 nightly fmt、全目标全特性 Clippy、`.env.test` 全量 cargo test 18 目标 / 2055 通过 / 0 失败 / 1 ignored;cargo build 无警告,cargo build --tests 退出 0 但有已记录的 macOS `ld: __eh_frame section too large` 警告。待推送并核对 Docker D 组)
4854+
**Lifecycle / Acceptance:** `done` / `complete`(v0.41.71 / `6b81a23dad7973dcf9085652a7c7fa74409333b8`;默认栈 OCI `12 passed, 0 failed (1 skipped)`、Artifacts `14 passed, 0 failed (3 skipped)`、Libra `24 passed, 0 failed (0 skipped)`;三脚本退出 0,三份日志 token 零命中;附录 54 行、54 个唯一名称,逐项脚本注册与部署文档守卫通过;证据复核 PASS,无 P0/P1/P2。nightly fmt、全目标全特性 Clippy、`.env.test` 全量 cargo test 18 目标 / 2055 通过 / 0 失败 / 1 ignored;cargo build 无警告,cargo build --tests 退出 0 但有已记录的 macOS `ld: __eh_frame section too large` 警告;main、标注 tag、人工 Release 已发布且 body 比对通过;Docker Actions `37261574048` job `111609729163` success)
48554855
**Description:** 不新增 case。在默认栈上整跑三个脚本;聚合守卫确认附录 54 个唯一 case 均已注册且有文档。唯一行为轴:本计划场景覆盖的聚合证据。\
48564856
**Out of scope:** 新 case(永久非目标于本卡);覆盖矩阵、DEFER 关闭与索引(BB-91)。
48574857
**Current evidence:**
@@ -4948,7 +4948,7 @@
49484948
### Task BB-91: DEFER 关闭与计划索引收口
49494949
49504950
**Task type:** `release`
4951-
**Lifecycle / Acceptance:** `pending` / (空)
4951+
**Lifecycle / Acceptance:** `in-progress` / `remote-pending`(覆盖矩阵三脚本逐项登记;`plan-20260902.md` 与 `oci.md` 的 DEFER-DR-06 行均指向本计划并标为关闭;`target/tmp/bb-91-release-notes.md` 非空;文档/链接及写集复核 PASS、无 P0/P1/P2。v0.41.72 bump 后 nightly fmt、全目标全特性 Clippy、`.env.test` 全量 cargo test 18 目标 / 2055 通过 / 0 失败 / 1 ignored;cargo build 无警告,cargo build --tests 退出 0 但有已记录的 macOS `ld: __eh_frame section too large` 警告。待推送并核对 Docker D 组及 Release body)
49524952
**Description:** `docs/refactoring/integration.md` 覆盖矩阵登记三个脚本;在 plan-20260902 与 `docs/refactoring/oci.md` 标注 `DEFER-DR-06` 由本计划关闭;撰写并发布本计划最后一个版本的人工 release note(发布后按记录的新版本核对)。全部卡完成与 README 状态行属于计划级收口,见「完成判据」,不由本卡自证。唯一行为轴:本计划收口记录。
49534953
**Out of scope:** 新 case 与新代码(永久非目标于本卡);全部卡完成核对与 README 状态行(计划级收口,见「完成判据」);补登 plan-20260921 的 README 索引行(索引漂移,非本计划范围)。
49544954
**Current evidence:**

‎docs/refactoring/integration.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,20 @@ Git 用户场景的完整矩阵(HTTP/SSH/auth/repo-shape、字面 `git pull`
5555
| `integration_storage_events_git` | storage-only 出站 `repo.push` 进程级门(plan-20260912 / WH-03):enabled+已播种 secret 下真实 host-git trunk push 落地、真实运输记录一次有界投递尝试(类别日志)、SIGINT 经清理尾段退出;review 形态拒绝 enabled;review 分支 push 建 CL 回归。WH-15 追加:每条 emitter 投递/drop 行带播种的 `installation_id`、drop 行不命中投递过滤器、被静态过滤的 seed push 恰好产生一条 `dropped_filter` 行(API 写用例为零条) | PostgreSQL, Redis;host git;`--test-threads=1` |
5656
| `integration_github_sync` | outbound GitHub-sync SSH session(plan-20260916 / GS-07):`ssh_connect_authenticates` 钉住回环主机钥并对本地 russh 服务端完成 Ed25519 公钥认证 | 回环 only;不连 GitHub;`--test-threads=1` |
5757

58+
## Storage-only compose black-box coverage
59+
60+
These scripts run in the `interop-smoke` service (`--profile interop`) against the
61+
published loopback endpoints of the default `mega2-trunk` stack. They complement,
62+
not replace, the process-level integration targets above. Run them as documented
63+
in [`deploy-trunk.md`](../deploy-trunk.md); each case and its task card are indexed
64+
in [`plan-20261001.md`](../plan/plan-20261001.md).
65+
66+
| Script | Default-stack result | Opt-in coverage |
67+
| --- | --- | --- |
68+
| `scripts/oci_client_smoke_storage_only.sh` | 12 passed, 0 failed (1 skipped) | auth-none case through `scripts/bb_optin_run.sh` |
69+
| `scripts/artifacts_smoke_storage_only.sh` | 14 passed, 0 failed (3 skipped) | auth-none, GC, and local-storage cases through `scripts/bb_optin_run.sh` |
70+
| `scripts/libra_smoke_storage_only.sh` | 24 passed, 0 failed (0 skipped) | None; Libra is the client under test, with Git used only as a read-only observer |
71+
5872
storage-only outbound events(plan-20260912)地址策略、HMAC 运输与有界 emitter 由 lib 测试(`jupiter::service::storage_event_transport` / `storage_event_emitter`)覆盖;WH-15 的 drop 记账与 `installation_id` 记录字段由 `storage_event_emitter::tests::drop_accounting_and_installation_id`(thread-local tracing 捕获,覆盖七类 disposition、per-target 行、`record_invalid_event` 与 disabled/`-` 情形)覆盖,投递行的 `installation_id` 与「drop 行不命中投递过滤器」由 `integration_storage_events_git` 的 `assert_emitter_lines_carry_installation_id` 在真实进程 stdout 上断言;WH-13 的 CLI/service 关停接线与 WH-11 的启动 secret 绑定由进程级 target `integration_storage_events_runtime` 覆盖(见上表)。生产运输没有 HTTP/私网逃逸开关。WH-03 已在 B3 真实 push 提交挂钩(`repo.push`),进程级证据见 `integration_storage_events_git`;WH-07 Agent `events.committed` 的进程级认证/OpenAPI 证据见 `integration_agent_capture` 的 `storage_events_batch`;WH-08 checkpoint 见同 target 的 `storage_events_checkpoint`。
5973

6074
Run the normal project gate with the test environment loaded:

‎docs/refactoring/oci.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,10 @@ DELETE /uploads/{uuid} → 按 seq 删分片 + 删行 → 204
178178
- S3 multipart / copy 加速 complete(DEFER-DR-03)
179179
- referrers API(DEFER-DR-04)
180180
- manifest list 平台重写(老 docker 客户端)(DEFER-DR-05)
181-
- compose smoke profile 集成(DEFER-DR-06)
182181
- 独立 OCI token 颁发、pull-through / P2P、review 形态挂载 `/v2`、sha256 以外的 digest 算法
183182

183+
DEFER-DR-06(compose smoke profile 集成)已由 [plan-20261001](../plan/plan-20261001.md) 的 `interop-smoke` 与 OCI 黑盒验收关闭;默认栈 12/12,auth-none opt-in 1/1,见 [`deploy-trunk.md`](../deploy-trunk.md) §10.4。
184+
184185
## 相关入口
185186

186187
| 路径 | 角色 |

0 commit comments

Comments
 (0)