chore(assets): retire the dead NO_IMAGING / imaging handling
All checks were successful
PR Checks / client-build (pull_request) Successful in 34s
PR Checks / frozen-manifest (pull_request) Successful in 52s
PR Checks / server-tests (pull_request) Successful in 9m49s

servuo-plugins #39 made the Asset Bridge GDI+-free: the overlay no longer
sends `imaging` on assets.sources and NO_IMAGING can no longer arise. Drop
the consumer side: the model branches in shardAssets/shardItemArt, the
`imaging` passthrough and normalisation, the /libgdiplus/ 503 mapping (a
503 is now always SHARD_DOWN), the admin Client Files banner, the
`shard.imaging` schema and NO_IMAGING enum values, and the test stubs.
Swagger fragment regenerated.

Closes #49

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014HJEmd5sBSpNXicS4gmT1t
This commit is contained in:
2026-11-27 13:42:02 -06:00
parent c8e96fcef6
commit 7a4cf199c2
13 changed files with 22 additions and 184 deletions

View File

@@ -60,7 +60,6 @@ function stub({
extractorVersion: 2,
hashing: false,
complete: true,
imaging: { ok: true },
families,
})
@@ -178,25 +177,6 @@ test('no shard link is skipped, not failed', async (t) => {
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 ────────────────────────────────────────────────────
test('only the keys we do not already hold under the shard’s current catalogue are fetched', async (t) => {