Page MenuHomePhabricator

Rust-based evaluator implements a timeout
Closed, ResolvedPublic

Description

Description

Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • there is a timeout, configurable with environment variables in the Helm chart

Completion checklist

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
implement timeout in Rustrepos/abstract-wiki/wikifunctions/function-evaluator!402ecarggrace/T399345/rust-implement-timeoutmain
Customize query in GitLab

Event Timeline

tokio::timeout looks very good to me!

Jdforrester-WMF assigned this task to ecarg.
Jdforrester-WMF subscribed.

Reflecting reality.

Leaving in Engineering for test coverage.

To confirm @ecarg, are we holding this task open for the test?

@Jdforrester-WMF I was going to make a followup task, if you think I just do it under this phab task I'm ok with that too

Change #1192973 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2025-09-24-083919 to 2025-09-30-194529

https://gerrit.wikimedia.org/r/1192973

@Jdforrester-WMF I was going to make a followup task, if you think I just do it under this phab task I'm ok with that too

Let's track it in T406181.

Change #1192973 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2025-09-24-083919 to 2025-09-30-194529

https://gerrit.wikimedia.org/r/1192973