Repository navigation
Commit 8ca51e7
fixtures: serialize filter_str so HTTP state round-trips preserve it
FilterEchoState / _FilterEchoPartitionedState marked filter_str as
Transient(). The framework's HTTP rehydrate path deserializes user
state but never re-invokes initial_state(), so after the first
state-token round-trip filter_str silently reverted to "(none)" —
every batch a partitioned scan produced post-resume lost the
pushed-filter echo. table/filter_echo_partitioned.test caught this
over HTTP transport.
The string is tiny and the state token is AEAD-encrypted anyway, so
just serialize it (drop the Transient annotation). The now-unused
Transient import is removed.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 15aea03 commit 8ca51e7
1 file changed
Lines changed: 18 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
85 | | - | |
| 91 | + | |
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
| |||
539 | 545 | | |
540 | 546 | | |
541 | 547 | | |
542 | | - | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
543 | 556 | | |
544 | 557 | | |
545 | 558 | | |
546 | 559 | | |
547 | | - | |
| 560 | + | |
548 | 561 | | |
549 | 562 | | |
550 | 563 | | |
| |||
0 commit comments