Skip to content

fix(strr-examiner-web): ignore stale invoice responses - #1819

Draft
Jacky-Pham wants to merge 1 commit into
Jacky/strr-examiner-snapshot-loads-20260915from
Jacky/strr-examiner-payment-metadata-20260915
Draft

Jacky-Pham wants to merge 1 commit into
Jacky/strr-examiner-snapshot-loads-20260915from
Jacky/strr-examiner-payment-metadata-20260915

Conversation

@Jacky-Pham

@Jacky-Pham Jacky-Pham commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

A slow invoice response can replace the amount and payment date shown for a newer application. The old response can also restore metadata after a record-load failure or after switching to a registration, snapshot or application without an invoice. A record change that keeps the same invoice ID can leave previously displayed metadata behind.

Give payment lookups a request sequence and watch the selected record, invoice ID and payment account. Every change clears the display metadata and invalidates older lookups; only the latest successful invoice response can populate the amount/date. Existing invoice-error logging, zero-total display and unavailable-data fallback are preserved.

Validation: 14 new cases use the real store, record loaders and ApplicationInfoHeader with synthetic API responses. Eight fail on the parent source; all pass after the repair. All 95 targeted tests pass, and lint reports only two existing line-length warnings. All 333 Examiner unit tests pass locally. Paired strict checking retains the same 140 existing diagnostics, with none introduced. Standalone CI passes lint, all 333 tests and build. Combined CI passes all five frontend lint/test/build jobs with 908 tests, including 350 Examiner tests. Combined strict checks retain 364 existing diagnostics, with none introduced.

Stacked on #1818. This covers payment display state; authenticated Examiner browser verification remains outstanding.

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant