Avatar for the reflex-dev user
reflex-dev
reflex
BlogDocsChangelog

fix(app): pass Reflex app instance to lifespan task app parameter

#6358Merged
Comparing
BABTUNA:fix-6331-lifespan-app-instance
(
25ec913
) with
main
(
61d8fad
)
CodSpeed Performance Gauge
0%
Untouched
24
Archived
2

Benchmarks

26 total
test_from_event_type[lambda_event_spec]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
+1%
54.9 µs54.6 µs
test_compile_single_pass_all_artifacts[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
81.4 ms81.1 ms
test_compile_page_full_context[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
139.6 ms139.1 ms
test_compile_page_single_pass[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
131.2 ms130.9 ms
test_from_event_type[lambda_event]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
29.3 µs29.2 µs
test_from_event_type[event_spec]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
53 µs52.9 µs
test_compile_page_full_context[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
35.5 ms35.5 ms
test_compile_single_pass_all_artifacts[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
29.2 ms29.2 ms
test_compile_page_single_pass[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
32.7 ms32.7 ms
test_compile_page[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
test_compile_page[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
8.4 ms8.4 ms
test_from_event_type[event]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
29.6 µs29.6 µs
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
550.6 µs551 µs
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
38.9 ms38.9 ms
test_evaluate_page_single_pass[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
39.7 ms39.8 ms
test_from_event_type[event_handler]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
97.3 µs97.4 µs
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms
test_process_event
tests/benchmarks/test_event_processing.py
CodSpeed Performance Gauge
0%
7.5 ms7.5 ms
test_evaluate_page_single_pass[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
7.3 ms7.4 ms
test_get_all_imports_single_pass[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
test_from_event_type[lambda_event_handler]
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
0%
99.6 µs99.9 µs
test_get_all_imports_single_pass[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
451.9 µs453.3 µs
test_console_log
tests/benchmarks/test_event_creation.py
CodSpeed Performance Gauge
-1%
426.4 µs429.5 µs
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py
Archived
CodSpeed Performance Gauge
0%
147.9 µs*147.9 µs*

Commits

Click on a commit to change the comparison range
Base
main
61d8fad
-0.03%
test(lifespan): cover starlette_app injection paths
73913f5
1 month ago
by BABTUNA
+0.24%
style(lifespan): apply ruff formatting for pre-commit
b7e06dd
1 month ago
by BABTUNA
-0.21%
refactor(test): use LifespanMixin directly instead of DummyApp subclass
25ec913
25 days ago
by BABTUNA
© 2026 CodSpeed Technology
Home Terms Privacy Docs