test: e2e for sandbox create retry under mutation lock contention

オープン
#5,899 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
postgresql, rust
領域
testing

調査の方向性

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 の本文から書いたものです。

説明

state:triage-needed

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-retry failing fast
  • It runs in an existing lane without new infrastructure
主要言語
Rust
スター
21.5k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/OpenShell のほかの issue

NVIDIA/OpenShell の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。