Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add client state to coredump #2338

Open
dshaw opened this issue May 10, 2024 · 2 comments
Open

Add client state to coredump #2338

dshaw opened this issue May 10, 2024 · 2 comments
Assignees
Labels
coredump Issues that contain a coredump.

Comments

@dshaw
Copy link
Contributor

dshaw commented May 10, 2024

This issue extends #1573 and captures the details needed to complete the implementation.

Client state needed to understand the state of the modeling-app front end is contained within several singletons and xstate machines. Most of the entries in coredump so far have been relatively flat. None of these will be flat and some might have arbitrary structures. Some state might need to be excluded in the dump, like TOKEN in Auth. For excluded data that’s provides critical insights into whether the app should be functional, we may want to include a data validation like isValidToken: boolean.

Proposed structure

"client_state": {
    "kcl_manager": {},
    "scene_infra": {},
    "engine_command_manager": {},
    "modeling_machine": {},
    "settings_machine": {},
    "auth_machine": {},
    "home_machine": {},
    "command_bar_machine": {}
  }
@dshaw dshaw added the coredump Issues that contain a coredump. label May 10, 2024
@dshaw dshaw self-assigned this May 10, 2024
@dshaw dshaw changed the title Add state to coredump Add client state to coredump May 10, 2024
@dshaw
Copy link
Contributor Author

dshaw commented May 13, 2024

Uses #2316 as a part of its test fixture.

@dshaw
Copy link
Contributor Author

dshaw commented May 14, 2024

Add fileMachine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coredump Issues that contain a coredump.
Projects
None yet
Development

No branches or pull requests

1 participant