This repository was archived by the owner on Apr 11, 2026. It is now read-only.
Commit 9dd2d3d
fix(flowctl): detect Rust stack in subdirectories
detect_stack() only checked for Cargo.toml at repo root. Now also checks
immediate subdirectories (e.g., flowctl/Cargo.toml). When found in a
subdirectory, guard commands include a `cd <subdir> &&` prefix.
This ensures `flowctl guard` and `flowctl stack detect` work for
monorepo layouts where the Rust workspace is in a subdirectory.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d8cabda commit 9dd2d3d
1 file changed
Lines changed: 30 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
140 | 158 | | |
141 | | - | |
142 | | - | |
143 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
144 | 168 | | |
145 | | - | |
| 169 | + | |
146 | 170 | | |
147 | 171 | | |
148 | 172 | | |
| |||
0 commit comments