Skip to content

data-initializer: onProgress: Called inappropriately #1033

Description

@cheako

From #1031
Example https://gitlab.com/cheako/liluth-ianjeon-rs/-/jobs/12442416558/artifacts/browse/dist/
For me after about 10 seconds the download /completes/ and loading wasm errors on "short read." However the progress bar is updated to %100 and that's not correct. What I expected was to have a partially filled progress bar with the error. What I really want is to retry about 3 times. This webserver has a number of issues like there is no range support, so continue is impossible.

cheako@nysa:/tmp$ wget https://cheako.gitlab.io/-/liluth-ianjeon-rs/-/jobs/12442416558/artifacts/dist/liluth-ianjeon-ca2a034d3df88d5c_bg.wasm
--2025-12-15 12:48:53--  https://cheako.gitlab.io/-/liluth-ianjeon-rs/-/jobs/12442416558/artifacts/dist/liluth-ianjeon-ca2a034d3df88d5c_bg.wasm
Resolving cheako.gitlab.io (cheako.gitlab.io)... 2600:1901:0:7b8a::, 35.185.44.232
Connecting to cheako.gitlab.io (cheako.gitlab.io)|2600:1901:0:7b8a::|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 44576113 (43M) [application/wasm]
Saving to: ‘liluth-ianjeon-ca2a034d3df88d5c_bg.wasm’

liluth-ianjeon-ca2a034d3df88d5c_bg.wasm          88%[========================================================================================>            ]  37.79M  2.38MB/s    in 17s     

2025-12-15 12:49:11 (2.24 MB/s) - Connection closed at byte 39620736. Retrying.

--2025-12-15 12:49:12--  (try: 2)  https://cheako.gitlab.io/-/liluth-ianjeon-rs/-/jobs/12442416558/artifacts/dist/liluth-ianjeon-ca2a034d3df88d5c_bg.wasm
Connecting to cheako.gitlab.io (cheako.gitlab.io)|2600:1901:0:7b8a::|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 44576113 (43M) [application/wasm]
Saving to: ‘liluth-ianjeon-ca2a034d3df88d5c_bg.wasm’

liluth-ianjeon-ca2a034d3df88d5c_bg.wasm          88%[========================================================================================>            ]  37.59M  2.45MB/s    in 16s     

2025-12-15 12:49:29 (2.30 MB/s) - Connection closed at byte 39620736. Retrying.

--2025-12-15 12:49:31--  (try: 3)  https://cheako.gitlab.io/-/liluth-ianjeon-rs/-/jobs/12442416558/artifacts/dist/liluth-ianjeon-ca2a034d3df88d5c_bg.wasm
Connecting to cheako.gitlab.io (cheako.gitlab.io)|2600:1901:0:7b8a::|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 44576113 (43M) [application/wasm]
Saving to: ‘liluth-ianjeon-ca2a034d3df88d5c_bg.wasm’

liluth-ianjeon-ca2a034d3df88d5c_bg.wasm         100%[====================================================================================================>]  42.51M  2.30MB/s    in 18s     

2025-12-15 12:49:49 (2.32 MB/s) - ‘liluth-ianjeon-ca2a034d3df88d5c_bg.wasm’ saved [44576113/44576113]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions