fix(imports): keep imported products IMVU hides behind a 401
Pull request / title (pull_request) Successful in 1s
CI / test (pull_request) Successful in 1m13s
CI / image (apps/api/Dockerfile, t5de-hub-api) (pull_request) Skipped
CI / image (apps/web/Dockerfile, t5de-hub-web) (pull_request) Skipped

Checked against the live API: the product fields imports use are right, but
anonymous callers get 401 alike for Access Pass products, deleted ones and IDs
that never existed. The daily recheck treated that as gone, so a product that
became AP would have been taken away. A 401 now keeps what was last seen; only
a 404 means gone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
dhkatzandClaude Opus 5.5 committed 2026-11-06 06:45:57 -08:00
1 parent 7d708aebdb
commit b53fb564b4
4 files changed
+44 -9

No files matched your search

+5 -2
View File
@@ -160,8 +160,11 @@ account is unlinked or linked to someone else, an hourly batch of daily rechecks
answers a day), notifications (`import_grant_decided`, `import_grant_ended`), the website's `/imports` page (ask
for a product; bring products; change or withdraw; what people asked for) and the console's
`/console/catalogs/:id/imports` (importer on, off, paused, key; accept and decline; the queue with retries).
IMVU's product fields (`product_name`, `creator_cid`, `creator_name`, `rating`, `is_purchasable`) were not checked
against the live API from the dev machine (it can't reach api.imvu.com); check them with the spike.
IMVU's product fields (`product_name`, `creator_cid`, `creator_name`, `rating`, `is_purchasable`) were checked
against the live API (2026-11-06). Anonymous callers get 401 (`AUTHENTICATION-005`) alike for Access Pass products,
deleted ones and IDs that never existed (404 only for a few very old IDs), so the hub keeps what it last saw on a
401 rather than withdraw a product that became AP, and can't import AP products it never saw. The importer, which
has an IMVU session, could tell the hub what it sees: decide with the spike.
Still to do: admin-recorded grants, proofs and unclaimed creators (and claiming); `GET /imports/available` for the
proxy's shop button; t5de-catalog accepting `t5de-import` tokens on uploads; the spike and `t5de-importer`.