Commit fe03101
ADFA-4128: keep the tap when an invalidation lands where the ask lives
InvalidationDetected(userInitiated = true) means the orchestrator consumed
a tap to reach the invalidation, and the ask has to travel with it. Three
arms dropped it: the parked Invalidated arm rebuilt the state with
userInitiated = false, the in-flight Invalidated arm kept the state as it
was, and Provisioning ignored the event entirely. Each now ORs the event's
flag into the state's, so a tap that arrived before or during the
invalidation still brings the proxy app forward.
Red before this change, from SessionReducerInvariantsTest:
(3) InvalidationDetected(userInitiated = true) keeps the ask
expected to be empty
but was: [Provisioning(userInitiated=false, ...) +
InvalidationDetected(reason=GRADLE_CONFIG_CHANGED, userInitiated=true)
-> Provisioning(userInitiated=false, ...) []: the tap on the
invalidation is dropped, ...] (10 pairs)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0153YfwDnqn7ktHcVgXSNNe81 parent 1a73e6d commit fe03101
1 file changed
Lines changed: 16 additions & 5 deletions
File tree
- quickbuild/core/src/main/java/org/appdevforall/cotg/quickbuild/domain/session
Lines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
275 | 282 | | |
276 | 283 | | |
277 | 284 | | |
| |||
492 | 499 | | |
493 | 500 | | |
494 | 501 | | |
495 | | - | |
496 | | - | |
497 | | - | |
| 502 | + | |
| 503 | + | |
498 | 504 | | |
499 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
500 | 509 | | |
501 | 510 | | |
502 | 511 | | |
503 | 512 | | |
504 | | - | |
505 | | - | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
506 | 517 | | |
507 | 518 | | |
508 | 519 | | |
| |||
0 commit comments