Skip to content

Add Electron Windows Hello sample - #93

Merged
leileizhang (lei9444) merged 4 commits into
mainfrom
leilzh/windows-hello
Aug 11, 2026
Merged

Add Electron Windows Hello sample#93
leileizhang (lei9444) merged 4 commits into
mainfrom
leilzh/windows-hello

Conversation

@lei9444

Copy link
Copy Markdown
Contributor

Add a COM-to-WinRT async projection bridge for desktop interop APIs, cover progress-bearing operations, and demonstrate HWND-owned Windows Hello verification from Electron.

Add a COM-to-WinRT async projection bridge for desktop interop APIs, cover progress-bearing operations, and demonstrate HWND-owned Windows Hello verification from Electron.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: eca73d14-f74e-462f-87c7-b48f6031f8b8
@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown

Mixed-language test coverage

Workflow status: ✅ Passed

Layer Lines Functions Branches/regions
Rust, including native .pyd/.node 81.06% 77.51% 81.01% regions
Generated Python projections 58.64% n/a 2.53% branches
JavaScript aggregate 18.19% 19.58% 50.75% branches
JavaScript runtime 19.36% 14.28% 7.14% branches
Generated WinRT projections 22.27% 20.02% 52.85% branches
Generated Classic COM projections 11.25% 18.08% 45.94% branches

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

leileizhang (lei9444) and others added 3 commits August 11, 2026 13:32
Convert parameterized WinRT async PIIDs into dedicated async type handles before constructing AsyncInfo, reject malformed shapes, and cover operation and progress variants.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: eca73d14-f74e-462f-87c7-b48f6031f8b8
Validate closed WinRT signatures and generic arity before constructing AsyncInfo so invalid result or progress types return errors instead of reaching IID panics.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: eca73d14-f74e-462f-87c7-b48f6031f8b8
Query the requested closed async IID before constructing AsyncInfo and restore Generic signature compatibility while keeping closed-type validation for async arguments.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: eca73d14-f74e-462f-87c7-b48f6031f8b8
@lei9444
leileizhang (lei9444) merged commit 66db721 into main Aug 11, 2026
25 checks passed
@lei9444
leileizhang (lei9444) deleted the leilzh/windows-hello branch August 11, 2026 08:52
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.

2 participants