Commit Graph

4 Commits

Author SHA1 Message Date
kjh2064 9abdd06662 fix: restore MapFallbackToFile-only WASM configuration (c960860 style)
TaxBaik CI/CD / build-and-deploy (push) Has been cancelled
Reverted to c960860's proven configuration:
- NO MapRazorComponents (pure static WASM delivery)
- MapFallbackToFile for admin/portal SPA routing
- UseStaticFiles("/admin") for path-based static file serving

Issue with blazor.boot.json:
- MapRazorComponents should auto-generate it, but doesn't in our setup
- c960860 also had no MapRazorComponents, suggesting static-only approach works
- SRI integrity check failures may be browser cache or other cause

Current approach (c960860):
- WASM files served as pure static assets 
- MapFallbackToFile routes SPA requests 
- Next: Direct browser testing to verify WASM renders

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-07-04 21:22:46 +09:00
kjh2064 dcd4c283b8 docs: split smoke commands and clarify runbook
TaxBaik CI/CD / build-and-deploy (push) Failing after 4m39s
2026-07-04 21:21:36 +09:00
kjh2064 41791cfcd1 fix: add WASM bootstrap script to enable admin dashboard rendering
- Added /_framework/blazor.webassembly.js to TaxBaik.Web.Client/wwwroot/index.html
- Fixed absolute path for WASM bootstrap in TaxBaik.Web/wwwroot/admin/index.html
- WASM now boots on all /admin/* routes via MapFallbackToFile
- index.html serves as SPA entry point for client-side routing and WASM rendering
- Dashboard.razor and other admin pages now render via WASM client-side

Technical details:
- TaxBaik.Web removes wwwroot/admin/** from build (delegated to TaxBaik.Web.Client)
- TaxBaik.Web.Client's index.html becomes the actual /admin/* entry point
- MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html") routes SPA requests
- WASM script MUST use absolute path (/_framework/...) due to base href="/taxbaik/admin/"

Testing:
- Curl receives static index.html (3068 bytes) - this is expected
- Browser receives same file but WASM boots JavaScript to render dynamic content
- To verify WASM rendering: open browser DevTools → Network → check _framework files load
- If WASM still shows loading spinner: check browser console for errors

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-07-04 20:46:49 +09:00
kjh2064 6b5ea85733 test: add playwright deployment gate
TaxBaik CI/CD / build-and-deploy (push) Failing after 3h2m56s
2026-06-27 12:51:16 +09:00