Ned Howley
566020b724
Allow new threads to opt out of Daybreak propagation ( #62879 )
...
## Why
App-server clients that prepare threads for later use need to be able
to skip Daybreak propagation for an individual thread when the server
configuration enables it.
## What changed
With `experimentalApi`, pass `daybreakProgramPropagationEnrolled: false`
to `thread/start` to opt a new root thread out. Managed requirements
take precedence. Omitting the field or passing `null` or `true` uses the
configured enrollment rule.
The same field on `Thread` reports actual enrollment for the live
session, including in the start response and `thread/started`
notification. Reusing a live session preserves its enrollment. A thread
returned from stored metadata alone reports `null`, and resuming it
from storage in a new session reports `false`.
## Testing
App-server tests cover enrollment under enabled, required, and disabled
configuration, as well as reporting across live reads and resumes,
unload, and resume from storage. A core test checks that opting out
prevents native helpers from inheriting the root's saved Daybreak choice.
GitOrigin-RevId: f9aae9ff76702b1e5a38d45120cd889a26f8ece5
2026-11-21 01:14:17 +00:00
..
2026-11-18 05:49:12 +00:00
2026-11-19 00:06:45 +00:00
2026-11-14 01:34:43 +00:00
2026-11-19 20:13:14 +00:00
2026-11-20 07:14:27 +00:00
2026-11-21 01:14:17 +00:00
2026-11-17 06:32:38 +00:00
2026-11-06 07:43:44 +00:00
2026-11-19 19:04:56 +00:00
2026-11-05 16:56:05 +00:00
2026-11-18 02:04:55 +00:00
2026-11-18 02:04:55 +00:00
2026-11-06 07:43:44 +00:00
2026-10-26 18:13:00 +00:00
2026-11-18 22:13:26 +00:00
2026-11-18 22:13:26 +00:00
2026-11-18 03:36:14 +00:00
2026-11-18 22:13:26 +00:00
2026-11-20 23:23:32 +00:00
2026-11-20 23:23:32 +00:00
2026-10-09 23:16:46 +00:00
2026-11-08 19:35:45 +00:00
2026-11-18 22:13:26 +00:00
2026-10-03 03:06:40 +00:00
2026-11-21 01:14:17 +00:00
2026-11-20 23:23:32 +00:00
2026-11-18 00:46:17 +00:00
2026-11-12 00:02:01 +00:00
2026-11-18 22:13:26 +00:00
2026-11-20 23:23:32 +00:00
2026-11-18 22:13:26 +00:00
2026-11-20 23:23:32 +00:00
2026-11-13 21:51:53 +00:00
2026-10-04 03:51:52 +00:00
2026-11-18 18:28:58 +00:00
2026-11-20 23:23:32 +00:00
2026-11-18 22:13:26 +00:00
2026-11-18 01:35:51 +00:00
2026-11-12 01:57:33 +00:00
2026-11-18 22:13:26 +00:00
2026-11-16 21:49:32 +00:00
2026-11-17 05:52:43 +00:00
2026-11-17 05:52:43 +00:00
2026-11-18 03:36:14 +00:00
2026-10-06 16:56:39 +00:00
2026-11-17 06:18:06 +00:00
2026-11-17 06:18:06 +00:00
2026-11-18 22:13:26 +00:00
2026-11-20 07:14:27 +00:00
2026-11-20 07:14:27 +00:00
2026-11-10 05:09:30 +00:00
2026-11-20 17:45:15 +00:00
2026-11-15 07:28:15 +00:00
2026-11-19 00:59:23 +00:00
2026-11-10 07:06:53 +00:00
2026-11-01 15:50:25 +00:00
2026-11-15 01:46:01 +00:00
2026-11-15 01:46:01 +00:00
2026-11-17 00:13:04 +00:00
2026-11-19 02:26:51 +00:00
2026-10-30 22:30:53 +00:00
2026-11-18 18:28:58 +00:00
2026-11-02 21:37:43 +00:00
2026-11-19 00:06:45 +00:00
2026-11-19 01:16:44 +00:00
2026-11-21 01:14:17 +00:00
2026-11-20 07:14:27 +00:00
2026-11-18 22:40:03 +00:00
2026-11-13 18:48:50 +00:00
2026-10-26 18:13:00 +00:00
2026-11-14 07:19:13 +00:00
2026-11-10 18:32:00 +00:00
2026-11-18 03:08:53 +00:00
2026-11-18 00:58:27 +00:00
2026-11-19 01:16:44 +00:00
2026-11-19 01:16:44 +00:00
2026-11-05 21:05:51 +00:00
2026-11-13 04:51:06 +00:00
2026-11-10 18:32:00 +00:00
2026-10-28 22:53:11 +00:00
2026-11-14 01:34:43 +00:00
2026-11-14 01:34:43 +00:00
2026-10-15 19:02:09 +00:00
2026-10-26 18:13:00 +00:00
2026-11-13 05:04:45 +00:00
2026-11-05 16:55:40 +00:00
2026-10-26 22:11:27 +00:00
2026-11-11 18:59:32 +00:00
2026-11-20 23:23:32 +00:00
2026-11-20 07:14:27 +00:00
2026-11-20 07:14:27 +00:00
2026-10-26 18:13:00 +00:00
2026-11-18 19:11:14 +00:00
2026-11-13 00:28:10 +00:00
2026-11-15 07:28:15 +00:00
2026-10-16 19:13:40 +00:00
2026-11-07 04:48:30 +00:00
2026-11-07 04:48:30 +00:00
2026-10-06 16:56:39 +00:00
2026-11-18 22:40:03 +00:00
2026-11-18 22:40:03 +00:00
2026-11-20 07:14:27 +00:00
2026-11-19 00:59:23 +00:00
2026-11-18 01:35:51 +00:00
2026-11-18 22:13:26 +00:00
2026-11-18 22:13:26 +00:00
2026-11-18 02:04:55 +00:00
2026-11-18 02:03:29 +00:00
2026-11-20 17:45:15 +00:00
2026-11-18 02:04:55 +00:00
2026-11-18 01:11:31 +00:00
2026-11-18 02:03:29 +00:00
2026-11-19 20:13:14 +00:00
2026-11-19 20:13:14 +00:00
2026-11-18 01:11:31 +00:00
2026-11-18 22:13:26 +00:00
2026-11-18 02:04:55 +00:00
2026-11-18 02:04:55 +00:00
2026-11-18 02:04:55 +00:00
2026-11-04 22:58:01 +00:00
2026-11-15 07:28:15 +00:00
2026-10-26 20:16:30 +00:00
2026-10-26 20:16:30 +00:00
2026-11-21 00:20:14 +00:00
2026-11-19 00:59:23 +00:00
2026-11-17 13:10:04 +00:00
2026-11-19 00:59:23 +00:00
2026-11-19 00:59:23 +00:00
2026-11-21 00:20:14 +00:00
2026-11-21 01:14:17 +00:00
2026-11-18 22:13:26 +00:00
2026-11-10 14:28:13 +00:00
2026-11-10 14:28:13 +00:00
2026-11-18 22:13:26 +00:00
2026-10-03 03:00:46 +00:00
2026-11-18 18:28:58 +00:00
2026-11-21 00:20:14 +00:00
2026-11-21 01:14:17 +00:00
2026-11-18 22:39:26 +00:00
2026-11-15 03:17:50 +00:00
2026-11-15 03:17:50 +00:00
2026-10-26 22:11:27 +00:00
2026-11-18 22:13:26 +00:00
2026-11-10 23:35:28 +00:00
2026-11-13 18:50:28 +00:00
2026-11-17 13:36:36 +00:00
2026-10-07 19:28:14 +00:00
2026-10-07 19:28:14 +00:00
2026-11-13 04:51:06 +00:00
2026-10-12 17:39:17 +00:00
2026-11-13 04:51:06 +00:00
2026-10-12 17:39:17 +00:00
2026-11-18 01:35:51 +00:00
2026-11-18 03:08:53 +00:00
2026-11-20 07:14:27 +00:00
2026-11-17 05:52:43 +00:00