• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

urbanopt / modelica-builder / 19981164782
93%
develop: 93%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/prod-deps-3071050ad2
DEFAULT BRANCH: develop
Ran 06 Dec 2025 02:00AM UTC
Jobs 2
Files 25
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Dec 2025 01:58AM UTC coverage: 92.687% (-0.8%) from 93.488%
19981164782

Pull #129

github

web-flow
Fix subpackage cache synchronization in PackageParser (#135)

* Initial plan

* Fix subpackage cache synchronization in add_model

Check if subpackage already exists in _subpackages cache before creating a new instance. This prevents duplicate PackageParser instances when the same subpackage is accessed through both add_model() and attribute access. Added test to verify the fix.

Co-authored-by: nllong <1907354+nllong@users.noreply.github.com>

* Address code review feedback

- Move shutil import to top of test file
- Prevent duplicate entries in order_data when add_model is called multiple times for same model
- Add test assertion to verify order_data doesn't contain duplicates

Co-authored-by: nllong <1907354+nllong@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nllong <1907354+nllong@users.noreply.github.com>
Pull Request #129: Allow package parser to include subpackages

145 of 173 new or added lines in 2 files covered. (83.82%)

2 existing lines in 1 file now uncovered.

2028 of 2188 relevant lines covered (92.69%)

1.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
13
92.18
-6.18% tests/test_package_parser.py
15
86.96
-9.89% modelica_builder/package_parser.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
86.96
-9.89% modelica_builder/package_parser.py
Jobs
ID Job ID Ran Files Coverage
1 19981164782.1 06 Dec 2025 02:00AM UTC 25
92.68
2 19981164782.2 06 Dec 2025 02:01AM UTC 25
92.69
Source Files on build 19981164782
  • Tree
  • List 25
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #129
  • PR Base - develop (#19916384960)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc