Skip to content

feat: reference clients, test infra, parallel downloads, bake fixes - #37

Merged
gerchowl merged 4 commits into
mainfrom
dev
Apr 17, 2026
Merged

gerchowl merged 4 commits into
mainfrom
dev

Conversation

@gerchowl

Copy link
Copy Markdown
Contributor

Summary

  • 4 reference clients (Python, JS, Rust, Shell) with tests
  • Dagger test infrastructure for all client languages
  • Python client: search, prefetch, adapters (to_threejs, to_gltf, export_mtlx)
  • 49 Python tests (39 mocked + 10 live)
  • Parallel downloads: 10× ambientcg, 8× polyhaven
  • Bake workflow fixes: git push permissions, artifact upload, index JSON to release
  • Pre-release data flow + promote-data-release workflow

Data release lifecycle:
1. Bake → creates/uploads to pre-release (downloadable, testable)
2. Data PR reviewed (thumbnails, index diffs)
3. promote-data-release → clears pre-release flag (public)

- bake.yml: auto-creates pre-release if missing
- promote-data-release.yml: validates + promotes pre-release to latest
- ambientcg: ThreadPoolExecutor(10) for ZIP downloads
- polyhaven: ThreadPoolExecutor(8) for per-map PNG downloads
- Progress logging every 100/50 materials
4 reference clients for mat-vis texture access:
- Python: zero-dep stdlib client with CLI + library API (10 live tests pass)
- JavaScript: fetch() API, works in browser + Node 18+
- Rust: reqwest + clap CLI
- Shell: curl + jq

Fix bake workflow git push (checkout HEAD for .github/).
- Dagger: test_client_{python,js,shell,rust} + test_clients (parallel)
- JS/Shell/Rust test files for live release testing
- Python client: search(), prefetch(), rowmap_entry(), index fetching
- Python adapters: to_threejs, to_gltf, export_mtlx (generic inputs)
- Mocked unit tests + live integration tests
@gerchowl
gerchowl enabled auto-merge April 17, 2026 08:40
@gerchowl
gerchowl merged commit bc82026 into main Apr 17, 2026
10 checks passed
gerchowl added a commit that referenced this pull request May 15, 2026
)

## Summary
- 4 reference clients (Python, JS, Rust, Shell) with tests
- Dagger test infrastructure for all client languages
- Python client: search, prefetch, adapters (to_threejs, to_gltf,
export_mtlx)
- 49 Python tests (39 mocked + 10 live)
- Parallel downloads: 10× ambientcg, 8× polyhaven
- Bake workflow fixes: git push permissions, artifact upload, index JSON
to release
- Pre-release data flow + promote-data-release workflow
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