Skip to content

Rename evaluationTimeout to timeoutMs#3508

Open
kenhuuu wants to merge 1 commit into
masterfrom
rename-evalTimeout
Open

Rename evaluationTimeout to timeoutMs#3508
kenhuuu wants to merge 1 commit into
masterfrom
rename-evalTimeout

Conversation

@kenhuuu

@kenhuuu kenhuuu commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Collapses the per-request execution timeout onto a single name, timeoutMs, across the server config, the script with() token, the internal executor, error messages, and all five GLV APIs. The legacy evaluationTimeout and scriptEvaluationTimeout names are removed with no alias.

The point of the change was to eliminate a dual-name inconsistency, so it made little sense to stop halfway. The 4.x wire protocol already used timeoutMs while the config key, script token, and three drivers still spoke evaluationTimeout — the server even resolved the effective timeout by checking both names. Renaming only some surfaces would relocate that confusion rather than remove it, and leaving the driver builder methods on the old name would trade a wire-vs-config mismatch for a wire-vs-API one.

Review guide:
This is another PR that is mostly a search and replace of evaluationTimeout to timeoutMs. What's important for other reviewers to decide is whether this change should have applied as widely as it did. This effectively changes it everywhere including in the server where the YAML will just read timeoutMs. evaluationTimeout is arguably a more descriptive name, but an effort was made to try and explain what timeoutMs is everywhere that it is used.

VOTE +1

Collapses the per-request execution timeout onto a single name, `timeoutMs`,
across the server config, the script `with()` token, the internal executor,
error messages, and all five GLV APIs. The legacy `evaluationTimeout` and
`scriptEvaluationTimeout` names are removed with no alias.

The point of the change was to eliminate a dual-name inconsistency, so it made
little sense to stop halfway. The 4.x wire protocol already used `timeoutMs`
while the config key, script token, and three drivers still spoke
`evaluationTimeout` — the server even resolved the effective timeout by
checking both names. Renaming only some surfaces would relocate that confusion
rather than remove it, and leaving the driver builder methods on the old name
would trade a wire-vs-config mismatch for a wire-vs-API one.

Assisted-by: Claude Code:claude-opus-4-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant