Page MenuHomePhabricator

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

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

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