Skip to content

fix(place/bookings): PPT-2426 resolve asset names from Asset records - #636

Merged
camreeves merged 1 commit into
masterfrom
PPT-2426-asset-name-resolver
Oct 1, 2026
Merged

camreeves merged 1 commit into
masterfrom
PPT-2426-asset-name-resolver

Conversation

@camreeves

@camreeves camreeves commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Migrated desk and parking metadata contains an object instead of an asset list. AssetNameResolver now reads Asset records in those zones, so booking emails show the resource name and at-capacity notifications can find the zone's assets.

Legacy metadata arrays remain the capacity list. Individual names also fall back to Assets when an id is missing from metadata. The resolver accepts duplicate type names across categories, uses identifier then name then id, and caches the results with the existing timeout. Asset lookup failures log a warning. Locker handling is unchanged.

Local validation: both at-capacity and auto-release spec files pass, including 20 added cases. Against the unchanged master resolver, those cases produced 10 and 3 failures respectively. Driver formatting completed. No shared environment was changed.

CI subset jobs stop before running tests because the report cannot connect to the harness at localhost:8080. The style check also fails on six unchanged files already present on master.

Ticket: https://acaprojects.atlassian.net/browse/PPT-2426

@camreeves
camreeves merged commit 435695b into master Oct 1, 2026
4 of 10 checks passed
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.

1 participant