Skip to content

fix(contentproviderutils): reject ImageLabelLoaded with a real reason - #777

Open
Quenty wants to merge 1 commit into
mainfrom
users/quenty/imagelabelloaded-reject-reasons
Open

fix(contentproviderutils): reject ImageLabelLoaded with a real reason#777
Quenty wants to merge 1 commit into
mainfrom
users/quenty/imagelabelloaded-reject-reasons

Conversation

@Quenty

@Quenty Quenty commented Jul 30, 2026

Copy link
Copy Markdown
Owner

ImageLabelLoaded:PromiseLoaded() rejected with no value when it timed out on the default timeout or when the image label changed, so anything logging the rejection reason just printed "nil". The one message that did exist was on the wrong branch, blaming the default timeout only when an explicit timeout had been passed.

Both rejection paths now carry a message describing what happened, and the timeout message includes how long elapsed. Behavior is otherwise unchanged.

https://claude.ai/code/session_01W7ZXw5EYfJ7uJeKUFrDivM

PromiseLoaded() rejected with no value on both the default-timeout path
and the image-label-changed path, so callers logging the rejection
printed "nil" and had nothing to debug with. The one message that did
exist was also on the wrong branch: it blamed the "default timeout time"
only when an explicit timeout had been passed.

Both paths now reject with a message naming what happened, and the
timeout message includes the timeout that elapsed. CircleCover is the
only caller in-tree and already routes the reason to a warn.

Claude-Session: https://claude.ai/code/session_01W7ZXw5EYfJ7uJeKUFrDivM
@github-actions

github-actions Bot commented Jul 30, 2026

Copy link
Copy Markdown

Test Results

Package Status Try it
@quenty/datastore ✅ Passed (339/339) (37.6s) Open | Play
@quenty/chatproviderservice ✅ Passed (9/9) (1.8s) Open | Play
@quenty/saveslot ✅ Passed (188/188) (9.2s) Open | Play
@quenty/secrets ✅ Passed (2/2) (1.3s) Open | Play
@quenty/settings ✅ Passed (14/14) (1.7s) Open | Play
@quenty/settings-inputkeymap ✅ Passed (1/1) (1.5s) Open | Play
@quenty/blend ✅ Passed (3/3) (951ms) Open | Play
@quenty/snackbar ✅ Passed (3/3) (1.2s) Open | Play
@quenty/camera ✅ Passed (18/18) (1.2s) Open | Play
@quenty/ik ✅ Passed (3/3) (1.2s) Open | Play
@quenty/ragdoll ✅ Passed (8/8) (1.9s) Open | Play
@quenty/brine ✅ Passed (88/90) (1.4s) Open | Play
@quenty/resetservice ✅ Passed (17/17) (1.4s) Open | Play
@quenty/clienttranslator ✅ Passed (156/156) (2.4s) Open | Play
@quenty/gameconfig ✅ Passed (12/12) (1.8s) Open | Play
@quenty/access ✅ Passed (311/311) (4.6s) Open | Play
@quenty/gameproductservice ✅ Passed (80/80) (2.3s) Open | Play
@quenty/inputkeymaputils ✅ Passed (6/6) (1.5s) Open | Play
@quenty/scoredactionservice ✅ Passed (107/107) (2.5s) Open | Play
@quenty/fakeskybox ✅ Passed (3/3) (1.1s) Open | Play
@quenty/elo ✅ Passed (5/5) (1.2s) Open | Play
@quenty/genericscreenguiprovider ✅ Passed (8/8) (1.3s) Open | Play
@quenty/observablecollection ✅ Passed (204/204) (2.2s) Open | Play
@quenty/rogue-properties ✅ Passed (153/153) (2.6s) Open | Play
@quenty/rogue-humanoid ⚠️ Unverified — no test counts reported (1.5s) Open | Play
@quenty/soundgroup ✅ Passed (4/4) (1.2s) Open | Play
@quenty/cmdrservice ⚠️ Unverified — no test counts reported (932ms) Open | Play
@quenty/lipsum ✅ Passed (4/4) (952ms) Open | Play
@quenty/transitionmodel ✅ Passed (30/30) (1.1s) Open | Play

29 packages tested, 29 passed, 0 failed in 1m48s
⚠️ 2 package(s) reported no test counts — a pass here proves nothing about whether tests ran · View logs

Deploy Results

Package Status Try it
@quenty/integration ✅ Deployed (v158) (2.4s) Open | Play

1 package deployed, 1 passed, 0 failed in 3.2s · View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant