Repository navigation
Conversation
Contributor
|
@16francej — recommend merging this PR. Focused behavior tests and the build passed, and the change rejects invalid timeout values while preserving valid positive integers and the default. |
Contributor
|
Thanks for this, @jbetala7. The fix is now on main: bin/gstack-model-benchmark validates --timeout-ms with parsePositiveIntegerFlag (already on main as of v1.91.16.0). Closing as superseded; if you still see the problem on the latest gstack, please open an issue with ./setup --status output. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--timeout-msvalues before benchmark dry-run/provider executionFixes #1726
Validation
bun test test/benchmark-cli.test.ts--timeout-msvalues1abc,nope,0,-1,1.5, and empty all exit 1 with--timeout-ms requires a positive integer--timeout-ms +2500 --dry-runreportstimeout_ms: 2500git diff --checkgit merge-tree --write-tree HEAD origin/mainCollision check
Before publishing, I searched open issues/PRs for
gstack-model-benchmark --timeout-ms, malformed benchmark timeout parsing,timeout_ms NaN, issue #1726, and open PRs touchingbin/gstack-model-benchmark/test/benchmark-cli.test.ts. No canonical PR covers this timeout validation bug. Open PR #1495 touches the same CLI for an additive Ollama provider and does not validate--timeout-ms.