Skip to content

Trim windows- from codepage#567

Merged
kenherring merged 3 commits into
mainfrom
codepage-windows-1252
Apr 15, 2026
Merged

Trim windows- from codepage#567
kenherring merged 3 commits into
mainfrom
codepage-windows-1252

Conversation

@kenherring
Copy link
Copy Markdown
Owner

Fixes #458

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
40.0% Coverage on New Code (required ≥ 70%)

See analysis details on SonarQube Cloud

@kenherring kenherring marked this pull request as ready for review April 15, 2026 15:55
Copilot AI review requested due to automatic review settings April 15, 2026 15:55
Copy link
Copy Markdown

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

Fixes incorrect OpenEdge -cpstream values derived from openedge-project.json by normalizing Windows-style charset strings.

Changes:

  • Trim windows- prefix from the configured charset before passing it to -cpstream.
  • Add a Windows-only integration test project config (windows-1252) and corresponding test case.
  • Bump extension version and update changelog entry.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
test_projects/proj1/openedge-project.proj1.17.json Adds an OpenEdge project config fixture using charset: windows-1252 for testing.
test/suites/proj1.test.ts Adds an integration test verifying tests run when charset is windows-1252 (Windows-only).
src/parse/TestProfileParser.ts Normalizes charset by removing windows- prefix before adding/replacing -cpstream.
package.json Bumps extension version to 1.4.35.
package-lock.json Updates lockfile version fields to 1.4.35.
CHANGELOG.md Documents the change and updates release header/compare link.

Comment thread src/parse/TestProfileParser.ts
Comment thread test/suites/proj1.test.ts
Comment thread test/suites/proj1.test.ts
@kenherring kenherring merged commit 969e3d0 into main Apr 15, 2026
14 checks passed
@kenherring kenherring deleted the codepage-windows-1252 branch April 15, 2026 16:00
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.

🐛 [Bug] Code page read from openedge-project.json is not in OpenEdge format

2 participants