Page MenuHomePhabricator

Re-enable skipped tests in mswOrchestrateTest once type comparison's guarantees are stricter
Closed, ResolvedPublic

Description

Description

Several tests (marked with this task's ID) have been disabled in mswOrchestrateTest.js. This is because the first phase of the shift from validation to type comparison has loosened our type-checking guarantees. This loosening was planned [1] and will be temporary.

https://docs.google.com/document/d/117-heKYSIPIUB6ZTOdb4euehKvL1u21rkLfQ8Wob2s4/edit?usp=sharing

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

  • type comparison logic will become stricter about generic types AND/OR
  • all top-level generic types will be resolved to Z4s before type comparison takes place

Completion checklist

Details

Related Changes in Gerrit:
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
tests: Un-skip old skipped Type comparison tests that now passrepos/abstract-wiki/wikifunctions/function-orchestrator!585jforresterunskippadidoodahmain
Customize query in GitLab

Event Timeline

These tests are still failing. As far as I can tell, the "bad user-defined type" test in mswOrchestrateTest is redundant with "generic type validation error: bad list" in mockedServicesOrchestrateTest/genericsTest.js

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-03-04-220825 to 2026-03-10-224034

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

Change #1250595 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2026-03-04-220825 to 2026-03-10-224034

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