Skip to content

fix: path resolution problems in Windows#69

Merged
d-gubert merged 5 commits into
masterfrom
chore/ci-tests-windows
May 25, 2026
Merged

fix: path resolution problems in Windows#69
d-gubert merged 5 commits into
masterfrom
chore/ci-tests-windows

Conversation

@d-gubert
Copy link
Copy Markdown
Member

No description provided.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ d-gubert
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot stopped work on behalf of d-gubert due to an error May 25, 2026 15:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to extend CI coverage to Windows and fixes several path-handling issues (primarily path separator normalization) so compilation/bundling/packaging behavior is consistent across operating systems.

Changes:

  • Split CI into a Linux-only “Lint & Typecheck” job and a matrix “Test” job running on both Ubuntu and Windows.
  • Normalize internal file/module paths to POSIX-style (/) across compiler, validator, bundler, packager, and source-walking code paths.
  • Update package-lock.json as part of dependency metadata adjustments.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/packager/AppPackager.ts Normalize zip entry paths to forward slashes for Windows-compatible packaging.
src/misc/Utilities.ts Use path.posix normalization for custom-require module path handling.
src/compiler/TypescriptCompiler.ts Normalize filenames/host lookups using POSIX paths and separator replacement for Windows compatibility.
src/compiler/TscBasedCompiler.ts Ensure emitted file keys use POSIX joining for stable map keys across OSes.
src/compiler/getAppSource.ts Normalize relative file names to POSIX separators when building the in-memory file map.
src/compiler/AppsEngineValidator.ts Switch relative require resolution to POSIX join/normalize for consistency.
src/bundler/esbuild.ts Simplify and standardize relative module path normalization using POSIX path operations.
package-lock.json Lockfile metadata updates (engines/peer flags changes).
.github/workflows/ci.yml Add Windows to test matrix; separate tests from lint/typecheck.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/compiler/AppsEngineValidator.ts
Comment thread src/compiler/TypescriptCompiler.ts
Comment thread src/compiler/TypescriptCompiler.ts Outdated
Comment thread src/packager/AppPackager.ts
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 11 changed files in this pull request and generated 2 comments.

Comment thread src/compiler/TypescriptCompiler.ts
Comment thread src/compiler/TscBasedCompiler.ts
@d-gubert d-gubert changed the title chore: run tests on windows as well fix: path resolution problems in Window May 25, 2026
@d-gubert d-gubert changed the title fix: path resolution problems in Window fix: path resolution problems in Windows May 25, 2026
@d-gubert d-gubert merged commit 080a661 into master May 25, 2026
7 of 8 checks passed
@d-gubert d-gubert deleted the chore/ci-tests-windows branch May 25, 2026 17:27
@github-actions github-actions Bot mentioned this pull request May 25, 2026
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.

Windows: rc-apps deploy fails with File 'X.ts' not found while tsc compiles successfully

4 participants