Skip to content

fix(asset): avoid redownload and add asset version - #8

Merged
juelg merged 2 commits into
masterfrom
fix/asset-redownload
Oct 20, 2026
Merged

juelg merged 2 commits into
masterfrom
fix/asset-redownload

Conversation

@juelg

@juelg juelg commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

No description provided.

juelg added 2 commits October 16, 2026 17:41
rcs.get_prefix decides whether assets are present by checking for
assets/scenes/empty_world/scene.xml, an RCS file that is not part of the
duobench archive. For non-editable installs the check therefore always
failed and every `import duobench` re-downloaded and rewrote the assets,
so parallel workers could read half-written files.

Write assets/.duobench_version after a complete download and skip
rcs.get_prefix when it matches the installed version. This also re-fetches
the assets after a duobench upgrade and after an interrupted download.
Works with the released rcs-core get_prefix API.
@juelg
juelg merged commit d516cdd into master Oct 20, 2026
1 check passed
@juelg
juelg deleted the fix/asset-redownload branch October 20, 2026 05:58
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