Skip to content

Bump facade CDN to 1.0.29#55

Closed
AndrewKirkovski wants to merge 3 commits into
masterfrom
chore/bump-facade-cdn-1.0.28
Closed

Bump facade CDN to 1.0.29#55
AndrewKirkovski wants to merge 3 commits into
masterfrom
chore/bump-facade-cdn-1.0.28

Conversation

@AndrewKirkovski
Copy link
Copy Markdown
Contributor

@AndrewKirkovski AndrewKirkovski commented May 7, 2026

Summary

  • Bumps the facade's fe_facade_url default and the Makefile WEB_HOST_CDN from webcomponents-1.0.26 to webcomponents-1.0.29
  • Skips 1.0.27 (prepared on feat/host-config-layout-requirement, never merged) and 1.0.28 (superseded mid-PR by 1.0.29's hotfix)
  • All 13 @wippy-fe/* workspace packages just published at 0.0.29 against the new host

What's in 1.0.29 vs 1.0.26

  • Proxy api default 401 → host.handleError('auth-expired') response interceptor. Single-flight per proxy-instance lifetime (a flood of in-flight requests after session expiry doesn't bounce 30 times). Per-request opt-out via AxiosRequestConfig.skipDefaultAuth. Cross-origin auto-skip — api.get('https://api.openai.com/...') never leaks the Wippy token and a 401 from a third party never triggers our auth-expired bounce. Previously each child app had to wire its own 401 → login interceptor; in practice many didn't (keeper-v5's three apps shipped without any 401 handling and showed stale UI on session expiry).
  • Cold-cache "Proxy globals not found" race fix in host shells. Affected ~1/3 of cold-cache loads (iframe context unaffected). Both host shell roots are defineAsyncComponent'd, so app.mount() returned before <VueAppGlobalConnector /> (the only writer of window[GLOBAL_API_PROVIDER]) mounted — the autoload-injected WC <script> tags fetched @wippy-fe/proxy.js and hit its eager-getter throw on undefined globals. Fix relocates registerAutoloadComponents(...) into the connector's <script setup> immediately after the globals write, so they run as one synchronous atomic block.
  • Earlier 1.0.27/1.0.28 changes still land: @wippy-fe/vite-plugin package (consumer-side build helper), @wippy-fe/shared cross-boundary types, <wippy-loading>/<wippy-error> zero-dep components, deep-capture clipboard, modal-template registry + native <dialog> modal path, WS auth-failure → login redirect, lazy-WS lifecycle fixes.

Files

  • src/facade/_index.yamlfe_facade_url default
  • src/facade/MakefileWEB_HOST_CDN constant used by make sync to pull loading.js etc.
  • src/facade/README.md — three doc references
  • src/facade/config_handler_test.lua — origin-extraction test fixture

Commits

Hash Subject
1fa60c3 Bump facade CDN to 1.0.28 (initial PR target — superseded)
55e55b5 Bump facade CDN to 1.0.29
310ea47 facade: drop live-yaml-test marker from fe_entry_path default

Verification

The live-yaml-test=1 query-string marker added to fe_entry_path.default (in 55e55b5) was used to confirm that the consumer-side wippy.lock replacements: block correctly overrides the hub-fetched .wippy/vendor/wippy/facade/_index.yaml with this local checkout. The marker appeared at runtime when wippy.exe run booted in app-template — proving the replace wires correctly. Marker removed in 310ea47. (Smoke test for the consumer-side wippy.lock workflow, not for the bump itself.)

Note on branch name

Branch was originally named chore/bump-facade-cdn-1.0.28 before the 1.0.29 hotfix landed in gen-2-chat. The PR target version is now 1.0.29; branch name kept as-is to preserve PR continuity (no force-rename of remote refs).

Test plan

  • CI on the facade package green (config_handler_test.lua updated alongside source)
  • After merge: make -C src/facade sync pulls fresh loading.js, @wippy-fe/proxy.js, etc. from webcomponents-1.0.29
  • A Wippy app using the facade bootstraps via https://web-host.wippy.ai/webcomponents-1.0.29/iframe.html once gen-2-chat host is deployed at that tag

🤖 Generated with Claude Code

Web Host 1.0.29 release brings:
- proxy api default 401 → host.handleError('auth-expired') interceptor
  with skipDefaultAuth per-request opt-out + cross-origin auto-skip
- fix for cold-cache "Proxy globals not found" race in host shells
  (~1/3 fail rate on cold loads, host context only — iframe unaffected)

Refs updated in src/facade/{_index.yaml, README.md, Makefile,
config_handler_test.lua}.
@AndrewKirkovski AndrewKirkovski changed the title Bump facade CDN to 1.0.28 Bump facade CDN to 1.0.29 May 13, 2026
Was used to confirm wippy.lock `replacements:` overrides hub-fetched
vendor with the local checkout — the test query string appeared at
runtime, proving the replace wires correctly. Removing it now that
the smoke test is complete.
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