Repository navigation
Commit 9c8ed2b
committed
fix(plugin-auth): register the app:seeded backfill handler from the arming kernel:ready handler
The ADR-0093 D6 backfill's app:seeded handler was registered in start() and
kept from acting before the settings engine binds by the backfillArmed
runtime flag, which a static walk cannot see. It is now registered by the
kernel:ready handler that arms the pass, in the same synchronous step, so
it does not exist before the bind. backfillArmed stays: the
default-org-created trigger still reaches runBackfill before arming.
The unit test that pinned the start()-time registration now pins the new
structure: no app:seeded handler after start(), one after kernel:ready.
Claude-Session: https://claude.ai/code/session_0115N1oNnQS5WqofZ2DzaT3q
Co-authored-by: Claude <noreply@anthropic.com>1 parent 28bff18 commit 9c8ed2b
3 files changed
Lines changed: 38 additions & 10 deletions
File tree
- .changeset
- packages/plugins/plugin-auth/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1635 | 1635 | | |
1636 | 1636 | | |
1637 | 1637 | | |
1638 | | - | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
1639 | 1641 | | |
1640 | | - | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
1641 | 1645 | | |
1642 | 1646 | | |
1643 | 1647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1352 | 1352 | | |
1353 | 1353 | | |
1354 | 1354 | | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
1355 | 1375 | | |
1356 | 1376 | | |
1357 | | - | |
1358 | | - | |
1359 | | - | |
1360 | | - | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
1364 | | - | |
1365 | 1377 | | |
1366 | 1378 | | |
1367 | 1379 | | |
| |||
0 commit comments