Skip to content

Commit ceb48d1

Browse files
committed
tests/interaction: correct three annotations after spec validation
Per-entry validation of all 128 removed_in / 2026 arm_exclusions annotations against the 2025-11-25 and 2026-07-28 (draft) spec text found three inaccuracies: - resources:subscribe:capability-required: removed_in is correct but the note claimed a separate subscriptions capability exists; the draft schema retains resources.subscribe (reinterpreted as opt-in for the resourceSubscriptions filter on subscriptions/listen). - logging:message:all-levels, logging:message:fields: drop the legacy-only-vocabulary 2026 arm_exclusion. The eight RFC 5424 levels and the notifications/message payload fields are unchanged in the draft (deprecated by SEP-2577 but present), and neither test depends on logging/setLevel. 41 spec_version=2026 arm_exclusions remain (was 43); 504 connect cells unchanged; 100% coverage.
1 parent 24d47cc commit ceb48d1

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tests/interaction/_requirements.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -953,8 +953,9 @@ def __post_init__(self) -> None:
953953
),
954954
removed_in="2026-07-28",
955955
note=(
956-
"removed in 2026-07-28 (SEP-2575); the resources.subscribe sub-capability is replaced by the subscriptions "
957-
"capability."
956+
"removed in 2026-07-28 (SEP-2575); the resources/subscribe RPC is gone. The resources.subscribe "
957+
"capability flag is retained but reinterpreted as opt-in for the resourceSubscriptions filter on "
958+
"subscriptions/listen -- there is no separate subscriptions capability."
958959
),
959960
),
960961
"resources:subscribe:updated": Requirement(
@@ -1216,15 +1217,13 @@ def __post_init__(self) -> None:
12161217
"logging:message:all-levels": Requirement(
12171218
source=f"{SPEC_BASE_URL}/server/utilities/logging#log-levels",
12181219
behavior="All eight RFC 5424 severity levels are deliverable as log message notifications.",
1219-
arm_exclusions=(ArmExclusion(reason="legacy-only-vocabulary", spec_version="2026-07-28"),),
12201220
),
12211221
"logging:message:fields": Requirement(
12221222
source=f"{SPEC_BASE_URL}/server/utilities/logging#log-message-notifications",
12231223
behavior=(
12241224
"A log message sent by a server handler is delivered to the client's logging callback with its "
12251225
"severity level, logger name, and data."
12261226
),
1227-
arm_exclusions=(ArmExclusion(reason="legacy-only-vocabulary", spec_version="2026-07-28"),),
12281227
),
12291228
"logging:message:filtered": Requirement(
12301229
source=f"{SPEC_BASE_URL}/server/utilities/logging#setting-log-level",

0 commit comments

Comments
 (0)