merlyn/.github/workflows
Marcello Fitton 8aa78c2b75
Fix Stale User Session with Proper fetch Error Handling (#4770)
* add refresh user functionality

* prettier

* add eslint disable comment for exhaustive-deps warning in AuthContext to stop nagging about navigate func

* remove unused imports and fix typo

* handle unsafe parse of undefined for in-session user deleted

* Refactor refreshUser function to handle errors and return structured response. Update AuthProvider to manage user data based on success status.

* Remove console error logging from promise catch in System model for cleaner error handling.

* change status from 404 to 400 and valid to success

* Refactor error handling in AuthProvider's refreshUser logic to remove redundant catch block and streamline user session management on failure.

* prettier

* reorder clauses - return errors

* refactor
account for all user modes
dev build

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-12-12 11:43:20 -08:00
..
build-and-push-image-semver.yaml Docker base image upgrade to Ubuntu 24 (#4754) 2025-12-10 13:50:24 -08:00
build-and-push-image.yaml Docker base image upgrade to Ubuntu 24 (#4754) 2025-12-10 13:50:24 -08:00
check-package-versions.yaml Enable workflow rule for package verification (#3778) 2025-05-07 12:51:14 -07:00
check-translations.yaml chore: rename Github to GitHub (#3199) 2025-02-13 10:45:43 -08:00
dev-build.yaml Fix Stale User Session with Proper fetch Error Handling (#4770) 2025-12-12 11:43:20 -08:00
run-tests.yaml run jest (#4177) 2025-07-18 14:20:07 -07:00
sponsors.yaml Sponsors Showcase (#3816) 2025-05-13 10:04:55 -07:00