You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
compose.yaml gets a different reason from docker-compose.yml #340
Docker Compose reads compose.yaml (the current default name), compose.yml, docker-compose.yml and docker-compose.yaml. Today:
docker-compose.yml and docker-compose.yaml at the root report Configuration file(s) changed; full validation required
compose.yaml and compose.yml report Unknown changed file: …
docker-compose.yml in a subdirectory (deploy/docker-compose.yml) also reports Unknown changed file: …
The difference comes from isConfigFile in src/repo/impact.ts, which matches any path that starts with docker. That matches only at the root, and never matches compose.*. All of them already run the full suite, so only the reason changes.
Done when:
All four names report Configuration file(s) changed; full validation required, both at the repository root and in a subdirectory.
There's a test case for compose.yaml, compose.yml and deploy/docker-compose.yml.
New to DiffCI? See CONTRIBUTING.md. #142 and its PRs (#144, #155, #156) are a worked example of this exact change. Add a case to tests/repo/tool-config-reasons.test.ts, run npm test, and sign off commits with git commit -s. Comment here to claim the issue.
I will take this. I will classify all four Compose filenames by basename, add the requested root/subdirectory regression coverage and the fallback-reason docs row, then run the affected tests and npm test.
Fixed in c0eeeb5 on branch fix/core-340-compose-config-reason. Docker Compose's four conventional filenames now receive the configuration fallback consistently at root and nested paths, with regression coverage.
Activity
adityankale190895 commentedon Dec 3, 2026
I will take this. I will classify all four Compose filenames by basename, add the requested root/subdirectory regression coverage and the fallback-reason docs row, then run the affected tests and npm test.
adityankale190895 commentedon Dec 3, 2026
Fixed in c0eeeb5 on branch fix/core-340-compose-config-reason. Docker Compose's four conventional filenames now receive the configuration fallback consistently at root and nested paths, with regression coverage.
Fix Docker Compose config fallback (#340)