Repository navigation
fix(ci): normalize windows paths in architecture self-test - #522
Open
yichen11818 wants to merge 1 commit into
Open
yichen11818 wants to merge 1 commit into
yichen11818 wants to merge 1 commit into
Conversation
Contributor
|
@yichen11818 is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
17 of 21 tasks
yichen11818
marked this pull request as ready for review
November 5, 2026 02:34
SanHsien
added a commit
to SanHsien/agent-desktop
that referenced
this pull request
Nov 10, 2026
Merge the vercel-labs/agent-desktop v1.2.0 release commit. The only product file both sides touched is crates/windows/src/tree/hit_test/envelope_tests.rs (auto-merged; the fork's 1000 ms budget stays). The README conflict keeps the fork's own README and adds the mcp and --stdin notes; ad_init(6) becomes ad_init(7), the example envelope version becomes 2.6, and the removed macOS command host and the Homebrew availability are corrected in README.en.md and the spec. docs/DIVERGENCE.md is re-pinned to 2b0a733 with the same 34 paths. Port the one-line upstream vercel-labs#522 fix to scripts/check_architecture.py so the Architecture boundaries gate stops failing on Windows (G11 self-test). ADR-009 records the verdict for the 63 PRs and 25 issues past the old watermark; tools/upstream_baseline.json moves to v1.2.0, PR 569, issue 577 and pins five more open PR heads. Co-Authored-By: Claude Sonnet <noreply@anthropic.com>
This branch has not been deployed
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
On Windows, the architecture gate inserts an unescaped temporary-directory path into a Rust string literal in its absolute-path G11 fixture. The lexer consumes the backslashes as escapes, so the fixture no longer points outside its module and the self-test fails before the repository scan.
Normalize the substituted path to forward slashes. The absolute-path violation stays valid on Windows, and the existing planted case detects it without changing any architecture rule.
Related issues
Found while validating #521. This fix is independent of the feature PRs and changes only the architecture self-test fixture.
Type of change
fix:correct Windows path substitution in the self-testtest:restore the existing absolute-path G11 regression caseHow tested
93ae89e86fb849eeb5fc265b0b8e37eca56aaf72with Python 3.13 on Windows.bash scripts/check-architecture.sh: all planted violations and the repository scan passed after the fix.git diff --checkaction_required; Vercel preview requires Vercel Labs authorization.Checklist