Page MenuHomePhabricator

Orchestrator returns an error on valid pair
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Using the "tester in orchestrator" patches, attempt to run tests on a function

What happens?:
The tests all fail. The pair that is returned shows that the invalid ZObject is, in fact, valid.

Example:

{
    "Z1K1": "Z22",
    "Z22K1": "Z23",
    "Z22K2": {
      "Z1K1": "Z5",
      "Z5K1": {
        "Z1K1": "Z502",
        "Z502K1": {
          "Z1K1": {
            "Z1K1": "Z9",
            "Z9K1": "Z22"
          },
          "Z22K1": {
            "Z1K1": "Z6",
            "Z6K1": "tset"
          },
          "Z22K2": {
            "Z1K1": {
              "Z1K1": "Z9",
              "Z9K1": "Z23"
            }
          }
        }
      }
    }
  }

What should have happened instead?:
The response object should have been returned instead of an error being thrown.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:

Event Timeline

Change 709739 had a related patch set uploaded (by Lindsay Wardell; author: Lindsay Wardell):

[mediawiki/services/function-orchestrator@master] Return normalized form if canonicalization fails for some reason.

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

Change 709739 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] Return normalized form if canonicalization fails for some reason.

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