Commit 4389fe9
Both `/published` arities share one message literal (a `for` loop registers the
same handler for both routes), reached only after the runtime-published overlay
consult finds nothing. Post-#8278 that 501 no longer means "this kernel cannot
answer /published" -- it means "nothing is runtime-published for this item, and
this kernel has no code/package store" -- so reword it to say that instead of the
stale "metadata.getPublished() is not available in this kernel".
Per the maintainer ruling on #8297 (2026-08-20, minimal action): getPublished
stays optional on IMetadataService (no contract movement), and the documented
existing-but-never-published -> 200 fallback semantics are untouched.
Status code, error.code, and routing order are byte-identical -- only the
message prose changed. meta-published-overlay.test.ts SS8 (which pins the exact
response body) is updated to match; SS9 (the 200-from-overlay arm) is untouched.
Claude-Session: https://claude.ai/code/session_016gcKVsiywU9CcS96S5t9qD
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 19f98fa commit 4389fe9
3 files changed
Lines changed: 27 additions & 2 deletions
File tree
- .changeset
- packages/rest/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | | - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
429 | 432 | | |
430 | 433 | | |
431 | 434 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6253 | 6253 | | |
6254 | 6254 | | |
6255 | 6255 | | |
| 6256 | + | |
| 6257 | + | |
| 6258 | + | |
| 6259 | + | |
| 6260 | + | |
| 6261 | + | |
| 6262 | + | |
| 6263 | + | |
| 6264 | + | |
| 6265 | + | |
6256 | 6266 | | |
6257 | 6267 | | |
6258 | 6268 | | |
6259 | | - | |
| 6269 | + | |
6260 | 6270 | | |
6261 | 6271 | | |
6262 | 6272 | | |
| |||
0 commit comments