Commit 3b51a13
committed
fix: let the subagent timeout environment variable disable the timeout
`[subagent] timeout_ms = 0` already means "no timeout", and the sibling
dynamic-workflow variable accepts the same value, but the subagent environment
variable rejected `0` and silently fell back to the configured value. Accept a
non-negative integer, and ignore a blank value rather than reading it as zero.1 parent 31e229f commit 3b51a13
4 files changed
Lines changed: 20 additions & 2 deletions
File tree
- .changeset
- docs/configuration
- packages/agent-core-v2
- src/session/subagent
- test/app/config
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2065 | 2065 | | |
2066 | 2066 | | |
2067 | 2067 | | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
2068 | 2081 | | |
2069 | 2082 | | |
2070 | 2083 | | |
| |||
0 commit comments