Dakota π¦ Β· issue pipeline
βββββββββββββββββββββββββββββββββββββββββββββββββ
βΆ filed report received
Β· approved β
Β· queued β
Β· claimed β
Β· done β
βββββββββββββββββββββββββββββββββββββββββββββββββ
report: missing Β· confirms: 0
area: β Β· priority: β
next action: same bug? ujust confirm 810
---## Finding
The projectbluefin/dakota repository has zero test files and no CI test workflow. The most critical untested code is scripts/gen-filemap.py (193 lines), which generates the filemap.json used by chunkah for fileβBST-element mapping.
This script has non-trivial logic:
- Subprocess calls to
bst show for dependency resolution
- Regex-based parsing of BST output
- File-to-element mapping with conflict resolution
- JSON output generation
There is no way to catch regressions in this script without running a full image build.
Recommendation
- Add a
tests/ directory with pytest-based unit tests for gen-filemap.py
- Mock the
bst show subprocess calls to test parsing logic in isolation
- Add a CI workflow (
unit-tests.yml) that runs on PR and push to main
- Add a
codecov.yml config consistent with other repos (75% target)
Priority
- Impact: high β filemap generation failure breaks the entire image build pipeline
- Effort: medium β script is well-structured and testable with mocks
Filed by quality agent (hold-gated mode)
---## Finding
The
projectbluefin/dakotarepository has zero test files and no CI test workflow. The most critical untested code isscripts/gen-filemap.py(193 lines), which generates the filemap.json used by chunkah for fileβBST-element mapping.This script has non-trivial logic:
bst showfor dependency resolutionThere is no way to catch regressions in this script without running a full image build.
Recommendation
tests/directory with pytest-based unit tests forgen-filemap.pybst showsubprocess calls to test parsing logic in isolationunit-tests.yml) that runs on PR and push to maincodecov.ymlconfig consistent with other repos (75% target)Priority
Filed by quality agent (hold-gated mode)