Retire the dead NO_IMAGING / imaging handling (follow-up to servuo-plugins #39) #49
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Retire the dead
NO_IMAGING/imaginghandling (follow-up to servuo-plugins #39)servuo-plugins #39 PR 2 finished the Asset Bridge's GDI+-free migration: the shard now decodes all
art (body catalogue + item/land) into ARGB1555 with its own managed readers and no
System.Drawing.As of that PR the overlay no longer sends an
imagingfield onassets.sources, and theNO_IMAGINGstatus can no longer arise.module-uo still carries the consumer side of that retired contract. It is harmless today — every
read is guarded (
sources.imaging && sources.imaging.ok === false), so a missing field simply nevertrips
NO_IMAGINGand the admin banner never shows — but it is now dead code describing a state theshard cannot report. This issue tracks removing it.
To remove
server/model/shardAssets/shardAssets.model.js— theNO_IMAGINGbranch (:203) and the
:564).imaging: sources.imagingpassthrough (server/model/shardAssets/shardItemArt.model.js— theNO_IMAGINGbranch (~:291).server/utils/assetBridge.js— theimagingnormalisation (:263) and the:125)./libgdiplus/503mapping (
server/router/admin/shard.router.js+server/swagger/doc.js— dropimagingfrom the/shard/assetsresponse schema andNO_IMAGINGfrom the error-code enums; regenerate swagger(
npm run swagger).client/src/routes/admin/ClientFiles.jsx(~:335, :397, :404) and the prebuiltclient/dist/entry.jsequivalent — remove the
imaging/libgdiplus banner.imaging/ assertNO_IMAGING:server/test/assetBridge.test.js,shardAssets.model.test.js,shardItemArt.model.test.js,clilocBridge.test.js.docs/modules/uo/API.md/shard/assetsrow (remove theshard.imaging.ok:false/ libgdiplussentence).
Not in scope
The overlay change already shipped (servuo-plugins #39) and the installer
doctorlibgdiplus row hasits own follow-up. This is only the website/module side.
Design is settled (org lead, 2026-11-26): the overlay stops sending the field; module-uo tolerates its
absence now and sheds the dead branch here.