mcp-data-platform-v1.39.4
Fix: Public Content Viewer Blank Page
If you are on v1.39.3, upgrade immediately. The public content viewer (/portal/view/<token>) was completely broken — pages showed "Loading..." indefinitely with no rendered content.
What Happened
The v1.39.3 release introduced a shared content renderer that moves all public viewer rendering client-side via an embedded React IIFE bundle. However, the GoReleaser before hook that builds the release binary was never updated to build this new bundle. It only built the SPA (npm run build → internal/ui/dist/), leaving internal/contentviewer/dist/ empty.
Because the Go binary uses //go:embed to bake the bundle into the binary at compile time, the released binary contained empty strings for both contentviewer.JS and contentviewer.CSS. The public viewer template rendered <script></script> (empty JS) and the page was permanently stuck on the "Loading..." placeholder.
What Changed
.goreleaser.yml — Extended the release build hook to also:
- Build the content viewer IIFE bundle (
npx vite build --config vite.content-viewer.config.ts) - Copy
content-viewer.jstointernal/contentviewer/dist/ - Copy the SPA's CSS output as
content-viewer.csstointernal/contentviewer/dist/
This mirrors what make frontend-build does locally.
Impact
- Affected: Any deployment running v1.39.3 where the public content viewer is used
- Symptom: Public share links show header/chrome but content area displays "Loading..." forever
- Resolution: Upgrade to v1.39.4
Installation
Homebrew (macOS)
brew install txn2/tap/mcp-data-platformClaude Code CLI
claude mcp add mcp-data-platform -- mcp-data-platformDocker
docker pull ghcr.io/txn2/mcp-data-platform:v1.39.4Verification
All release artifacts are signed with Cosign. Verify with:
cosign verify-blob --bundle mcp-data-platform_1.39.4_linux_amd64.tar.gz.sigstore.json \
mcp-data-platform_1.39.4_linux_amd64.tar.gz