Repository navigation
Fix Python codegen long paths and static-only projections - #108
Merged
leileizhang (lei9444) merged 1 commit intoSep 1, 2026
Merged
Conversation
Mixed-language test coverageWorkflow status: ✅ Passed
|
Shawn Yuan (shuaiyuanxx)
approved these changes
Sep 1, 2026
leileizhang (lei9444)
added a commit
that referenced
this pull request
Sep 1, 2026
Resolve the codegen transaction type rename after PR #109 while preserving the Python projection changes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7dd76e84-9e06-45b9-a8d1-c09f8a157550
shisan (qiutongMS)
approved these changes
Sep 1, 2026
Shawn Yuan (shuaiyuanxx)
approved these changes
Sep 1, 2026
shisan (qiutongMS)
approved these changes
Sep 1, 2026
shisan (qiutongMS)
approved these changes
Sep 1, 2026
Preserve the resolved PR #109 integration while replacing the merge-based history with one reviewable commit on current main. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
leileizhang (lei9444)
force-pushed
the
fix/python-long-path-static-projection
branch
from
September 1, 2026 02:52
9323b24 to
18ee4d2
Compare
Contributor
Author
|
shisan (@qiutongMS) Shawn Yuan (@shuaiyuanxx) PR #108 has been linearized onto current main without changing its tree (new head: \18ee4d241452b6395d3ed7fa4c9cac5a76f0bb0b). Could one of you please provide one fresh approval after the history rewrite? |
shisan (qiutongMS)
approved these changes
Sep 1, 2026
leileizhang (lei9444)
deleted the
fix/python-long-path-static-projection
branch
September 1, 2026 03:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Define the initial supported Python code-generation format and fix long-path, projection, and package-isolation issues found by full Windows App SDK + WebView2 generation.
Object/IInspectableprojection through a separate QI-only class marker; every such projection casts the concrete default-interface IID and fails closed on unrelated objectsbuild,dist, virtual environments, tox/nox, caches, or other user directoriesWindows long-path regression
The workflow generates current-format
DeviceInformationCustomPairingbindings under a fixed 104-character root path, creates stale copies under default/scoped build caches,dist,venv,.venv,env,.tox,.nox,__pycache__, and egg-info, then incrementally generates the unrelatedWindows.Foundation.Uri. It verifies every user artifact remains unchanged, current hashed modules remain available, and the build-cache key rotates with the generated layout. It then renames the output package without changing its generated layout and verifies the package identity rotates the cache key and the wheel contains only the renamed package.Validation
cargo fmt --all -- --check: passedcargo test -p dynwinrt-codegen: passed_from_nativecompileall: passedproject_as: strict mypy inferred the concrete class; unrelated-object projection failed closed