Skip to content

fix: warning when start command is missing#490

Merged
iloveitaly merged 2 commits intorailwayapp:mainfrom
iloveitaly:warning-when-no-start
Mar 12, 2026
Merged

fix: warning when start command is missing#490
iloveitaly merged 2 commits intorailwayapp:mainfrom
iloveitaly:warning-when-no-start

Conversation

@iloveitaly
Copy link
Collaborator

Motivation

Inform the user when no start command is detected during the build process. Previously, this feedback was only provided if the --error-missing-start flag was enabled.

Description

Added a centralized warning message in core/validate.go that triggers when plan.Deploy.StartCmd is empty.

Test

Updated TestValidateStartCommand in core/validate_test.go to verify both warning and error logging levels and content.

previously this would only happen if error-missing-start is enabled, which is not enabled by default.
@iloveitaly iloveitaly force-pushed the warning-when-no-start branch from 63f36d0 to 249736b Compare March 12, 2026 18:02
@iloveitaly iloveitaly merged commit 03e6bef into railwayapp:main Mar 12, 2026
107 checks passed
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