Skip to content

fix(docker): enable dev-settings feature by default in local builds#523

Open
drew wants to merge 1 commit intomainfrom
fix-dev-settings-local-build/an
Open

fix(docker): enable dev-settings feature by default in local builds#523
drew wants to merge 1 commit intomainfrom
fix-dev-settings-local-build/an

Conversation

@drew
Copy link
Collaborator

@drew drew commented Mar 21, 2026

Summary

Local image builds (mise run cluster, mise run docker:build:*) were missing the dev-settings feature flag, causing e2e tests to fail with unknown setting key 'dummy_bool'. CI sets EXTRA_CARGO_FEATURES=openshell-core/dev-settings explicitly in docker-build.yml, but the local build path never did.

Related Issue

No issue — discovered while running e2e tests locally after #474 landed.

Changes

  • tasks/scripts/docker-build-image.sh: Default EXTRA_CARGO_FEATURES to openshell-core/dev-settings when not already set by the caller. This matches CI behavior and ensures test-only settings (dummy_bool, dummy_int) are compiled into local builds.

The variable can still be overridden (EXTRA_CARGO_FEATURES=foo mise run cluster) or cleared (EXTRA_CARGO_FEATURES="" mise run cluster) if needed.

Testing

  • Verified the script change applies the default correctly
  • E2E tests require a cluster rebuild to validate end-to-end

Checklist

  • Follows Conventional Commits
  • Architecture docs updated (if applicable)

Local image builds via mise run cluster / mise run docker:build:*
were missing the dev-settings feature flag, causing e2e tests to fail
with 'unknown setting key dummy_bool'. CI sets EXTRA_CARGO_FEATURES
explicitly but the local path did not.

Default EXTRA_CARGO_FEATURES to openshell-core/dev-settings so local
builds match CI. The variable can still be overridden by the caller.
@drew drew requested a review from a team as a code owner March 21, 2026 15:47
@drew drew self-assigned this Mar 21, 2026
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.

2 participants