From f5179b9576db242d55caf517c980d3305266e293 Mon Sep 17 00:00:00 2001 From: Jorge Rivera Date: Sun, 1 Nov 2026 00:36:10 +0100 Subject: [PATCH] registry: map internal_error on datasets.pin at 500 --- python/spec-kit/CHANGELOG.md | 2 ++ python/spec-kit/src/dfo_spec_kit/registry/codes.json | 5 +++++ registries/codes.json | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/python/spec-kit/CHANGELOG.md b/python/spec-kit/CHANGELOG.md index b236892..dd88573 100644 --- a/python/spec-kit/CHANGELOG.md +++ b/python/spec-kit/CHANGELOG.md @@ -147,6 +147,8 @@ and this package adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Codes `identity_quarantined` (500), `service_unavailable` (503) and `internal_error` (500) map to `datasets.description` at the statuses they have on `datasets.snapshot`. +- Code `internal_error` maps to `datasets.pin` at 500, for a pin whose + caller the deployment cannot name, a fault a retry does not clear. - Code `node_not_held` maps to `graph.members` at 404, for a node the deployment's graph does not hold. - Code `upstream_error` maps to `graph.members` at 502, the status the diff --git a/python/spec-kit/src/dfo_spec_kit/registry/codes.json b/python/spec-kit/src/dfo_spec_kit/registry/codes.json index 054e61d..e53287e 100644 --- a/python/spec-kit/src/dfo_spec_kit/registry/codes.json +++ b/python/spec-kit/src/dfo_spec_kit/registry/codes.json @@ -2330,6 +2330,11 @@ "channel": "problem_details", "http_status": 500 }, + { + "endpoint": "datasets.pin", + "channel": "problem_details", + "http_status": 500 + }, { "endpoint": "mcp.tools", "channel": "mcp_refusal" diff --git a/registries/codes.json b/registries/codes.json index 054e61d..e53287e 100644 --- a/registries/codes.json +++ b/registries/codes.json @@ -2330,6 +2330,11 @@ "channel": "problem_details", "http_status": 500 }, + { + "endpoint": "datasets.pin", + "channel": "problem_details", + "http_status": 500 + }, { "endpoint": "mcp.tools", "channel": "mcp_refusal"