Null for a required rollout schedule or stage field answers 500 instead of 422
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
調査の方向性
Reproduce by sending {"name": null} to PUT /api/v1/rollout-schedules/{schedule_id} against PostgreSQL and watch the 500 come from the NOT NULL database error. Read the rollout-schedule and stage update handlers, and how the earlier input refusal in #957 maps errors to 422. Done when each listed nullable field (name, max_percentage, status, stage_order, target_percentage, trigger_type) returns 422 naming the field, with no change to the D213 sweep's batch.
索引モデルが issue の本文から書いたものです。
説明
Sending null for a required field on a rollout schedule or stage update answers 500 instead of 422.
What happens
Measured on main (ec7b3b8a) against PostgreSQL: PUT /api/v1/rollout-schedules/{schedule_id} with {"name": null} answers 500. The database refuses the NOT NULL column and the error is not mapped.
By reading, the same applies to:
max_percentageandstatuson the schedule update;name,stage_order,target_percentageandtrigger_typeon the stage update.
Nothing is changed; the request fails as a whole.
Expected
422 naming the field, like the other input refusals. The same family as #957.
Priority
LOW under D213; after launch. The D213 bug sweep's rollout-schedule input batch makes sure its new error mapping leaves this path exactly as it is today, so this stays a separate fix.
- 主要言語
- Python
- スター
- 0
- フォーク
- 4
- 平均マージ
- 5時間 19分
- マージ済み PR(30日)
- 503
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Controlvar/controlvar のほかの issue
-
Dashboard: the sequential panel's "Ready to stop" banner shows no sample-ratio-mismatch cautionオープンbug post-launch
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Controlvar/controlvar#1737 ·
メンテナーはふだん 1 日以内に返信
-
fix(api): the feature-flag list has no defined order across pages対応中かも @amarkanday が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Controlvar/controlvar#1612 ·
メンテナーはふだん 1 日以内に返信
-
bug post-launch
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Controlvar/controlvar#1562 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
Controlvar/controlvar#1447 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Experiment setup: emptying a traffic share box and typing a number shows a leading zero ("034")オープンbug post-launch
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Controlvar/controlvar#1428 ·
メンテナーはふだん 1 日以内に返信
Controlvar/controlvar の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
huggingface/deep-rl-class#723 ·
-
[tool] bug: Qwen3 XML tool parser raises on `...` argument values (Ellipsis is not JSON serializable)対応中かも @super-yuki が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
verl-project/verl#8559 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
TencentCloud/octop-harness#228 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
google/osv-scalibr#2585 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
NousResearch/hermes-agent#149323 ·
メンテナーはふだん 1 日以内に返信