The ReturnValues refusal texts on PutItem, DeleteItem and UpdateItem differ from DynamoDB's current texts
メンテナーはふだん 5 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 77/100
調査の方向性
crates/engine/src/lib.rs の RETURN_VALUES_BARE_CLAUSE と、tests/test_wording_parity_validation.py にある両方のターゲットを対象とする3つのテストを読みます。enum と PutItem および DeleteItem の検証エラーについて、期待される DynamoDB の文言を更新し、その後 ExtendDB と DynamoDB に対してこれらのテストを実行します。両方の実装が issue に記載された現在のテキストを出力すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
ExtendDB answers a ReturnValues outside its set with Member must satisfy enum value set: [ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATE_NEW, NONE]. DynamoDB now lists UPDATED_NEW in that text on PutItem, DeleteItem and UpdateItem. For a ReturnValues that PutItem or DeleteItem does not allow, DynamoDB now starts ReturnValues can only be ALL_OLD or NONE with 1 validation error detected: , and ExtendDB sends the text without it.
Measured in us-east-1 on 2026-11-20 at 02:12:52 UTC (the first row) and 02:53:58 UTC (the next three). Each request went out twice and got the same answer both times. The key is absent. The ExtendDB column is a SQLite server built from the head of #558 at b4260658d. A server built from main at deed34631 gives the same answer to the first row.
| Request | DynamoDB | ExtendDB |
|---|---|---|
UpdateItem, UpdateExpression SET #w = :v, ConditionExpression #v = :zz, ReturnValues BOGUS |
1 validation error detected: Failed to satisfy constraint: Member must satisfy enum value set: [ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW, NONE] |
1 validation error detected: Failed to satisfy constraint: Member must satisfy enum value set: [ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATE_NEW, NONE] |
UpdateItem, UpdateExpression SET w = :v, ReturnValues BOGUS |
the UPDATED_NEW text of the first row |
the UPDATE_NEW text of the first row |
PutItem, ReturnValues BOGUS |
the UPDATED_NEW text of the first row |
the UPDATE_NEW text of the first row |
DeleteItem, ReturnValues BOGUS |
the UPDATED_NEW text of the first row |
the UPDATE_NEW text of the first row |
Three dual-target tests in tests/test_wording_parity_validation.py assert the older texts. They pass on ExtendDB and failed against DynamoDB in two runs on 2026-11-20, from 03:25:44 to 03:26:28 UTC and from 03:26:50 to 03:27:31 UTC:
| Test | Request | DynamoDB | Test and ExtendDB |
|---|---|---|---|
test_put_invalid_return_values_enum |
PutItem, ReturnValues GARBAGE |
the UPDATED_NEW text of the first row |
the UPDATE_NEW text of the first row |
test_put_disallowed_return_values |
PutItem, ReturnValues UPDATED_OLD |
1 validation error detected: ReturnValues can only be ALL_OLD or NONE |
ReturnValues can only be ALL_OLD or NONE |
test_delete_disallowed_return_values |
DeleteItem, ReturnValues ALL_NEW |
1 validation error detected: ReturnValues can only be ALL_OLD or NONE |
ReturnValues can only be ALL_OLD or NONE |
RETURN_VALUES_BARE_CLAUSE in crates/engine/src/lib.rs holds the enum text for the three operations. Its doc says that the service wrote UPDATE_NEW in a measurement of 2026-08-24. The measurements above show the service's current texts.
- 主要言語
- Rust
- スター
- 517
- フォーク
- 60
- 平均マージ
- 5日 1時間
- マージ済み PR(30日)
- 132
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ExtendDB/extenddb のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 5 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 5 日以内に返信
-
test_backup_job.py: the store outage test lists the restore spool before the job removes its entryオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 5 日以内に返信
ExtendDB/extenddb の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
5 advisory ignore entries no longer match anything in `Cargo.lock`対応中かも @zyl71 が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信