Skip to content

GHA: Check for category existence on the main component#3136

Open
hcarter-775 wants to merge 1 commit into
mainfrom
add/category-existence-check
Open

GHA: Check for category existence on the main component#3136
hcarter-775 wants to merge 1 commit into
mainfrom
add/category-existence-check

Conversation

@hcarter-775

@hcarter-775 hcarter-775 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Description of Change

Ensure that a category exists on the main component. Follow up to missing category issue found recently.

Testing Completed

See the following issue when a missing category is applied:

CHECKING PROFILE:
drivers/SmartThings/matter-window-covering/profiles/door.yml
MISSING CATEGORY: drivers/SmartThings/matter-window-covering/profiles/door.yml

Profile category check: :x: **Missing categories detected.**

The following profiles are missing a `categories` field on the `main` component:

- `drivers/SmartThings/matter-window-covering/profiles/door.yml`

Please add a `categories` entry to the `main` component. Example:
```yaml
components:
  - id: main
    categories:
      - name: Switch
    capabilities:
      ...

@hcarter-775 hcarter-775 added the CGAI Contains code that was generated by AI label Jul 22, 2026
@github-actions

Copy link
Copy Markdown

Duplicate profile check: Passed - no duplicate profiles detected.

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Test Results

   73 files  ± 0    538 suites  +2   0s ⏱️ ±0s
3 236 tests +33  3 236 ✅ +33  0 💤 ±0  0 ❌ ±0 
5 225 runs  +33  5 225 ✅ +33  0 💤 ±0  0 ❌ ±0 

Results for commit 761f223. ± Comparison against base commit 60a0ce7.

@github-actions

Copy link
Copy Markdown

File Coverage
All files 86%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/sub_drivers/closure/closure_utils/embedded_cluster_utils.lua 43%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/sub_drivers/closure/closure_utils/utils.lua 94%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/sub_drivers/closure/closure_handlers/attribute_handlers.lua 86%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/sub_drivers/closure/closure_handlers/capability_handlers.lua 73%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/sub_drivers/matter-window-covering-position-updates-while-moving/can_handle.lua 70%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/lazy_load_subdriver.lua 57%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/init.lua 90%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-window-covering/src/sub_drivers/closure/init.lua 78%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against 761f223

@hcarter-775
hcarter-775 force-pushed the add/category-existence-check branch from 761f223 to 286769e Compare July 22, 2026 18:24
@hcarter-775
hcarter-775 force-pushed the add/category-existence-check branch from 286769e to 9f3bc43 Compare July 22, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CGAI Contains code that was generated by AI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant