Repository navigation
Commit 98e9c33
worker: _load_buffered_table_params accepts InitRequest too
The new BUFFERED_TABLE_FINALIZE init handler reuses
_load_buffered_table_params to cold-load func_cls + params, but
InitRequest carries function_name + attach_opaque_data on
``request.bind_call`` (not directly on the request like the
buffered_table_* unary requests do). Helper now picks the right
attributes based on what the request exposes.
Without this fix, the BUFFERED_TABLE_FINALIZE init handler crashed
with ``AttributeError: 'InitRequest' object has no attribute
'function_name'``, hanging the C++ Source phase that was waiting
for the init response.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent fdf98ba commit 98e9c33
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2446 | 2446 | | |
2447 | 2447 | | |
2448 | 2448 | | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
2449 | 2454 | | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
2450 | 2462 | | |
2451 | | - | |
2452 | | - | |
| 2463 | + | |
| 2464 | + | |
2453 | 2465 | | |
2454 | 2466 | | |
2455 | 2467 | | |
2456 | 2468 | | |
2457 | 2469 | | |
2458 | 2470 | | |
2459 | 2471 | | |
2460 | | - | |
| 2472 | + | |
2461 | 2473 | | |
2462 | 2474 | | |
2463 | 2475 | | |
| |||
0 commit comments