Skip to content

fix(brand): one shared boot deadline; close loader test gaps - #27

Merged
PMQ9 merged 1 commit into
wiki-v2from
fix/284-brand-review-round-1
Sep 11, 2026
Merged

PMQ9 merged 1 commit into
wiki-v2from
fix/284-brand-review-round-1

Conversation

@PMQ9

@PMQ9 PMQ9 commented Sep 11, 2026

Copy link
Copy Markdown

What

Review round 1 for cccvu/wiki-v2#285.

  • The manifest and wordmark fetches now share one AbortSignal, so a hung /brand blocks first paint for ~1.5s total instead of stacking two 1.5s per-request timeouts (~3s).
  • Tests added: non-2xx manifest, aborted (timeout) manifest, wordmark-only failure, shared-signal assertion, and load memoization.
  • Correct the Brand docstring's no-bundle fallback description.

Verification

  • pnpm test brand: 14/14 pass.
  • pnpm exec tsc --noEmit: clean.

Refs: cccvu/wiki-v2#285

Review round 1 for cccvu/wiki-v2#285.

- The manifest and wordmark fetches now share ONE AbortSignal, so a hung /brand
  blocks first paint for ~1.5s TOTAL instead of stacking two 1.5s per-request
  timeouts (~3s). The documented bound is now the real bound.
- Tests: non-2xx manifest, aborted (timeout) manifest, wordmark-only failure,
  assertion that both fetches share the same signal, and load memoization.
- Correct the Brand docstring's no-bundle fallback description (the icon variant
  renders nothing; compact shows the name only when the caller passes one).

Refs: cccvu/wiki-v2#285

Co-Authored-By: DeepSeek V4.1 Flash <[email protected]>
@PMQ9
PMQ9 merged commit eebd36c into wiki-v2 Sep 11, 2026
@PMQ9
PMQ9 deleted the fix/284-brand-review-round-1 branch September 11, 2026 18:46
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