CA must reject invalid metadata updates.
まだ誰も着手していません。
評価
調査の方向性
Start by tracing Attribute.update_meta and the CA transport metadata update path described in the issue; the payload does not name specific files or tests. Check how invalid metadata currently fails and how the attribute and records metadata are updated. Done means a rejected update leaves both metadata values in sync.
索引モデルが issue の本文から書いたものです。
説明
Following #440, which introduces thorough metadata handling, an update to an attributes metadata will be reflected with an update to the CA records metadata. However, if this update is not valid (such as the shape of an array), this is still attempted and will fail.
After this failure, the attribute is left with new metadata that does not reflect the actual records metadata.
A possible solution for this would be to create a validator function on the CA transport and add a _update_meta_validators list to Attribute. Transports can then register their function to this list via an add_update_meta_validator method, which allows Attribute.update_meta to reject updates before they go through.
Acceptance Criteria
- Attributes and records metadata do not go out of sync when a failed metadata update occurs
- 主要言語
- Python
- スター
- 6
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DiamondLightSource/fastcs のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
DiamondLightSource/fastcs#443 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
DiamondLightSource/fastcs#437 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
DiamondLightSource/fastcs#416 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
DiamondLightSource/fastcs#345 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 62/100
DiamondLightSource/fastcs#341 ·
DiamondLightSource/fastcs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
fritzprix/libr-agent#2612 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage presubmit-gate
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
gke-labs/kube-agents#5001 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
simonw/sqlite-utils#928 ·
メンテナーはふだん 3 日以内に返信
-
colorado
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
freelawproject/juriscraper#2405 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
cline/mcp-marketplace#3576 ·