Skip to content

Skip downloading assets/non-model elements for a models sync#166

Merged
jules-exel merged 1 commit into
mainfrom
fix/PROD-2215-download-fix
Jun 17, 2026
Merged

Skip downloading assets/non-model elements for a models sync#166
jules-exel merged 1 commit into
mainfrom
fix/PROD-2215-download-fix

Conversation

@jules-exel

Copy link
Copy Markdown
Contributor

During a sync/push the downloader returned ALL operations regardless of the elements/models scope, so a models-only run still downloaded assets, galleries, content, etc. Detect a models-only scope (--elements="Models" or the simple --models filter) and download only model definitions.

…nly sync

During a sync/push the downloader returned ALL operations regardless of the
elements/models scope, so a models-only run still downloaded assets, galleries,
content, etc. Detect a models-only scope (--elements="Models" or the simple
--models filter) and download only model definitions.

--models-with-deps is intentionally excluded: it pulls the full renderable tree
(assets included) and is not treated as models-only. Default/unscoped syncs are
unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jules-exel jules-exel changed the title perf(sync): skip downloading assets/non-model elements for a models-o… Skip downloading assets/non-model elements for a models sync Jun 17, 2026
@jules-exel jules-exel requested a review from 5PK June 17, 2026 16:42
@jules-exel jules-exel merged commit 183e2d5 into main Jun 17, 2026
2 checks passed
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.

2 participants