Skip to content

Conversation

@muaydin
Copy link
Contributor

@muaydin muaydin commented Jan 13, 2025

Problem

  • Tests were failing or behaving inconsistently on different operating systems due to improper file path normalization.
  • End-of-line (EOL) conflicts were causing unnecessary formatting diffs in collaborative workflows.

Solution

  • Updated the testFile variable in the test runner to normalize paths by replacing backslashes () with forward slashes, ensuring cross-platform compatibility.
  • Added the Prettier rule 'prettier/prettier': ['error', { endOfLine: 'auto' }] to align EOL behavior with the host environment, avoiding platform-specific conflicts.

  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@muaydin muaydin requested a review from a team as a code owner January 13, 2025 23:38
@muaydin muaydin closed this Jan 13, 2025
@muaydin muaydin reopened this Jan 13, 2025
@muaydin muaydin closed this Jan 14, 2025
@muaydin muaydin reopened this Jan 14, 2025
@github-actions
Copy link

  • This pull request modifies code in src/* but no tests were added/updated.
    • Confirm whether tests should be added or ensure the PR description explains why tests are not required.
  • This pull request implements a feat or fix, so it must include a changelog entry (unless the fix is for an unreleased feature). Review the changelog guidelines.
    • Note: beta or "experiment" features that have active users should announce fixes in the changelog.
    • If this is not a feature or fix, use an appropriate type from the title guidelines. For example, telemetry-only changes should use the telemetry type.

@jpinkney-aws
Copy link
Contributor

/runIntegrationTests

@muaydin
Copy link
Contributor Author

muaydin commented Jan 14, 2025

Looking into failing checks

@justinmk3 justinmk3 changed the title fix(os-compatibility): normalize file paths and enforce eol consistency build(os-compatibility): normalize file paths and enforce eol consistency Jan 14, 2025
@justinmk3
Copy link
Contributor

/retrybuild

@justinmk3 justinmk3 merged commit 63fafe3 into aws:master Jan 15, 2025
29 of 34 checks passed
avi-alpert pushed a commit to avi-alpert/aws-toolkit-vscode that referenced this pull request Jan 15, 2025
## Problem
- Tests were failing or behaving inconsistently on different operating
systems due to improper file path normalization.
- End-of-line (EOL) conflicts were causing unnecessary formatting diffs
in collaborative workflows.

## Solution
- Updated the testFile variable in the test runner to normalize paths by
replacing backslashes (\) with forward slashes, ensuring cross-platform
compatibility.
- Added the Prettier rule 'prettier/prettier': ['error', { endOfLine:
'auto' }] to align EOL behavior with the host environment, avoiding
platform-specific conflicts.
karanA-aws pushed a commit to karanA-aws/aws-toolkit-vscode that referenced this pull request Jan 17, 2025
## Problem
- Tests were failing or behaving inconsistently on different operating
systems due to improper file path normalization.
- End-of-line (EOL) conflicts were causing unnecessary formatting diffs
in collaborative workflows.

## Solution
- Updated the testFile variable in the test runner to normalize paths by
replacing backslashes (\) with forward slashes, ensuring cross-platform
compatibility.
- Added the Prettier rule 'prettier/prettier': ['error', { endOfLine:
'auto' }] to align EOL behavior with the host environment, avoiding
platform-specific conflicts.
kevluu-aws pushed a commit to kevluu-aws/aws-toolkit-vscode that referenced this pull request Jan 23, 2025
## Problem
- Tests were failing or behaving inconsistently on different operating
systems due to improper file path normalization.
- End-of-line (EOL) conflicts were causing unnecessary formatting diffs
in collaborative workflows.

## Solution
- Updated the testFile variable in the test runner to normalize paths by
replacing backslashes (\) with forward slashes, ensuring cross-platform
compatibility.
- Added the Prettier rule 'prettier/prettier': ['error', { endOfLine:
'auto' }] to align EOL behavior with the host environment, avoiding
platform-specific conflicts.
s7ab059789 pushed a commit to s7ab059789/aws-toolkit-vscode that referenced this pull request Feb 19, 2025
## Problem
- Tests were failing or behaving inconsistently on different operating
systems due to improper file path normalization.
- End-of-line (EOL) conflicts were causing unnecessary formatting diffs
in collaborative workflows.

## Solution
- Updated the testFile variable in the test runner to normalize paths by
replacing backslashes (\) with forward slashes, ensuring cross-platform
compatibility.
- Added the Prettier rule 'prettier/prettier': ['error', { endOfLine:
'auto' }] to align EOL behavior with the host environment, avoiding
platform-specific conflicts.
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