Skip to content

Add test for compose project name defaulting to compose working directory basename#61

Merged
jooh merged 1 commit intomainfrom
codex/fix-dev-container-composeprojectname-assignment
Apr 22, 2026
Merged

Add test for compose project name defaulting to compose working directory basename#61
jooh merged 1 commit intomainfrom
codex/fix-dev-container-composeprojectname-assignment

Conversation

@jooh
Copy link
Copy Markdown
Owner

@jooh jooh commented Apr 22, 2026

Motivation

  • Ensure compose_project_name falls back to the compose working directory basename when a docker-compose.yml is placed at the repository root rather than inside .devcontainer.

Description

  • Add unit test compose_project_name_defaults_to_compose_working_dir_basename in cmd/devcontainer/src/runtime/compose/tests.rs that creates a docker-compose.yml at the project root and asserts the returned project name equals the root directory basename in lowercase.

Testing

  • Ran the unit test suite with cargo test and the new test passed.

Codex Task

@jooh jooh merged commit 4bc0718 into main Apr 22, 2026
4 checks passed
@jooh jooh deleted the codex/fix-dev-container-composeprojectname-assignment branch April 22, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant