Using subprojects doesn't seem to work as expected, or we just need more examples #1233
|
Let me begin by stating that I genuinely enjoy using The remarkable aspect of the Builtins is that I shouldn’t have to customize every one if I’m using the linter/formatter in the standard expected manner. However, I’ve encountered more difficulties than anticipated in achieving this, and without the assistance of my agent, I would likely not have been able to make some tasks work. This has been the sole advantage of Therefore, I kindly request that we receive more comprehensive and intricate examples, particularly those that align with your envisioned usage of My current project is a monorepo with a Rust backend and a React Frontend using |
Replies: 1 comment 3 replies
|
Thanks for raising this. I traced through the subproject behavior and found that the existing nested-config example did not explain the composition model clearly enough. In particular, it put the frontend steps only under I opened #1239 to address this. It:
The existing subproject integration tests pass with and without libgit2, so I did not find a failure in literal directory/glob discovery or basic scoping. There are still known limitations: only one level of subprojects is supported, and templated If your failure differs from those cases, please share the root and subproject AI-assisted — Tool: Codex; model: openai/gpt-5; version: unavailable. |
@RobertDeRose Yes—this is a bug, and your agent’s diagnosis is correct. Subproject scoping gives the step a literal working directory and makes
{{files}}relative to it, but{{workspace}}and{{workspace_indicator}}remained repository-relative. That caused commands running inuito receive paths such asui/tsconfig.jsonand resolve them asui/ui/tsconfig.json.I opened #1242 to fix this centrally. Workspace template paths used by commands are now relative to a literal step working directory, while the repository-relative context used to render templated
dirsettings is preserved. The PR adds unit coverage and a Bats regression that executes a workspace-aware step from a subproject with b…