rsbuild-dev-server-containerized-ci

Diagnoses and fixes containerized dev servers unreachable through published Docker ports after bundler upgrades.

1|Updated Jun 9, 2026
One-click install
npx skills add https://github.com/VilnaCRM-Org/claude-plugins --skill rsbuild-dev-server-containerized-ci-vilnacrm-org
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: rsbuild-dev-server-containerized-ci
Source: https://github.com/VilnaCRM-Org/claude-plugins/tree/main/plugins/react-frontend-sdlc/skills/rsbuild-dev-server-containerized-ci
Command: npx skills add https://github.com/VilnaCRM-Org/claude-plugins --skill rsbuild-dev-server-containerized-ci-vilnacrm-org

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? After a bundler or framework major upgrade (Rsbuild, Next.js, Vite), the dev server may silently change its default host binding to localhost, making it unreachable through the published Docker port. Every CI job that starts the dev container then fails at the start-container step, and the failure looks like a fleet of unrelated broken jobs rather than one binding misconfiguration. ## Core Features & Use Cases - Root-cause identification: Recognizes the signature of a host-binding failure — healthcheck loops timing out, connection refused on the published port, and dev server logs printing only a loopback URL. - Config-level fix: Sets server.host to 0.0.0.0 in the bundler config at the repository root so the Makefile, compose file, and IDE runs all share the same binding. - Verification workflow: Starts the dev container via the mapped make target, runs the wait-for-dev healthcheck, and confirms reachability through the published port. - Use Case: After bumping Rsbuild from v1 to v2, all CI jobs (static, unit, integration, Lighthouse) fail at container startup. Use this Skill to identify the changed server.host default, pin the binding in rsbuild.config.ts, and verify with the healthcheck target. ## Quick Start Diagnose why my containerized dev server is unreachable on the published Docker port after the Rsbuild upgrade and fix the host binding in the bundler config.

Frequently Asked Questions about rsbuild-dev-server-containerized-ci

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why is my Docker dev server unreachable on the published port?▼

The dev server is likely bound to localhost inside the container, which Docker cannot forward to the published port. Set the host to 0.0.0.0 in the bundler config so the server listens on all interfaces and the port mapping works.

How do I fix Rsbuild dev server connection refused in CI?▼

Rsbuild v2 changed the default server.host from 0.0.0.0 to localhost. Set server.host explicitly to 0.0.0.0 in rsbuild.config.ts, then restart the dev container and run the wait-for-dev healthcheck to confirm reachability.

Why do all CI jobs fail at the start-container step after a bundler upgrade?▼

A bundler major upgrade can silently change the dev server's default host binding, making it unreachable through the published port. Every job depending on the dev container then fails at startup, which looks like unrelated failures but shares one root cause.

Should I use a host flag or bundler config to expose the dev server?▼

Prefer the bundler config over a command-line host flag. The config is shared by the Makefile, compose file, and IDE runs, while a flag added to one invocation leaves the other paths broken.

Does this host binding issue apply to Next.js and Vite?▼

Yes, the same failure signature applies after any framework major upgrade that changes dev-server binding defaults. Next.js binds all interfaces by default, but the wait-for-dev healthcheck failure pattern is identical when defaults change.

When is a dev container failure not a host binding problem?▼

If the app boots and then errors, that is an application failure, not a binding one. The binding issue specifically shows connection refused on the published port and a loopback-only URL in the dev server log.