Repository navigation
Commit 1b9c73a
docs(changeset): the revert note says what revertCommit reports for a non-object registry fault (#34017)
<!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} -->
_Requested by **Steedos** · [project
thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbNTugWasvhTMrtCZiFGrZYK)_
Part of #33851
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 改了什么:只改一个文件里的一句话。未发布的变更说明
`.changeset/33563-revert-commit-honest-outcome.md`
中,有一句说「非对象类型的注册表写入故障撤销仍看不到」,改成如实描述 #33979 落地后的行为。
- 为什么改:#33979 让撤销提交如实上报这些故障,原句因此变为错误;这条说明尚未发布,会原样进入 CHANGELOG。
- 风险与回滚:纯文本,不改代码。应在 #33979 之后落地,否则这句话会先于代码生效。回滚即 revert 本 PR。
- 先看:`.changeset/33563-revert-commit-honest-outcome.md` 第 12 行。
- 两分钟验证:`git diff origin/main --
.changeset/33563-revert-commit-honest-outcome.md`,预期只有一行改动。
- 需要你做的:无,席位落地(本更正由区域 ACCEPT 确认)。
## What changes
**DELIBERATE CORRECTION** of the unreleased note
`.changeset/33563-revert-commit-honest-outcome.md` (shipped by #33805).
One sentence is rewritten, and nothing else in the note changes.
Before:
> A write-through fault the registry helper only logs (every metadata
type other than `object`) is still not seen by the revert.
After:
> The same holds for an item of any other metadata type: a restored item
whose registry write-through throws, and a removed item whose registry
heal stops, so that the registry may still serve the removed row.
"The same holds" continues the note's paragraph above it. That paragraph
says an item whose row was written but whose next step did not land goes
into `failed[]`, not `reverted[]`, and the answer's `success` is
`false`. The corrected sentence describes the code of #33979, which
makes `revertCommit` report both faults for every type. Without #33979,
the old sentence is true and the new one is false, so this PR lands
after #33979.
The correction is in its own text-only PR because rewriting an existing
changeset inside a PR that also changes code needs a same-head contract
review, and #33979 has no contract face. A text-only correction is
confirmed by the area's ACCEPT.
## Tests
None: a changeset prose change. `git diff --stat origin/main...HEAD`
shows one file changed, with 1 insertion and 1 deletion.
## Verification
- Body gates: closing-keyword parity, Part-of, changeset no-major and
ADR-0087 registration all exit 0.
- Check Changeset is expected to report the edit to a changeset that
exists on the merge base. This body is the declaration of that edit as a
DELIBERATE CORRECTION; the `skip-changeset` label is not applied.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01QsR2jTkZnXtRhuEiiyidvJ)_
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01QsR2jTkZnXtRhuEiiyidvJ
Co-authored-by: Claude <noreply@anthropic.com>1 parent 828204e commit 1b9c73a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments