Commit 41badbe
fix detect_microservice_from_path for cwd at microservice root
microservice_for_path walks _bounded_parents which excludes the path
itself. When cwd is exactly the microservice root directory (the most
common case), it was never checked for a build marker and auto-scope
returned None. Pass a synthetic child path so cwd appears in the
parent walk.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 55da9ca commit 41badbe
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1589 | 1589 | | |
1590 | 1590 | | |
1591 | 1591 | | |
1592 | | - | |
1593 | | - | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
1594 | 1597 | | |
1595 | 1598 | | |
1596 | 1599 | | |
| |||
0 commit comments