Skip source writes when the content is unchanged
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- api
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 18
- Avg merge
- 5h 12m
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from adobe/da-admin
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
adobe/da-admin#305 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
speakeasy-api/speakeasy#2159 ·
Maintainers usually reply within 1 day
-
Queued deferred selectors still run after unmountPossibly taken @LexaTang claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ianstormtaylor/slate#6375 ·
Maintainers usually reply within 1 day
-
sync cache dist/imgOpen
Difficulty 1/5 Under an hour Newbie friendliness 82/100
oleeskild/digitalgarden#435 ·
-
broken-links
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ShaftHQ/shafthq.github.io#1201 ·
Maintainers usually reply within 1 day