Page MenuHomePhabricator

Abandon Avro serialization; use the raw JSON request format and, optionally, compression
Closed, ResolvedPublic

Description

Description

The evalutaor request format should be sufficient for our needs. Avro is a clunky dependency and one that doesn't play well with Rust. If we find that our request sizes are unacceptable, we can use a compression algorithm like gzip or fflate.

  • Regular versions
  • Rust version
  • Migrate all tests to only use the current exchange format
  • Drop old Avro code in evaluator/orchestrator/schemata

Remove all the non-applicable tags from the "Tags" field, leave only the tags of the projects/repositories related to this task


Completion checklist

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Eliminate everything that had to do with Avro.repos/abstract-wiki/wikifunctions/function-schemata!286apineapine-avropocalypsemain
Use exchange format instead of Avro in Rust.repos/abstract-wiki/wikifunctions/function-evaluator!425apineapine-rust-no-avromain
Add exchange format v2.1.0 for Rust.repos/abstract-wiki/wikifunctions/function-schemata!284apineapine-rust-no-avromain
Update function-schemata sub-module to HEAD (8181338)repos/abstract-wiki/wikifunctions/wikilambda-cli!92jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (8181338)repos/abstract-wiki/wikifunctions/function-evaluator!424jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (8181338)repos/abstract-wiki/wikifunctions/function-orchestrator!468jforrestersync-function-schematamain
Remove all trace of Avro from Node code.repos/abstract-wiki/wikifunctions/function-schemata!282apineapine-no-avro-nodemain
Migrate remaining tests off of Avro.repos/abstract-wiki/wikifunctions/function-evaluator!423apineapine-moarmain
Move (or copy) all executor-specific test files to a subdirectory.repos/abstract-wiki/wikifunctions/function-evaluator!422apineapine-exchange-format-testsmain
Move all the Z7-style test cases to a separate directory and combine with expectations.repos/abstract-wiki/wikifunctions/function-evaluator!421apineapine-test-changesmain
Update function-schemata sub-module to HEAD (960dd2c)repos/abstract-wiki/wikifunctions/wikilambda-cli!91jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (960dd2c)repos/abstract-wiki/wikifunctions/function-evaluator!420jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (960dd2c)repos/abstract-wiki/wikifunctions/function-orchestrator!462jforrestersync-function-schematamain
Add exchange format v2.1.0, which dispenses with Avro.repos/abstract-wiki/wikifunctions/function-schemata!281apineapine-avrolessmain
Show related patches Customize query in GitLab

Related Objects

Event Timeline

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

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (960dd2c)

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

apine updated https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator/-/merge_requests/421

Draft: Move all the Z7-style test cases to a separate directory and combine with expectations.

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2025-09-30-194529 to 2025-10-06-215412

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2025-09-25-181720 to 2025-10-06-225918

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

jforrester merged https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator/-/merge_requests/421

Move all the Z7-style test cases to a separate directory and combine with expectations.

Change #1194619 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2025-09-30-194529 to 2025-10-06-215412

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

Change #1194620 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2025-09-25-181720 to 2025-10-06-225918

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2025-10-06-215412 to 2025-10-09-001812

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

Change #1194936 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2025-10-06-215412 to 2025-10-09-001812

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

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2025-10-06-225918 to 2025-10-14-194525

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

Change #1196439 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2025-10-06-225918 to 2025-10-14-194525

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

Jdforrester-WMF subscribed.

Everything is now deployed, or is in non-deployed code, so straight to sign-off.

Change #1192975 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (960dd2c)

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

Change #1198036 had a related patch set uploaded (by Cory Massaro; author: Cory Massaro):

[operations/deployment-charts@master] Wikifunctions: Upgrade orchestrator from 2025-10-14-194525 to 2025-10-22-011302.

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

Change #1198039 had a related patch set uploaded (by Cory Massaro; author: Cory Massaro):

[operations/deployment-charts@master] Update function-evaluators from 2025-10-15-120631 to 2025-10-21-143846.

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

Change #1198039 merged by jenkins-bot:

[operations/deployment-charts@master] Wikifunctions: Update function-evaluators from 2025-10-15-120631 to 2025-10-21-143846.

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

Change #1198036 merged by jenkins-bot:

[operations/deployment-charts@master] Wikifunctions: Upgrade orchestrator from 2025-10-14-194525 to 2025-10-22-011302.

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

Change #1199502 had a related patch set uploaded (by Cory Massaro; author: Cory Massaro):

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (3ad3836)

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

Change #1200003 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (eb9b98ae)

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

Change #1199502 abandoned by Genoveva Galarza:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (3ad3836)

Reason:

Abandoning this in favor of 1200003

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

Change #1200003 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (eb9b98ae)

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