Skip to content

fix(client): guard redux-orm relation dereferences - #1822

Open
georgiedekker wants to merge 1 commit into
plankanban:masterfrom
nonagenticai:fix/redux-orm-guards
Open

georgiedekker wants to merge 1 commit into
plankanban:masterfrom
nonagenticai:fix/redux-orm-guards

Conversation

@georgiedekker

Copy link
Copy Markdown

Refs #1818.

Seven selectors and reducers dereferenced a possibly-null redux-orm relation (a row outliving the row it points at). There is no error boundary anywhere in client/src, so one orphaned row leaves #root empty for every user on every page.

Each dereference is now guarded. The commit also adds model/selector-level jest coverage — an asset mock and a minimal window stub (including matchMedia) so these modules can be imported under the existing node test environment.

Verification: client lint clean; 7 jest suites / 34 tests pass.

🤖 Generated with Claude Code

Seven selectors and reducers dereferenced a possibly-null redux-orm relation. There is no error boundary, so one orphaned row white-screens the entire app. Guard each dereference.

Adds the first model/selector-level jest coverage, with an asset mock and a minimal window stub so these modules can be imported under the node test environment.
@CLAassistant

CLAassistant commented Nov 13, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

This branch has not been deployed

No deployments
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.

2 participants