Memcached: prewarm uses a different layer graph than composition

Open
#116 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cmake, cpp
Domain
backend

Research direction

Read the prewarm and composition layer graph handling, then follow how context URI mappings and :SDF_FORMAT_ARGS are processed. The issue includes two integration tests; use them to reproduce both cases and check that prewarm follows the same graph as composition. Done when the tests confirm dependencies are warmed for the resolved URI and for repeated URIs with different format arguments.

Written by the indexing model from the issue text.

Description

type: enhancement

Issue

Context mappings ignored: when the context maps URI A to B, prewarm resolves A and reads its dependencies while composition opens B. So A is warmed for nothing and B's dependencies aren't warmed.

Repeated URI with different format arguments skipped: a URI already scheduled in an earlier round that comes back with other :SDF_FORMAT_ARGS is never opened, so its dependencies aren't warmed.

Both only cost extra lookups; results stay correct. The issue includes the suggested fix and two integration tests.

Dominant language
Python
Stars
10
Forks
7
Avg merge
22h 29m
Merged PRs (30d)
9

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ynput/ayon-usd-resolver

All issues in ynput/ayon-usd-resolver

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.