project-chip / project-chip/matter-test-scripts

[OTA SU] Use run_if_endpoint_matches instead of fixed EP0 (TC-SU-2.2 feedback)

Open
#737 0 comments 0 reactions 1 assignee View on GitHub

@juandediosg is already working on this.

Since Nov 24, 2025.

Dominant language
Python
Stars
19
Forks
7
Avg merge
3d 17h
Merged PRs (30d)
3

Description

Summary

Following the reviewer feedback on test TC-SU-2.2: Automate regarding the use of a hardcoded endpoint=0, the subscription logic must be updated to ensure the Requestor cluster endpoint is explicitly validated instead of assumed.

Feedback link

Endpoint Handling Updates

  • Replace the fixed endpoint=0 in AttributeSubscriptionHandler.start() with logic that determines the correct endpoint for the OtaSoftwareUpdateRequestor cluster.
  • Integrate run_if_endpoint_matches to enforce explicit endpoint matching and avoid relying on endpoint 0 assumptions.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.