---
id: TASK-14
title: Raise luacov coverage to ~96% by adding missing tests
status: Done
assignee: []
created_date: '2026-02-19 09:11'
updated_date: '2026-02-19 12:07'
labels: []
dependencies: []
references:
  - luacov.report.out
  - spec/
  - lua/zync/
---

## Description

<!-- SECTION:DESCRIPTION:BEGIN -->
Increase overall test coverage to around 96% by adding tests for currently uncovered branches shown in the latest luacov report. Focus on meaningful behavioral coverage rather than artificial line hits.
<!-- SECTION:DESCRIPTION:END -->

## Acceptance Criteria
<!-- AC:BEGIN -->
- [x] #1 `luacov.report.out` shows overall coverage at or above ~96% after new tests are added.
- [x] #2 New tests cover previously uncovered branches identified in the report across core modules.
- [x] #3 Tests pass under `busted -c` and coverage is regenerated without regressions.
<!-- AC:END -->

## Final Summary

<!-- SECTION:FINAL_SUMMARY:BEGIN -->
Completed coverage increase via subtasks: api/configurator/sandbox/utils tests added; manager module coverage accepted by user without further changes. Latest luacov.report.out shows overall coverage at 98.29%.
<!-- SECTION:FINAL_SUMMARY:END -->
