test: e2e for sandbox create retry under mutation lock contention
還沒有人認領這個 Issue。
評估
研究方向
Start by reading the #5745 review thread to see how the lock was held manually, then find where MUTATION_LOCK_TIMEOUT and --no-create-retry are handled in the CLI/SDK and covered by the existing mock suites. Next, inspect the e2e testkit to see how a suite gets a handle on the gateway's Postgres, since holding the advisory lock is the missing capability. Done means a new e2e in an existing lane that acquires the lock directly, asserts sandbox create retries to success after it frees, and asserts --no-create-retry fails fast.
由索引模型根據 Issue 內容生成。
描述
Title: test: e2e for sandbox create retry under mutation lock contention
User Story
I run multi-replica HA gateways and rely on sandbox create retrying through MUTATION_LOCK_TIMEOUT. The behavior is covered by mock suites today; I want an e2e that exercises it against a real gateway holding a real lock.
Description
An e2e that holds the gateway's sandbox mutation advisory lock (the way the manual validation of #5745 did, by acquiring the lock directly against the gateway's Postgres), then asserts that sandbox create retries and completes once the lock frees, and that --no-create-retry fails fast.
Context
- Requested in the #5745 review round; the SDK and CLI mock suites cover the decision matrix, this guards the wire path.
- Needs the e2e testkit to reach the gateway's Postgres to hold the lock, which the current suites do not do.
Definition of Done
- The e2e holds the advisory lock and observes the create retry to success
- The e2e covers
--no-create-retryfailing fast - It runs in an existing lane without new infrastructure
- 主要語言
- 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 天內回覆