Skip source writes when the content is unchanged
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 62/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript
- 領域
- api
調査の方向性
Start from the PUT handler that already reads the current object to evaluate If-Match, since the stored ETag for comparison comes from that read. Add the MD5-vs-ETag short-circuit after condition checks but before the write, metadata and audit paths, and confirm POST /versionsource and restores still create versions. Read the existing conditional-PUT tests (412 on mismatch) and add cases for an identical PUT returning the current ETag; done means no metadata or audit change on a no-op write, plus a release note.
索引モデルが issue の本文から書いたものです。
説明
Every PUT writes, even with identical content. last-modified, "last modified by", and the audit log change with no real change, and change detection (indexes, sync tools, translation status) gets false positives.
Change
- Before writing, compare the MD5 of the new body with the current object's ETag. da-admin already reads the current object for
If-Match, so this adds no storage read. - On a match: no write, no metadata change, no audit entry. Return success with the current ETag; optionally
x-da-unchanged: true. - Conditions are evaluated first: an
If-Matchmismatch is still412, even with identical content. POST /versionsourceand restore points still create a version.
Compatibility: a plain PUT creates no version today (only POST /versionsource and restore points do), so no caller loses versions. What changes: an identical PUT no longer bumps last-modified or "last modified by", or adds an audit entry. A search of first-party repos (2026-11-23) found no caller that re-writes identical content on purpose. The remaining risk is external scripts that re-save a page only to bump last-modified (e.g. to make it show as needing preview); that stops working, so add a release note.
Same change for Helix 6: helix-api-service — skip unchanged writes.
- 主要言語
- JavaScript
- スター
- 6
- フォーク
- 18
- 平均マージ
- 5時間 12分
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
adobe/da-admin のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
adobe/da-admin#305 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
speakeasy-api/speakeasy#2159 ·
メンテナーはふだん 1 日以内に返信
-
Queued deferred selectors still run after unmount対応中かも @LexaTang が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
ianstormtaylor/slate#6375 ·
メンテナーはふだん 1 日以内に返信
-
sync cache dist/imgオープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
oleeskild/digitalgarden#435 ·
-
broken-links
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ShaftHQ/shafthq.github.io#1201 ·
メンテナーはふだん 1 日以内に返信