Page MenuHomePhabricator

Clean up our rusty-py/rusty-js images' file paths to be simpler
Closed, ResolvedPublic

Description

rusty-js

- /srv/executors/
  - /srv/executors/function-schemata/
  - /srv/executors/javascript/
- /srv/rustversion
  - /srv/rustversion/interpreters/
    - /srv/rustversion/interpreters/wasip1_quickjs_uncompiled_spliced.wasm # Confusingly named
  - /srv/rustversion/target/
    - /srv/rustversion/target/release/
      - /srv/rustversion/target/release/evaluator-service # Massively nested for no reason

rusty-py

- /srv/executors/ # Missing function-schemata
  - /srv/executors/python3/
- /srv/rustversion
  - /srv/rustversion/target/
    - /srv/rustversion/target/release/
      - /srv/rustversion/target/release/evaluator-service # Massively nested for no reason
- /srv/service/
  - /srv/service/programming-languages/ # Differently named from the JS version
    - /srv/service/programming-languages/rustpython.so # Unused
    - /srv/service/programming-languages/rustpython_uncompiled.wasm # Confusingly named

Let's just simplify everything into something like:

- /srv/function-evaluator-service     # Main service binary
- /srv/interpreter-quickjs.wasm       # Only for JS image
- /srv/interpreter-rustpython.wasm    # Only for Py image
- /srv/executors/
  - /srv/executors/function-schemata/
  - /srv/executors/javascript/        # Only for JS image
  - /srv/executors/python3/           # Only for Py image

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Simplify Rustversion interpreter and binary paths.repos/abstract-wiki/wikifunctions/function-evaluator!561apineapine-simplifymain
Customize query in GitLab

Event Timeline

Jdforrester-WMF renamed this task from Clean up our rusty-py/rusty-js images to be simpler: to Clean up our rusty-py/rusty-js images' file paths to be simpler.
Jdforrester-WMF updated the task description. (Show Details)
Jdforrester-WMF changed the task status from Open to In Progress.Wed, Jun 3, 4:56 PM
Jdforrester-WMF triaged this task as Medium priority.

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-06-03-023342 to 2026-06-06-013944

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

Change #1298812 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-06-03-023342 to 2026-06-06-013944

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