fix(reconciliation): 对齐已合入的运行时错误码
build / build (push) Successful in 2m35s

- 变基到 CYWL-38 的 reconciliationMessages 之后:沿用 runtime_key_forbidden / runtime_unreachable 公共码,不再另造一套。
- HTTP 仍按本任务裁定用 502 区分上游拒绝/失败与绑定不可用 503。
- 页面文案统一由 reconciliationMessages 输出;按新 Key 来源改写「平台只读 Key」措辞。
- 同步 monitoring 原因码与相关测试;make verify 17 项全绿。
This commit is contained in:
Zhero & Rin
2026-12-02 13:13:12 +08:00
committed by 姚章浩
parent fe9d055522
commit 37d8761721
6 changed files with 13 additions and 60 deletions
+2 -2
View File
@@ -46,8 +46,8 @@ func TestRuntimeQueueProjectionStatesWhyQueueIsAbsent(t *testing.T) {
code string
}{
{name: "binding unavailable", err: reconciliation.ErrRuntimeUnavailable, code: "runtime_read_unavailable"},
{name: "key forbidden", err: reconciliation.ErrRuntimeForbidden, code: "runtime_read_forbidden"},
{name: "unreachable", err: reconciliation.ErrRuntimeUnreachable, code: "runtime_read_unreachable"},
{name: "key forbidden", err: reconciliation.ErrRuntimeForbidden, code: "runtime_key_forbidden"},
{name: "unreachable", err: reconciliation.ErrRuntimeUnreachable, code: "runtime_unreachable"},
{name: "unclassified", err: errors.New("boom"), code: ""},
}
for _, testCase := range cases {