test(continuity): bring back the additional-CA removal checks as a disruption
還沒有人認領這個 Issue。
評估
研究方向
Read the two dropped checks in e2e/rust/tests/additional_ca.rs first, then decision D and E in the #5297 plan comment for what was intentionally left out. Find the runner's disruption registry and an existing disruption installed under /var/lib/openshell-qualification/disruptions/ to copy its shape, and look at an existing continuity scenario to see how seed and verify are written. Done means a remove-additional-ca entry in the registry, an installer that strips the CA from the gateway config and restarts it, and a scenario whose seed proves trust and whose verify proves it is gone — while still passing under the other disruptions.
由索引模型根據 Issue 內容生成。
描述
User Story
I'm moving the e2e/rust tests onto testkit (#5281). The port drops two additional_ca checks because they restart the gateway and edit its host files, which ordinary tests must not do. I want a tracked way to bring that coverage back if CA rotation becomes a priority.
Description
e2e/rust/tests/additional_ca.rs has two checks the port drops (decision D in the #5297 plan):
- tampering with the configured additional-CA file, then restarting the gateway;
- removing the additional CA, then restarting the gateway, and checking that sandboxes no longer trust it.
They can come back as a continuity scenario (#3521) under a new disruption, for example remove-additional-ca. The installer stages the disruption as an executable under /var/lib/openshell-qualification/disruptions/; it removes the CA from the gateway config and restarts the gateway. seed checks that a sandbox trusts a server signed by the CA; verify checks that it doesn't any more.
Context
- Decision D (drops) and E (how the additional-CA test gets its CA) in the #5297 plan.
- Continuity runs every scenario under every disruption, so the new scenario must tolerate the other disruptions, and the other scenarios must tolerate this one.
- Low priority. Not needed to delete
e2e/rust.
Definition of Done
- A
remove-additional-cadisruption in the runner's registry, with an installer executable on at least one row. - A continuity scenario that checks trust before the disruption and its absence after.
- 主要語言
- Rust
- 星號
- 21.5k
- 分支
- 2.1k
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
NVIDIA/OpenShell 的其他 Issue
-
state:triage-needed
難度 2/5 1-3 小時 新手友好度 86/100
-
state:triage-needed
難度 2/5 1-3 小時 新手友好度 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failure可能已有人在做 @TaylorMutch 於 9 天前認領。 未關閉state:accepted state:pr-opened
難度 2/5 1-3 小時 新手友好度 78/100
-
state:triage-needed
難度 1/5 1-3 小時 新手友好度 78/100
-
state:triage-needed
難度 2/5 1-3 小時 新手友好度 62/100
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 2 天內回覆
-
autofixer: follow-up
難度 2/5 1-3 小時 新手友好度 78/100
tursodatabase/turso#12531 ·
維護者通常 1 天內回覆
-
bug help wanted ui
難度 2/5 1-3 小時 新手友好度 82/100
userFRM/egui-charts#4292 ·
維護者通常 1 天內回覆
-
Issue-Bug Need-Review
難度 1/5 1-3 小時 新手友好度 85/100
PowerShell/DSC#1832 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆