Merge pull request 'chore(assets): retire the dead NO_IMAGING / imaging handling' (#51) from chore/retire-no-imaging-49 into main
All checks were successful
Release / release (push) Successful in 8s
SonarQube / analysis (push) Successful in 2m13s

Reviewed-on: #51
This commit is contained in:
2026-11-27 13:54:40 -06:00
13 changed files with 22 additions and 184 deletions

View File

@@ -26,8 +26,8 @@ import { CreaturePortrait } from '../public/Atlas.jsx'
// for. // for.
// //
// **Nothing on this page throws for an operator-visible problem.** A shard that // **Nothing on this page throws for an operator-visible problem.** A shard that
// is down, an asset plane switched off, a Linux host with no libgdiplus, a client // is down, an asset plane switched off, a client with no cliloc file — each is a
// with no cliloc file — each is a reported state with a reason naming what to // reported state with a reason naming what to
// fix. A red box that says "500" would be the one thing an operator cannot act // fix. A red box that says "500" would be the one thing an operator cannot act
// on, and every one of these states is ordinary. // on, and every one of these states is ordinary.
@@ -332,7 +332,6 @@ export default function ClientFiles() {
// want opposite things from this page: one needs its buttons disabled, the // want opposite things from this page: one needs its buttons disabled, the
// other needs them available so the operator can retry. // other needs them available so the operator can retry.
const linked = Boolean(assets?.linked) const linked = Boolean(assets?.linked)
const imagingBroken = shard?.imaging && shard.imaging.ok === false
return ( return (
<div style={{ display: 'flex', flexDirection: 'column', gap: 20 }}> <div style={{ display: 'flex', flexDirection: 'column', gap: 20 }}>
@@ -394,21 +393,6 @@ export default function ClientFiles() {
</section> </section>
)} )}
{imagingBroken && (
<section
style={{ border: '1px solid #c58f4a', borderRadius: 10, padding: 16, background: 'rgba(197,143,74,0.08)' }}
className="sans"
>
<strong style={{ color: 'var(--head)' }}>The shard host cannot render images.</strong>
<p style={{ margin: '6px 0 0', color: 'var(--muted)', fontSize: '0.86rem', lineHeight: 1.6 }}>
{shard.imaging.reason ||
'A Linux shard host needs libgdiplus before it can decode a single sprite.'}{' '}
Names (the cliloc table) are unaffected and can still be imported — they have no pixels
in them.
</p>
</section>
)}
{review.assets && ( {review.assets && (
<VanishedReview <VanishedReview
review={review.assets} review={review.assets}

View File

@@ -166,7 +166,7 @@ function removeSprite(name) {
* operator can read it: * operator can read it:
* *
* `skipped` no shard configured — the file era had no equivalent here * `skipped` no shard configured — the file era had no equivalent here
* `unavailable` the shard could not answer (down, plane off, no libgdiplus) * `unavailable` the shard could not answer (down, plane off)
* `unchanged` the client files match what was imported; nothing fetched * `unchanged` the client files match what was imported; nothing fetched
* `imported` fetched and applied * `imported` fetched and applied
* `needsReview` a key we hold has vanished from the shard's manifest * `needsReview` a key we hold has vanished from the shard's manifest
@@ -197,17 +197,6 @@ async function importAssets({ force = false, approve = false, by = null } = {})
return failure(err, 'client file manifest') return failure(err, 'client file manifest')
} }
// §4.4: a Linux shard host without libgdiplus cannot render a sprite at all.
// It is reported on the source gate precisely so an operator meets it while
// setting the shard up rather than from an empty bestiary weeks later.
if (sources.imaging && sources.imaging.ok === false) {
return {
status: 'unavailable',
code: 'NO_IMAGING',
reason: sources.imaging.reason || 'the shard host cannot render images',
}
}
const meta = await db.getMeta().catch(() => null) const meta = await db.getMeta().catch(() => null)
if (!force && bridge.sameSources(sources, meta?.sources)) { if (!force && bridge.sameSources(sources, meta?.sources)) {
@@ -561,7 +550,6 @@ async function getStatus() {
extractorVersion: sources.extractorVersion, extractorVersion: sources.extractorVersion,
hashing: sources.hashing, hashing: sources.hashing,
complete: sources.complete, complete: sources.complete,
imaging: sources.imaging,
// Which §5 families this overlay serves. A phase-3 or phase-4 overlay says // Which §5 families this overlay serves. A phase-3 or phase-4 overlay says
// `['body']`, which is what an admin panel needs in order to say "update // `['body']`, which is what an admin panel needs in order to say "update
// your plugin" rather than showing an item-art pipeline that cannot work. // your plugin" rather than showing an item-art pipeline that cannot work.

View File

@@ -288,14 +288,6 @@ async function warm({ limit = WARM_BATCH, force = false } = {}) {
return failure(err, 'client file manifest') return failure(err, 'client file manifest')
} }
if (sources.imaging && sources.imaging.ok === false) {
return {
status: 'unavailable',
code: 'NO_IMAGING',
reason: sources.imaging.reason || 'the shard host cannot render images',
}
}
// A phase-3 or phase-4 overlay serves bodies and nothing else. Asking it for a // A phase-3 or phase-4 overlay serves bodies and nothing else. Asking it for a
// static is refused per request, which would be a warn on every pass forever — // static is refused per request, which would be a warn on every pass forever —
// so it is checked once, here, and reported as the ordinary state it is. // so it is checked once, here, and reported as the ordinary state it is.

View File

@@ -377,7 +377,7 @@ shardRouter.get(
'/assets', '/assets',
// #swagger.tags = ['Admin · Shard'] // #swagger.tags = ['Admin · Shard']
// #swagger.summary = 'Client asset import status: what is loaded, what the shard has, whether they differ (admin only)' // #swagger.summary = 'Client asset import status: what is loaded, what the shard has, whether they differ (admin only)'
// #swagger.description = 'What the site currently holds (the imported body catalogue, how many sprites are stored, how many atlas creatures resolved to a body id) beside what the shard reports for the client files those pictures come from. `drift: true` means the client files have changed since the last import — press Import. `shard.hashing: true` means a null hash is “not computed yet”, not “changed”: the shard hashes 195 MB anim files off the request path. `shard.imaging.ok: false` is the named NO_IMAGING state — a Linux shard host without libgdiplus cannot render a sprite at all, and the reason names the package to install. A shard with no link configured, or one that is down, is a reported state with a reason rather than an error.' // #swagger.description = 'What the site currently holds (the imported body catalogue, how many sprites are stored, how many atlas creatures resolved to a body id) beside what the shard reports for the client files those pictures come from. `drift: true` means the client files have changed since the last import — press Import. `shard.hashing: true` means a null hash is “not computed yet”, not “changed”: the shard hashes 195 MB anim files off the request path. A shard with no link configured, or one that is down, is a reported state with a reason rather than an error.'
// #swagger.security = [{ "cookieAuth": [] }, { "bearerAuth": [] }] // #swagger.security = [{ "cookieAuth": [] }, { "bearerAuth": [] }]
/* #swagger.responses[200] = { description: 'Asset import status', content: { "application/json": { schema: { $ref: "#/components/schemas/UoAssetStatus" } } } } */ /* #swagger.responses[200] = { description: 'Asset import status', content: { "application/json": { schema: { $ref: "#/components/schemas/UoAssetStatus" } } } } */
/* #swagger.responses[403] = { description: 'Admin role required', content: { "application/json": { schema: { $ref: "#/components/schemas/Error" } } } } */ /* #swagger.responses[403] = { description: 'Admin role required', content: { "application/json": { schema: { $ref: "#/components/schemas/Error" } } } } */
@@ -403,7 +403,7 @@ shardRouter.post(
'/assets/warm', '/assets/warm',
// #swagger.tags = ['Admin · Shard'] // #swagger.tags = ['Admin · Shard']
// #swagger.summary = 'Fetch item and land artwork the site is missing, now (admin only)' // #swagger.summary = 'Fetch item and land artwork the site is missing, now (admin only)'
// #swagger.description = 'Runs one pass of the item-art warm loop instead of waiting for its timer. The pass works out which item pictures this site's own rows name — every distinct (ItemID, hue) on a player vendor, plus anything a character sheet has shown since the last pass — and fetches the ones it does not already hold from the shard, hued and stored under uploads/items/. There is deliberately NO manifest and no bulk import here: the client addresses 49,152 item graphics times three thousand hues, so the working set is defined by what the site actually displays. `force` re-fetches pictures the site already holds, which is how an operator recovers a wiped uploads volume. `limit` bounds one pass; the default is 400, because the shard serves one asset request at a time and a pass must not hold that slot against an import. Nothing throws for an operator-visible problem: no shard configured, a shard that is down, an asset plane switched off, a host with no libgdiplus, or a plugin overlay too old to serve item art all answer 200 with status "unavailable"/"skipped" and a reason naming what to fix.' // #swagger.description = 'Runs one pass of the item-art warm loop instead of waiting for its timer. The pass works out which item pictures this site's own rows name — every distinct (ItemID, hue) on a player vendor, plus anything a character sheet has shown since the last pass — and fetches the ones it does not already hold from the shard, hued and stored under uploads/items/. There is deliberately NO manifest and no bulk import here: the client addresses 49,152 item graphics times three thousand hues, so the working set is defined by what the site actually displays. `force` re-fetches pictures the site already holds, which is how an operator recovers a wiped uploads volume. `limit` bounds one pass; the default is 400, because the shard serves one asset request at a time and a pass must not hold that slot against an import. Nothing throws for an operator-visible problem: no shard configured, a shard that is down, an asset plane switched off, or a plugin overlay too old to serve item art all answer 200 with status "unavailable"/"skipped" and a reason naming what to fix.'
// #swagger.security = [{ "cookieAuth": [] }, { "bearerAuth": [] }] // #swagger.security = [{ "cookieAuth": [] }, { "bearerAuth": [] }]
/* #swagger.requestBody = { required: false, content: { "application/json": { schema: { type: "object", properties: { force: { type: "boolean", description: "Re-fetch pictures this site already holds." }, limit: { type: "integer", description: "How many keys this pass may fetch (1-2000)." } } } } } } */ /* #swagger.requestBody = { required: false, content: { "application/json": { schema: { type: "object", properties: { force: { type: "boolean", description: "Re-fetch pictures this site already holds." }, limit: { type: "integer", description: "How many keys this pass may fetch (1-2000)." } } } } } } */
/* #swagger.responses[200] = { description: 'What the pass did', content: { "application/json": { schema: { $ref: "#/components/schemas/UoItemArtWarmResult" } } } } */ /* #swagger.responses[200] = { description: 'What the pass did', content: { "application/json": { schema: { $ref: "#/components/schemas/UoItemArtWarmResult" } } } } */

View File

@@ -9,8 +9,8 @@
// records the action in the admin activity log. // records the action in the admin activity log.
// //
// **An import result is not an exception**, exactly as for clilocs. A shard that // **An import result is not an exception**, exactly as for clilocs. A shard that
// is down, an asset plane the operator has switched off, a Linux host with no // is down, an asset plane the operator has switched off, a client patched
// libgdiplus, a client patched halfway through the walk — each is a 200 carrying // halfway through the walk — each is a 200 carrying
// `status: 'unavailable'` and a reason naming what to fix, not a 500 that says // `status: 'unavailable'` and a reason naming what to fix, not a 500 that says
// only "something broke". The one thing that DOES 500 is this file having a bug. // only "something broke". The one thing that DOES 500 is this file having a bug.
// //

View File

@@ -684,16 +684,6 @@ module.exports = {
extractorVersion: { type: 'integer', example: 1 }, extractorVersion: { type: 'integer', example: 1 },
hashing: { type: 'boolean', description: 'A hash is being computed in the background. A null `sha256` while this is true means “not yet”, never “changed”.', example: false }, hashing: { type: 'boolean', description: 'A hash is being computed in the background. A null `sha256` while this is true means “not yet”, never “changed”.', example: false },
complete: { type: 'boolean', description: 'Every client file has a content hash.', example: true }, complete: { type: 'boolean', description: 'Every client file has a content hash.', example: true },
imaging: {
type: 'object',
nullable: true,
description: 'Whether the shard host can render an image at all. `ok: false` is the named NO_IMAGING state: ServUO under Mono needs libgdiplus, and without it a Linux shard cannot decode a sprite. Cliloc and atlas import are unaffected.',
properties: {
ok: { type: 'boolean', example: true },
code: { type: 'string', nullable: true, example: null },
reason: { type: 'string', nullable: true },
},
},
families: { families: {
type: 'array', type: 'array',
items: { type: 'string' }, items: { type: 'string' },
@@ -713,14 +703,14 @@ module.exports = {
type: 'string', type: 'string',
nullable: true, nullable: true,
description: 'Machine-readable cause of `reason`.', description: 'Machine-readable cause of `reason`.',
enum: ['DISABLED', 'NO_SOURCE', 'SHARD_DOWN', 'PROTOCOL', 'BUSY', 'NO_IMAGING', 'SOURCE_CHANGED', 'UNAVAILABLE'], enum: ['DISABLED', 'NO_SOURCE', 'SHARD_DOWN', 'PROTOCOL', 'BUSY', 'SOURCE_CHANGED', 'UNAVAILABLE'],
}, },
}, },
}, },
UoAssetImportResult: { UoAssetImportResult: {
type: 'object', type: 'object',
description: description:
'Outcome of an asset import. Reported rather than thrown, so a shard that is down or a host that cannot render images is an answer and not a 500.', 'Outcome of an asset import. Reported rather than thrown, so a shard that is down is an answer and not a 500.',
properties: { properties: {
status: { status: {
type: 'string', type: 'string',
@@ -732,8 +722,8 @@ module.exports = {
code: { code: {
type: 'string', type: 'string',
nullable: true, nullable: true,
description: 'Machine-readable cause. `NO_IMAGING` is a shard host with no libgdiplus; `SOURCE_CHANGED` is a client patched partway through the walk, in which case nothing was applied.', description: 'Machine-readable cause. `SOURCE_CHANGED` is a client patched partway through the walk, in which case nothing was applied.',
enum: ['DISABLED', 'NO_SOURCE', 'SHARD_DOWN', 'PROTOCOL', 'BUSY', 'NO_IMAGING', 'SOURCE_CHANGED', 'INCOMPLETE', 'STUCK', 'MALFORMED', 'TOO_LARGE', 'UNAVAILABLE'], enum: ['DISABLED', 'NO_SOURCE', 'SHARD_DOWN', 'PROTOCOL', 'BUSY', 'SOURCE_CHANGED', 'INCOMPLETE', 'STUCK', 'MALFORMED', 'TOO_LARGE', 'UNAVAILABLE'],
}, },
catalog: { type: 'string', nullable: true, example: 'a3f9c21d4b8e0771' }, catalog: { type: 'string', nullable: true, example: 'a3f9c21d4b8e0771' },
extractorVersion: { type: 'integer', nullable: true, example: 1 }, extractorVersion: { type: 'integer', nullable: true, example: 1 },
@@ -821,8 +811,8 @@ module.exports = {
type: 'string', type: 'string',
nullable: true, nullable: true,
description: description:
'Machine-readable cause. `NO_IMAGING` is a shard host with no libgdiplus. `UNSUPPORTED` is a plugin overlay that serves the creature catalogue but not item art — update the overlay.', 'Machine-readable cause. `UNSUPPORTED` is a plugin overlay that serves the creature catalogue but not item art — update the overlay.',
enum: ['DISABLED', 'NO_SOURCE', 'SHARD_DOWN', 'PROTOCOL', 'BUSY', 'NO_IMAGING', 'UNSUPPORTED', 'INCOMPLETE', 'STUCK', 'MALFORMED', 'TOO_LARGE', 'UNAVAILABLE'], enum: ['DISABLED', 'NO_SOURCE', 'SHARD_DOWN', 'PROTOCOL', 'BUSY', 'UNSUPPORTED', 'INCOMPLETE', 'STUCK', 'MALFORMED', 'TOO_LARGE', 'UNAVAILABLE'],
}, },
catalog: { catalog: {
type: 'string', type: 'string',

View File

@@ -107,7 +107,6 @@ const sourcesReply = (extra = {}) =>
ok({ ok({
kind: 'assets.sources.ok', kind: 'assets.sources.ok',
extractorVersion: 1, extractorVersion: 1,
imaging: { ok: true },
hashing: false, hashing: false,
complete: true, complete: true,
files: [ files: [
@@ -334,16 +333,16 @@ test('a busy shard is retried rather than failing the walk', async (t) => {
assert.equal(assets.size, 1) assert.equal(assets.size, 1)
}) })
test('a shard host with no libgdiplus is named, not reported as a dead shard', async (t) => { test('a 503 is a shard that is down, whatever its reason says', async (t) => {
saved.getAssetManifest = uoLinkClient.getAssetManifest saved.getAssetManifest = uoLinkClient.getAssetManifest
t.after(restore) t.after(restore)
uoLinkClient.getAssetManifest = async () => uoLinkClient.getAssetManifest = async () =>
fail(503, { reason: "this shard host cannot render images - Mono's System.Drawing needs libgdiplus" }) fail(503, { reason: 'the shard is not connected' })
await assert.rejects( await assert.rejects(
() => bridge.readManifest(), () => bridge.readManifest(),
(err) => err.code === 'NO_IMAGING', (err) => err.code === 'SHARD_DOWN',
) )
}) })

View File

@@ -59,7 +59,6 @@ const sourcesReply = (file = {}) =>
ok({ ok({
kind: 'assets.sources.ok', kind: 'assets.sources.ok',
extractorVersion: 1, extractorVersion: 1,
imaging: { ok: true },
hashing: false, hashing: false,
complete: true, complete: true,
files: [ files: [

View File

@@ -61,7 +61,6 @@ function stubEverything({ manifest, fetched, held = new Map(), meta = null, sour
extractorVersion: 1, extractorVersion: 1,
hashing: false, hashing: false,
complete: true, complete: true,
imaging: { ok: true },
} }
bridge.readManifest = async () => manifest bridge.readManifest = async () => manifest
@@ -162,7 +161,6 @@ test('unchanged client files import nothing at all', async (t) => {
extractorVersion: 1, extractorVersion: 1,
hashing: false, hashing: false,
complete: true, complete: true,
imaging: { ok: true },
} }
stubEverything({ manifest: manifestOf([]), meta: { sources }, sources }) stubEverything({ manifest: manifestOf([]), meta: { sources }, sources })
@@ -177,27 +175,6 @@ test('unchanged client files import nothing at all', async (t) => {
assert.equal(result.status, 'unchanged') assert.equal(result.status, 'unchanged')
}) })
test('a host that cannot render images is named rather than walked', async (t) => {
// §4.4: reported on the SOURCE gate, so an operator meets it while setting the
// shard up rather than from an empty bestiary weeks later.
stubEverything({
manifest: manifestOf([]),
sources: {
files: {},
extractorVersion: 1,
hashing: false,
complete: true,
imaging: { ok: false, code: 'NO_IMAGING', reason: 'needs libgdiplus' },
},
})
t.after(restore)
const result = await model.importAssets()
assert.equal(result.status, 'unavailable')
assert.equal(result.code, 'NO_IMAGING')
})
// ── the diff (§6) ───────────────────────────────────────────────────────── // ── the diff (§6) ─────────────────────────────────────────────────────────
test('only the keys whose hash moved are fetched', async (t) => { test('only the keys whose hash moved are fetched', async (t) => {

View File

@@ -60,7 +60,6 @@ function stub({
extractorVersion: 2, extractorVersion: 2,
hashing: false, hashing: false,
complete: true, complete: true,
imaging: { ok: true },
families, families,
}) })
@@ -178,25 +177,6 @@ test('no shard link is skipped, not failed', async (t) => {
assert.equal((await model.warm()).status, 'skipped') assert.equal((await model.warm()).status, 'skipped')
}) })
test('a host that cannot render images is the named NO_IMAGING state', async (t) => {
stub()
t.after(restore)
bridge.sourceFingerprint = async () => ({
files: {},
extractorVersion: 2,
hashing: false,
complete: true,
imaging: { ok: false, reason: 'libgdiplus is not installed' },
families: ['body', 'static'],
})
const result = await model.warm()
assert.equal(result.status, 'unavailable')
assert.equal(result.code, 'NO_IMAGING')
})
// ── what gets asked for ──────────────────────────────────────────────────── // ── what gets asked for ────────────────────────────────────────────────────
test('only the keys we do not already hold under the shard’s current catalogue are fetched', async (t) => { test('only the keys we do not already hold under the shard’s current catalogue are fetched', async (t) => {

View File

@@ -317,7 +317,6 @@ test('a tree-only shard tells the client-file readers so, rather than looking em
extractorVersion: 3, extractorVersion: 3,
assetsEnabled: false, assetsEnabled: false,
treeEnabled: true, treeEnabled: true,
imaging: { ok: true },
families: ['tree'], families: ['tree'],
files: [], files: [],
more: false, more: false,

View File

@@ -118,11 +118,7 @@ function describeFailure(res, what) {
'BUSY', 'BUSY',
) )
case 503: case 503:
// The named `NO_IMAGING` outcome arrives this way: a Linux shard host with return new AssetBridgeError(reason, 'SHARD_DOWN')
// no libgdiplus cannot render a sprite at all, and §4.4 requires that be an
// actionable sentence rather than a stack trace. The shard's own wording
// already names the package and the command, so it is passed through.
return new AssetBridgeError(reason, /libgdiplus/i.test(reason) ? 'NO_IMAGING' : 'SHARD_DOWN')
case 504: case 504:
return new AssetBridgeError(`The shard did not answer: ${reason}`, 'SHARD_DOWN') return new AssetBridgeError(`The shard did not answer: ${reason}`, 'SHARD_DOWN')
default: default:
@@ -214,7 +210,7 @@ const SOURCE_FILES = [
* Stage 1 of the import gate (§6): have the client files this family reads * Stage 1 of the import gate (§6): have the client files this family reads
* changed at all? * changed at all?
* *
* Returns `{ files, extractorVersion, hashing, complete, imaging }` where `files` * Returns `{ files, extractorVersion, hashing, complete, families }` where `files`
* is a `{ name: { size, mtime, sha256 } }` map over `SOURCE_FILES` — a file the * is a `{ name: { size, mtime, sha256 } }` map over `SOURCE_FILES` — a file the
* shard does not have is simply absent, which is normal (few clients carry all * shard does not have is simply absent, which is normal (few clients carry all
* five anim files). * five anim files).
@@ -260,7 +256,6 @@ async function sourceFingerprint() {
extractorVersion: Number(res.data?.extractorVersion) || 0, extractorVersion: Number(res.data?.extractorVersion) || 0,
hashing: Boolean(res.data?.hashing), hashing: Boolean(res.data?.hashing),
complete: Boolean(res.data?.complete), complete: Boolean(res.data?.complete),
imaging: res.data?.imaging ?? null,
// Which §5 key families this overlay can be asked for (phase 5). Absent on a // Which §5 key families this overlay can be asked for (phase 5). Absent on a
// phase-3 or phase-4 overlay, which served bodies and nothing else — so the // phase-3 or phase-4 overlay, which served bodies and nothing else — so the
// fallback is `['body']` rather than `[]`: an older shard is not a shard with // fallback is `['body']` rather than `[]`: an older shard is not a shard with

View File

@@ -116,7 +116,7 @@
"Admin · Shard" "Admin · Shard"
], ],
"summary": "Client asset import status: what is loaded, what the shard has, whether they differ (admin only)", "summary": "Client asset import status: what is loaded, what the shard has, whether they differ (admin only)",
"description": "What the site currently holds (the imported body catalogue, how many sprites are stored, how many atlas creatures resolved to a body id) beside what the shard reports for the client files those pictures come from. `drift: true` means the client files have changed since the last import — press Import. `shard.hashing: true` means a null hash is “not computed yet”, not “changed”: the shard hashes 195 MB anim files off the request path. `shard.imaging.ok: false` is the named NO_IMAGING state — a Linux shard host without libgdiplus cannot render a sprite at all, and the reason names the package to install. A shard with no link configured, or one that is down, is a reported state with a reason rather than an error.", "description": "What the site currently holds (the imported body catalogue, how many sprites are stored, how many atlas creatures resolved to a body id) beside what the shard reports for the client files those pictures come from. `drift: true` means the client files have changed since the last import — press Import. `shard.hashing: true` means a null hash is “not computed yet”, not “changed”: the shard hashes 195 MB anim files off the request path. A shard with no link configured, or one that is down, is a reported state with a reason rather than an error.",
"responses": { "responses": {
"200": { "200": {
"description": "Asset import status", "description": "Asset import status",
@@ -9007,68 +9007,6 @@
} }
} }
}, },
"imaging": {
"type": "object",
"properties": {
"type": {
"type": "string",
"example": "object"
},
"nullable": {
"type": "boolean",
"example": true
},
"description": {
"type": "string",
"example": "Whether the shard host can render an image at all. `ok: false` is the named NO_IMAGING state: ServUO under Mono needs libgdiplus, and without it a Linux shard cannot decode a sprite. Cliloc and atlas import are unaffected."
},
"properties": {
"type": "object",
"properties": {
"ok": {
"type": "object",
"properties": {
"type": {
"type": "string",
"example": "boolean"
},
"example": {
"type": "boolean",
"example": true
}
}
},
"code": {
"type": "object",
"properties": {
"type": {
"type": "string",
"example": "string"
},
"nullable": {
"type": "boolean",
"example": true
},
"example": {}
}
},
"reason": {
"type": "object",
"properties": {
"type": {
"type": "string",
"example": "string"
},
"nullable": {
"type": "boolean",
"example": true
}
}
}
}
}
}
},
"families": { "families": {
"type": "object", "type": "object",
"properties": { "properties": {
@@ -9167,7 +9105,6 @@
"SHARD_DOWN", "SHARD_DOWN",
"PROTOCOL", "PROTOCOL",
"BUSY", "BUSY",
"NO_IMAGING",
"SOURCE_CHANGED", "SOURCE_CHANGED",
"UNAVAILABLE" "UNAVAILABLE"
], ],
@@ -9190,7 +9127,7 @@
}, },
"description": { "description": {
"type": "string", "type": "string",
"example": "Outcome of an asset import. Reported rather than thrown, so a shard that is down or a host that cannot render images is an answer and not a 500." "example": "Outcome of an asset import. Reported rather than thrown, so a shard that is down is an answer and not a 500."
}, },
"properties": { "properties": {
"type": "object", "type": "object",
@@ -9252,7 +9189,7 @@
}, },
"description": { "description": {
"type": "string", "type": "string",
"example": "Machine-readable cause. `NO_IMAGING` is a shard host with no libgdiplus; `SOURCE_CHANGED` is a client patched partway through the walk, in which case nothing was applied." "example": "Machine-readable cause. `SOURCE_CHANGED` is a client patched partway through the walk, in which case nothing was applied."
}, },
"enum": { "enum": {
"type": "array", "type": "array",
@@ -9262,7 +9199,6 @@
"SHARD_DOWN", "SHARD_DOWN",
"PROTOCOL", "PROTOCOL",
"BUSY", "BUSY",
"NO_IMAGING",
"SOURCE_CHANGED", "SOURCE_CHANGED",
"INCOMPLETE", "INCOMPLETE",
"STUCK", "STUCK",
@@ -9906,7 +9842,7 @@
}, },
"description": { "description": {
"type": "string", "type": "string",
"example": "Machine-readable cause. `NO_IMAGING` is a shard host with no libgdiplus. `UNSUPPORTED` is a plugin overlay that serves the creature catalogue but not item art — update the overlay." "example": "Machine-readable cause. `UNSUPPORTED` is a plugin overlay that serves the creature catalogue but not item art — update the overlay."
}, },
"enum": { "enum": {
"type": "array", "type": "array",
@@ -9916,7 +9852,6 @@
"SHARD_DOWN", "SHARD_DOWN",
"PROTOCOL", "PROTOCOL",
"BUSY", "BUSY",
"NO_IMAGING",
"UNSUPPORTED", "UNSUPPORTED",
"INCOMPLETE", "INCOMPLETE",
"STUCK", "STUCK",