Myers Carpenter
c31e0cfc1c
Expose content_version for optimistic locking on issue and PR edits ( #37035 )
...
- Add `content_version` field to Issue and PullRequest API responses
- Accept optional `content_version` in `PATCH
/repos/{owner}/{repo}/issues/{index}` and `PATCH
/repos/{owner}/{repo}/pulls/{index}` — returns 409 Conflict when stale,
succeeds silently when omitted (backward compatible)
- Pre-check `content_version` before any mutations to prevent partial
writes (e.g. title updated but body rejected)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-03-30 13:44:32 +00:00
..
2026-03-30 08:28:48 +08:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2026-03-30 08:28:48 +08:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2026-03-30 08:28:48 +08:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2026-03-30 13:44:32 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2026-03-30 08:28:48 +08:00
2025-09-06 16:52:41 +00:00
2026-03-30 08:28:48 +08:00
2026-03-30 08:28:48 +08:00
2025-09-06 16:52:41 +00:00
2026-03-30 08:28:48 +08:00
2026-03-30 13:44:32 +00:00
2025-09-06 16:52:41 +00:00
2026-03-16 10:24:36 -07:00
2025-09-06 16:52:41 +00:00
2026-03-30 08:28:48 +08:00
2025-09-06 16:52:41 +00:00
2026-03-30 08:28:48 +08:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2026-03-30 08:28:48 +08:00
2025-03-17 19:24:54 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-13 10:34:43 -04:00
2025-03-17 19:24:54 +00:00