Skip to content

matter lock: migrate codeName to credentialName by default - #3348

Merged
hcarter-775 merged 1 commit into
mainfrom
matter-lock/migrate-credential-name
Nov 12, 2026
Merged

hcarter-775 merged 1 commit into
mainfrom
matter-lock/migrate-credential-name

Conversation

@hcarter-775

Copy link
Copy Markdown
Contributor

Description of Change

Migrate the name value to the credentialName parameter of the lockCredentials table. It is already stored in the userName parameter of the lockUsers table. Technically, the credentialName value can store more data (up to 255 characters) than the userName table (up to 64), so in certain cases, migrating this way may save overly long data in a semi-recoverable way.

Summary of Completed Tests

Unit tests updated.

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Channel deleted.

@github-actions

Copy link
Copy Markdown

matter-lock_coverage.xml

File Coverage
All files 90% ✅
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/unmigrated-matter-lock/init.lua 92% ✅
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/init.lua 90% ✅
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/lock_utils.lua 89% ❌
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/lazy_load_subdriver.lua 57% ❌

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against c29ab07

@github-actions

Copy link
Copy Markdown

Test Results

   73 files    570 suites   0s ⏱️
3 374 tests 3 374 ✅ 0 💤 0 ❌
5 413 runs  5 413 ✅ 0 💤 0 ❌

Results for commit c29ab07.

@hcarter-775
hcarter-775 merged commit 3f89af9 into main Nov 12, 2026
22 checks passed
@hcarter-775
hcarter-775 deleted the matter-lock/migrate-credential-name branch November 12, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants