reflex/integration
Masen Furer 756bf9b0f4
[REF-1885] Shard Substates when serializing to Redis (#2574)
* Move sharding internal to StateManager

Avoid leaking sharding implementation details all over the State class and
breaking the API

* WiP StateManager based sharding

* Copy the state __dict__ when serializing to avoid breaking the instance

* State tests need to pass the correct substate token for redis

* state: when getting parent_state, set top_level=False

ensure that we don't end up with a broken tree

* test_app: get tests passing with redis by passing the correct token

refactor upload tests to suck less

* test_client_storage: look up substate key

* state.py: pass static checks

* test_dynamic_routes: working with redis state shard

* Update the remaining AppHarness tests to pass {token}_{state.get_full_name()}

* test_app: pass all tokens with state suffix

* StateManagerRedis: clean up commentary
2024-02-21 01:50:25 -08:00
..
benchmarks [REF-1958] Remove shadowed radix css props (#2590) 2024-02-13 10:06:28 -08:00
init-test reflex_init_in_docker_test: export both frontend and backend (#2182) 2023-11-16 14:21:54 -08:00
__init__.py Client-side storage / State integration (#1629) 2023-08-30 12:43:29 -07:00
conftest.py fix SmartDisplay visible parameter (#2451) 2024-01-24 17:41:16 -08:00
test_background_task.py Move core components to radix namespace (#2506) 2024-02-02 14:26:46 -08:00
test_call_script.py Merge remote-tracking branch 'origin/main' into reflex-0.4.0 2024-02-12 12:22:50 -08:00
test_client_storage.py [REF-1885] Shard Substates when serializing to Redis (#2574) 2024-02-21 01:50:25 -08:00
test_connection_banner.py apps should no longer call "app.compile()" (#2291) 2023-12-18 16:06:21 -08:00
test_dynamic_routes.py [REF-1885] Shard Substates when serializing to Redis (#2574) 2024-02-21 01:50:25 -08:00
test_event_actions.py [REF-1885] Shard Substates when serializing to Redis (#2574) 2024-02-21 01:50:25 -08:00
test_event_chain.py [REF-1885] Shard Substates when serializing to Redis (#2574) 2024-02-21 01:50:25 -08:00
test_form_submit.py [REF-1885] Shard Substates when serializing to Redis (#2574) 2024-02-21 01:50:25 -08:00
test_input.py [REF-1885] Shard Substates when serializing to Redis (#2574) 2024-02-21 01:50:25 -08:00
test_large_state.py simple pytest benchmark for measuring event <=> state update round trip time (#2489) 2024-01-30 15:55:55 -08:00
test_login_flow.py Move core components to radix namespace (#2506) 2024-02-02 14:26:46 -08:00
test_navigation.py [REF-1993] link: respect is_external prop and other attributes on A tag (#2651) 2024-02-19 15:43:27 -08:00
test_server_side_event.py Move core components to radix namespace (#2506) 2024-02-02 14:26:46 -08:00
test_state_inheritance.py Merge remote-tracking branch 'origin/main' into reflex-0.4.0 2024-02-08 10:17:34 -08:00
test_table.py Move core components to radix namespace (#2506) 2024-02-02 14:26:46 -08:00
test_tailwind.py Move core components to radix namespace (#2506) 2024-02-02 14:26:46 -08:00
test_upload.py [REF-1885] Shard Substates when serializing to Redis (#2574) 2024-02-21 01:50:25 -08:00
test_var_operations.py Move core components to radix namespace (#2506) 2024-02-02 14:26:46 -08:00
utils.py Client-side storage / State integration (#1629) 2023-08-30 12:43:29 -07:00