Update adversarial Files preference checks for show_hidden_items #1577

Open
opened 2026-10-11 10:33:59 +00:00 by kayg · 0 comments
Owner

The Files preferences response now includes show_hidden_items alongside show_sidecar_files and show_dot_files, as defined by FilesPreferences and the #1153 Hide feature.

The adversarial API round fails at tests/adversarial/mcp_probe.py:660 and tests/adversarial/sidecar_probe.py:86: both compare the complete response to an older two-field object. A direct fresh-User probe against production 4ebeba0b8 and the merge40 release returned HTTP 200 from both servers with all three fields set to false. This confirms the failure predates merge40 and does not indicate a server regression.

Update both probes to assert the two visibility fields they own and accept the documented show_hidden_items field, while retaining checks for malformed values and unknown keys.

The Files preferences response now includes `show_hidden_items` alongside `show_sidecar_files` and `show_dot_files`, as defined by `FilesPreferences` and the #1153 Hide feature. The adversarial API round fails at `tests/adversarial/mcp_probe.py:660` and `tests/adversarial/sidecar_probe.py:86`: both compare the complete response to an older two-field object. A direct fresh-User probe against production `4ebeba0b8` and the merge40 release returned HTTP 200 from both servers with all three fields set to `false`. This confirms the failure predates merge40 and does not indicate a server regression. Update both probes to assert the two visibility fields they own and accept the documented `show_hidden_items` field, while retaining checks for malformed values and unknown keys.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1577
No description provided.