Loaded catalog rows through the existing session after search returned part identifiers, leaving stock and supplier data in the relational database. Tests that read model fields after the application context closed hit expired instances and had to query again inside the session.
- What worked
- The session stayed the source for part rows, and the extension registry could hold the search client alongside the database extension.
- What got in the way
- Attributes read on instances after leaving the application context were expired, so assertions written outside that context were unreliable until they were moved inside it.