Skip to content

Improve Python projections, lazy loading, and coverage reporting - #89

Merged
leileizhang (lei9444) merged 6 commits into
mainfrom
leilzh/py6
Aug 10, 2026
Merged

leileizhang (lei9444) merged 6 commits into
mainfrom
leilzh/py6

Conversation

@lei9444

Copy link
Copy Markdown
Contributor

Summary

  • fix Python nested struct defaults and enum field projection
  • fix HSTRING struct field ownership and prevent native aborts
  • use PEP 562 lazy exports for generated Python root packages
  • preserve .pyi, namespace facade, star-import, duplicate-name, and incremental-generation behavior
  • fix duplicate root exports for shared generated structs
  • expand Python, TypeScript, JavaScript, and WinUI test coverage
  • split JavaScript coverage into runtime, generated WinRT, and generated Classic COM reports
  • publish coverage as a sticky PR comment with links to full reports

@github-actions

github-actions Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

Mixed-language test coverage

Workflow status: ✅ Passed

Layer Lines Functions Branches/regions
Rust, including native .pyd/.node 80.94% 77.64% 80.91% regions
Generated Python projections 58.64% n/a 2.53% branches
JavaScript aggregate 18.14% 19.11% 50.6% branches
JavaScript runtime 19.36% 14.28% 7.14% branches
Generated WinRT projections 22.2% 19.42% 52.75% branches
Generated Classic COM projections 11.26% 18.08% 46.13% branches

View workflow run and download full HTML/LCOV/XML reports

leileizhang (lei9444) and others added 5 commits August 10, 2026 12:46
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@lei9444
leileizhang (lei9444) merged commit 3186594 into main Aug 10, 2026
25 checks passed
@lei9444
leileizhang (lei9444) deleted the leilzh/py6 branch August 10, 2026 09:38
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.

3 participants