mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-08 23:21:58 +02:00
Issue #1312 follow-up. Investigation traced the "Name cannot be empty" report to a sidecar image pre-dating the /profiles/bundle endpoint addition. Two changes so the next occurrence is self-diagnosable from the support bundle without a manual curl. Backend: new _fetch_slicer_health(url) helper does a 2s GET on /health, walks every non-dataPath key under checks looking for a version field (the wrapper labels both sidecars as checks.orcaslicer regardless of which CLI is bundled). _collect_slicer_api_info now exposes bambu_studio_version and orcaslicer_version. Strips trailing slash before appending /health to avoid double-slash 404s. Docs: bambuddy-wiki/docs/features/slicer-api.md gains a Quick Start callout that branch-built sidecars don't auto-update, a corrected /health troubleshooting entry (both "unknown" version and "orcaslicer" field name on bambu-studio-api are cosmetic wrapper bugs, not stale- image indicators), a new "Name cannot be empty" troubleshooting entry, and an Updating section that requires --no-cache --pull together (BuildKit caches the git context separately from layers, so --no-cache alone silently reuses the old checkout).