agent-harness 0.17.0 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +7 -0
- data/lib/agent_harness/provider_health_check.rb +12 -1
- data/lib/agent_harness/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 68dcb8a37c35c6ded8f4d01e0f0d6d14e1588ac41a88f2b613fa2fbab9decc79
|
|
4
|
+
data.tar.gz: 6317ce0f0ef2aaadf13dfa39b6897d67a4b453bbb7b7b09db348366d33b8d993
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59989e7197cf596e87ae4ffb87f252419d72f3c9c119de4f210fc4a41c7b3777187a69f1745e65f7a1cefb0010b87f316cd375c673de56e906e4b223364dac44
|
|
7
|
+
data.tar.gz: a691c948ee1fb9f3f6777b3624863b42024ecf85c84b5b320a0e258cf4f7467db7832e703048cee42272cd3e946c020321873788d48de225acaf00eaa8bee757
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.17.1](https://github.com/viamin/agent-harness/compare/agent-harness/v0.17.0...agent-harness/v0.17.1) (2026-05-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* 173: Smoke test contract timeout (30s) overrides caller timeout, breaking slow models ([#205](https://github.com/viamin/agent-harness/issues/205)) ([3a1e301](https://github.com/viamin/agent-harness/commit/3a1e301e36ef8957fd440f2782b3b8e4687b473c))
|
|
9
|
+
|
|
3
10
|
## [0.17.0](https://github.com/viamin/agent-harness/compare/agent-harness/v0.16.1...agent-harness/v0.17.0) (2026-05-03)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -324,7 +324,18 @@ module AgentHarness
|
|
|
324
324
|
# contract[:timeout]. When the provider overrides #smoke_test without
|
|
325
325
|
# publishing a contract, forward the validated health-check timeout so
|
|
326
326
|
# the override can honour it instead of running without any limit.
|
|
327
|
-
|
|
327
|
+
# However, when the caller explicitly provides a timeout that exceeds
|
|
328
|
+
# the contract timeout, honour the caller's intent so slow models
|
|
329
|
+
# are not prematurely killed by the contract default.
|
|
330
|
+
contract_timeout = smoke_contract&.dig(:timeout)
|
|
331
|
+
valid_contract_timeout = contract_timeout.is_a?(Numeric) && contract_timeout.positive?
|
|
332
|
+
smoke_timeout = if valid_contract_timeout && timeout && timeout > contract_timeout
|
|
333
|
+
timeout
|
|
334
|
+
elsif smoke_contract
|
|
335
|
+
nil
|
|
336
|
+
else
|
|
337
|
+
timeout
|
|
338
|
+
end
|
|
328
339
|
smoke = provider_instance.smoke_test(timeout: smoke_timeout, provider_runtime: provider_runtime)
|
|
329
340
|
unless smoke[:ok]
|
|
330
341
|
return build_result(
|