Commit 3702d23
* Actually return the value of an AsyncComputedVar
* Actually return the value of an AsyncComputedVar
* Fix linting
* Fixing newline error
* Fixing local state var case
* test(state): add regression test for get_var_value with async computed vars
Reproduces the bug fixed in #6391
where get_var_value returned the un-awaited coroutine for an async computed
var instead of the underlying value.
https://claude.ai/code/session_01PLGmhJG9HNUzobmBRXQUnc
* Extend test case for slow path
* Handle ValueError in _run_lifespan_tasks helper
Fix rare regression failure during app startup.
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Masen Furer <m_github@0x26.net>
1 parent c47f2ed commit 3702d23
2 files changed
Lines changed: 48 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1753 | 1753 | | |
1754 | 1754 | | |
1755 | 1755 | | |
1756 | | - | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
1757 | 1760 | | |
1758 | 1761 | | |
1759 | 1762 | | |
1760 | 1763 | | |
1761 | 1764 | | |
1762 | | - | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
1763 | 1769 | | |
1764 | 1770 | | |
1765 | 1771 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4396 | 4396 | | |
4397 | 4397 | | |
4398 | 4398 | | |
| 4399 | + | |
| 4400 | + | |
| 4401 | + | |
| 4402 | + | |
| 4403 | + | |
| 4404 | + | |
| 4405 | + | |
| 4406 | + | |
| 4407 | + | |
| 4408 | + | |
| 4409 | + | |
| 4410 | + | |
| 4411 | + | |
| 4412 | + | |
| 4413 | + | |
| 4414 | + | |
| 4415 | + | |
| 4416 | + | |
| 4417 | + | |
| 4418 | + | |
| 4419 | + | |
| 4420 | + | |
| 4421 | + | |
| 4422 | + | |
| 4423 | + | |
| 4424 | + | |
| 4425 | + | |
| 4426 | + | |
| 4427 | + | |
| 4428 | + | |
| 4429 | + | |
| 4430 | + | |
| 4431 | + | |
| 4432 | + | |
| 4433 | + | |
| 4434 | + | |
| 4435 | + | |
| 4436 | + | |
| 4437 | + | |
| 4438 | + | |
4399 | 4439 | | |
4400 | 4440 | | |
4401 | 4441 | | |
| |||
0 commit comments