Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions tests/control_plane/test_scheduler_execution_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def test_missing_scheduler_context_fails_closed() -> None:
assert hint["execution_phase"]["disposition"] == "contract_error"


def test_codex_app_runtime_profile_preserves_host_backoff() -> None:
def test_codex_app_runtime_profile_preserves_host_backoff_and_authority() -> None:
context = scheduler_execution_context_for_runtime_profile(
SchedulerRuntimeProfile.CODEX_APP_HEARTBEAT
)
Expand Down Expand Up @@ -300,7 +300,10 @@ def test_codex_app_runtime_profile_preserves_host_backoff() -> None:
"codex_app_stateful_backoff_v0"
)
assert legacy["stateful_backoff"]["state_key"] == (
"scheduler_hint.codex_app.stateful_backoff"
"scheduler_hint.app_automation.stateful_backoff"
)
assert legacy["ack_hint"]["args"]["state_key"] == (
canonical["ack_hint"]["args"]["state_key"]
)
assert legacy["ack_hint"]["schema_version"] == (
"codex_app_scheduler_ack_hint_v0"
Expand Down
Loading