mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-09 22:33:37 +00:00
Add inherit = false to all trycmd test envs to prevent CI flakiness
The doctor dry-run test was failing in CI because it inherited the host environment. With no LLM API keys set, the doctor reported errors and exited non-zero. Adding `inherit = false` to all 18 .toml test files ensures deterministic behavior regardless of the host environment. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
06f8fcef06
commit
1806aa86d6
18 changed files with 52 additions and 0 deletions
|
|
@ -3,3 +3,4 @@ args = ["doctor", "--dry-run"]
|
|||
|
||||
[env]
|
||||
inherit = false
|
||||
ANTHROPIC_API_KEY = "sk-test-dummy"
|
||||
|
|
|
|||
|
|
@ -2,3 +2,6 @@ bin.name = "fabro"
|
|||
args = ["llm", "prompt", "-o", "bad_option", "hello"]
|
||||
status = "failed"
|
||||
stderr-to-stdout = true
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
|
|
|||
|
|
@ -2,3 +2,6 @@ bin.name = "fabro"
|
|||
args = ["llm", "prompt"]
|
||||
status = "failed"
|
||||
stderr-to-stdout = true
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
|
|
|||
|
|
@ -2,3 +2,6 @@ bin.name = "fabro"
|
|||
args = ["llm", "prompt", "--no-stream", "-m", "test-model", "--schema", "not json", "hello"]
|
||||
status = "failed"
|
||||
stderr-to-stdout = true
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
bin.name = "fabro"
|
||||
args = ["run", "--dry-run", "--auto-approve", "../../../test/branching.fabro"]
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
||||
[fs]
|
||||
sandbox = false
|
||||
cwd = "../../.."
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
bin.name = "fabro"
|
||||
args = ["run", "--dry-run", "--auto-approve", "../../../test/conditions.fabro"]
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
||||
[fs]
|
||||
sandbox = false
|
||||
cwd = "../../.."
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
bin.name = "fabro"
|
||||
args = ["run", "--dry-run", "--auto-approve", "../../../test/legacy_tool.fabro"]
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
||||
[fs]
|
||||
sandbox = false
|
||||
cwd = "../../.."
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
bin.name = "fabro"
|
||||
args = ["run", "--dry-run", "--auto-approve", "../../../test/parallel.fabro"]
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
||||
[fs]
|
||||
sandbox = false
|
||||
cwd = "../../.."
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
bin.name = "fabro"
|
||||
args = ["run", "--dry-run", "--auto-approve", "../../../test/simple.fabro"]
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
||||
[fs]
|
||||
sandbox = false
|
||||
cwd = "../../.."
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
bin.name = "fabro"
|
||||
args = ["run", "--dry-run", "--auto-approve", "../../../test/styled.fabro"]
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
||||
[fs]
|
||||
sandbox = false
|
||||
cwd = "../../.."
|
||||
|
|
|
|||
|
|
@ -2,3 +2,6 @@ bin.name = "fabro"
|
|||
args = ["--no-dotenv", "doctor"]
|
||||
status = "failed"
|
||||
stderr-to-stdout = true
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
bin.name = "fabro"
|
||||
args = ["validate", "../../../test/branching.fabro"]
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
||||
[fs]
|
||||
sandbox = false
|
||||
cwd = "../../.."
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
bin.name = "fabro"
|
||||
args = ["validate", "../../../test/conditions.fabro"]
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
||||
[fs]
|
||||
sandbox = false
|
||||
cwd = "../../.."
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@ bin.name = "fabro"
|
|||
args = ["validate", "../../../test/invalid.fabro"]
|
||||
status = "failed"
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
||||
[fs]
|
||||
sandbox = false
|
||||
cwd = "../../.."
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
bin.name = "fabro"
|
||||
args = ["validate", "../../../test/legacy_tool.fabro"]
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
||||
[fs]
|
||||
sandbox = false
|
||||
cwd = "../../.."
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
bin.name = "fabro"
|
||||
args = ["validate", "../../../test/parallel.fabro"]
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
||||
[fs]
|
||||
sandbox = false
|
||||
cwd = "../../.."
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
bin.name = "fabro"
|
||||
args = ["validate", "../../../test/simple.fabro"]
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
||||
[fs]
|
||||
sandbox = false
|
||||
cwd = "../../.."
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
bin.name = "fabro"
|
||||
args = ["validate", "../../../test/styled.fabro"]
|
||||
|
||||
[env]
|
||||
inherit = false
|
||||
|
||||
[fs]
|
||||
sandbox = false
|
||||
cwd = "../../.."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue