The interview problem

Practice prompt

A platform release passes its own tests but breaks three customer plugins. Design a compatibility program that tests the interactions customers actually depend on.

Original practice, not a reported company interview. All worked numbers are illustrative. Interview date: not applicable. Written October 3, 2026.

1. Scope and assumptions

Assume plugins communicate with the host through a versioned API. Contract tests cover communication expectations; they do not prove all business logic or UI behavior. Include supported old plugin versions in the release policy.

2. Architecture and decisions

Consumer fixtures → versioned contracts → provider verification → compatibility matrix → canary release

Ask each plugin owner for minimal interactions covering success, empty results, errors and pagination. Capture only fields and behavior the consumer relies on, avoiding brittle snapshots of irrelevant data. Verify those contracts against the real provider implementation in controlled states, not another mock that repeats the same assumptions.

Maintain a matrix of host versions and supported plugin versions, with an owner and expiry for each compatibility commitment. Use separate semantic tests for units, ordering and side effects that schema matching cannot establish. A failing supported contract blocks release until the provider is fixed or a jointly agreed migration is ready. Canary with representative tenants and preserve a rollback-compatible data path.

3. Work through the example

With 4 supported host variants and 12 plugin versions, a full matrix has 48 pairs. If policy supports only 18 pairs, test those 18 explicitly and document the other 30 as unsupported; do not report 18 passing cases as universal compatibility.

4. Failure cases and trade-offs

Overly permissive matchers hide a changed meaning. Overly strict response snapshots block harmless additions. Passing a mock consumer test without provider verification proves little about the deployed host. Contract suites also become stale when customer versions disappear, so review support commitments regularly.

5. Validation and acceptance

Deliberately remove a required field, change an error shape and alter a unit while retaining the same type. The communication checks should catch structural failures; semantic tests must catch the unit change. Review coverage with plugin owners and track failures detected before release.

6. Follow-ups and self-review

How would you retire a widely used old contract? Reward real provider verification, explicit support scope, semantic tests and a migration owner.

Sources and related practice

Pact documents consumer/provider contract testing and its scope; this plugin support matrix is original.

Read the primary technical reference

Reference retrieved October 3, 2026. Retrieval date is not an interview or source publication date. The reference supports the named concept; scenario, architecture, examples and rubric are original.

Continue with Integrate an AI workflow with an unreliable legacy API; Validate a customer integration beyond its sandbox.

Continue your preparation

Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.