Repository navigation
Commit 1cbc777
fix(fixtures): restore process() on scoped/multi secret demo fixtures
The scope/type-aware ResolvedSecrets refactor (4351f33) left the
process() method that emits {scope, found, secret_keys} attached to
MultiSecretDemoFunction instead of ScopedSecretDemoFunction. As a result
ScopedSecretDemoFunction had no process() (abstract-instantiation
TypeError) and MultiSecretDemoFunction's process() read state.found /
state.secret_keys, which MultiSecretDemoState does not define
(AttributeError).
Give ScopedSecretDemoFunction its process() back, and give
MultiSecretDemoFunction a correct one that emits api_key from
MultiSecretDemoState. Fixes secret_scoped.test and secret_multi_scope.test.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 4351f33 commit 1cbc777
1 file changed
Lines changed: 22 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
415 | 434 | | |
416 | 435 | | |
417 | 436 | | |
| |||
456 | 475 | | |
457 | 476 | | |
458 | 477 | | |
459 | | - | |
| 478 | + | |
460 | 479 | | |
461 | 480 | | |
462 | | - | |
| 481 | + | |
463 | 482 | | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
| 483 | + | |
469 | 484 | | |
470 | 485 | | |
471 | 486 | | |
| |||
0 commit comments