Skip to content

fix: raise Vite chunkSizeWarningLimit to suppress bundle size warning - #15

Merged
quiet-node merged 1 commit into
mainfrom
worktree-prancy-juggling-puzzle
Apr 2, 2026
Merged

fix: raise Vite chunkSizeWarningLimit to suppress bundle size warning#15
quiet-node merged 1 commit into
mainfrom
worktree-prancy-juggling-puzzle

Conversation

@quiet-node

Copy link
Copy Markdown
Owner

Summary

  • The JS bundle (501.87 kB) barely exceeds Vite's default 500 kB threshold, producing a warning on every build
  • As a local-only Tauri desktop app, bundle size has no user-facing performance impact
  • Raises chunkSizeWarningLimit to 600 kB in vite.config.ts so bun run validate-build is warning-free

Test Plan

  • Run bun run validate-build — no warnings, no errors
  • Run bun run test — all 155 tests pass

🤖 Generated with Claude Code

The JS bundle (501.87 kB) barely exceeds Vite's default 500 kB threshold.
As a local-only Tauri desktop app, bundle size has no user-facing impact,
so raise the limit to 600 kB to keep validate-build warning-free.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
@quiet-node
quiet-node merged commit 61351d1 into main Apr 2, 2026
3 checks passed
@quiet-node
quiet-node deleted the worktree-prancy-juggling-puzzle branch April 2, 2026 03:33
quiet-node added a commit that referenced this pull request Apr 10, 2026
…#15)

The JS bundle (501.87 kB) barely exceeds Vite's default 500 kB threshold.
As a local-only Tauri desktop app, bundle size has no user-facing impact,
so raise the limit to 600 kB to keep validate-build warning-free.

Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
quiet-node added a commit that referenced this pull request Apr 10, 2026
…#15)

The JS bundle (501.87 kB) barely exceeds Vite's default 500 kB threshold.
As a local-only Tauri desktop app, bundle size has no user-facing impact,
so raise the limit to 600 kB to keep validate-build warning-free.

Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
quiet-node added a commit that referenced this pull request Apr 11, 2026
…#15)

The JS bundle (501.87 kB) barely exceeds Vite's default 500 kB threshold.
As a local-only Tauri desktop app, bundle size has no user-facing impact,
so raise the limit to 600 kB to keep validate-build warning-free.

Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
nadalpiantini added a commit to Openclaw-claws/thuki that referenced this pull request Jul 27, 2026
Full audit cleanup after agency-agents tri-review (Reality Checker,
API Tester, Performance Benchmarker) flagged real issues hidden by
self-graded scoring.

Tests repaired (was 145 failing pre-existing rebrand drift):
- IntroStep.test.tsx: Spanish onboarding strings (Antes de empezar,
  Doble-tap, Empezar, etc)
- AskBarView.test.tsx: placeholder Pregúntale a Sephirot... + img
  alt Sephirot
- OnboardingView.test.tsx: Activar Accesibilidad, Abrir ajustes de
  grabación de pantalla, Cerrar y reabrir Sephirot, Activo badge
- index.test.tsx: stages text
- App.test.tsx: combined cascading replacements

Cord client improvements (agentTarsClient.ts):
- stripCodeFences() removes wrapping ```python/```json fences from
  DeepSeek responses so the bubble shows clean content (case quiet-node#6,
  quiet-node#15 from stress test were leaking raw markdown)
- Added 5 unit tests for stripCodeFences (single fence, mid-content
  preservation, no-fence passthrough)

Type pollution cleanup (useOllama.ts + App.tsx):
- New `transportError` field on Message for non-Ollama failures
  ('agent-tars-down' | 'agent-tars-timeout' | 'agent-tars-bad-response'
  | 'agent-tars-unknown') replaces the misleading errorKind: 'Other'
  reuse of OllamaErrorKind
- Error messages translated to Spanish (Alan is hispanoparlante; was
  English in earlier ship)

Integration tests (browseFlow.integration.test.tsx — NEW):
- 7 cases covering: happy path with fence stripping, proxy 504 →
  TIMEOUT, network unreachable → DOWN, stale 404 → recreate,
  UTF-8 multi-script preservation, empty content → BAD_RESPONSE,
  3-concurrent → 1 createSession (mutex)

Real-workload validation (20-case DeepSeek stress, post-patches):
- 20/20 OK, 0 errors (was 18/20 before patches)
- Latency: p50=2245ms, p95=11325ms, max=11497ms
- The 2 cases that previously timed out at 75s (quiet-node#5 rd.bank, quiet-node#11
  long.task) now complete in 8.0s and 11.5s respectively, confirming
  agent-tars internal stalls are recoverable on retry

Suite total: 30 files, 627/627 tests green.
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