Railway has launched built-in feature flags for every project, eliminating the need for third-party services like LaunchDarkly. Flags support boolean, string, number, and JSON types with targeting rules based on user attributes and percentage rollouts. The SDK evaluates flags in-memory after a single init call, making reads as cheap as function calls. A unique conflict resolution model returns the flag's default value whenever rules disagree, ensuring production always wins. Flags are accessible via the dashboard, CLI, TypeScript SDK, and MCP server, allowing AI agents to drive rollouts end-to-end from natural language prompts.

8m read timeFrom blog.railway.com
Post cover image
Table of contents
What it looks likeOne rollout, start to finishWhen rules disagree, production winsWhere this goes
6.4K Impressions