TDD: Add test for TypeError in infer_resource_slots() with null properties
CI / build (push) Successful in 50s
CI / lint (push) Successful in 1m2s
CI / helm (push) Successful in 32s
CI / quality (push) Successful in 1m10s
CI / typecheck (push) Successful in 1m30s
CI / push-validation (push) Successful in 49s
CI / security (push) Successful in 1m52s
CI / benchmark-publish (push) Failing after 49s
CI / integration_tests (push) Successful in 3m38s
CI / e2e_tests (push) Successful in 4m32s
CI / unit_tests (push) Successful in 9m35s
CI / coverage (push) Successful in 14m49s
CI / docker (push) Successful in 1m33s
CI / status-check (push) Successful in 3s
CI / benchmark-publish (pull_request) Has been skipped
CI / helm (pull_request) Successful in 28s
CI / build (pull_request) Successful in 54s
CI / lint (pull_request) Successful in 1m6s
CI / typecheck (pull_request) Successful in 1m21s
CI / quality (pull_request) Successful in 1m58s
CI / security (pull_request) Successful in 2m22s
CI / push-validation (pull_request) Successful in 27s
CI / e2e_tests (pull_request) Successful in 4m8s
CI / integration_tests (pull_request) Successful in 4m28s
CI / unit_tests (pull_request) Successful in 4m39s
CI / docker (pull_request) Successful in 1m49s
CI / coverage (pull_request) Successful in 10m46s
CI / status-check (pull_request) Successful in 3s

This commit was merged in pull request #10743.
This commit is contained in:
2026-04-24 14:01:08 +00:00
committed by CleverThis
parent 323a5d4212
commit 69a8bcf7ea
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -16,6 +16,12 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
### Added
- **TDD: MCPToolAdapter.infer_resource_slots() TypeError with null properties** (#10470):
Added a TDD issue-capture Behave scenario that reproduces the bug where
`MCPToolAdapter.infer_resource_slots()` raises `TypeError` when the input schema
contains `{"properties": None}`. The test is tagged `@tdd_expected_fail` and will
pass (by inversion) until the underlying bug is fixed.
- **Architecture Pool Supervisor Milestone Assignment** (#7521): Added a "PR Workflow
for Major Changes" section to the `architecture-pool-supervisor` agent definition
documenting the milestone assignment step for spec PRs. The agent now has
@@ -4,7 +4,7 @@ Feature: TDD Issue #10470 — MCPToolAdapter.infer_resource_slots() raises TypeE
the properties dict. When the key exists but has a null value ({"properties": None}),
dict.get() returns None instead of the default {}, causing a TypeError when iterating.
@tdd_issue @tdd_issue_10470 @tdd_expected_fail
@tdd_expected_fail
Scenario: infer_resource_slots() with null properties does not raise TypeError
Given an MCP tool input schema where properties key is null
When I call infer_resource_slots with the null properties schema