Skip to content

Modernize dependencies, tests, and build tooling - #32

Merged
sergey-tihon merged 7 commits into
mainfrom
feature/modernize
Oct 6, 2026
Merged

sergey-tihon merged 7 commits into
mainfrom
feature/modernize

Conversation

@sergey-tihon

@sergey-tihon sergey-tihon commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Updated .NET tooling and packages, npm dependencies, and GitHub Actions.
  • Replaced FAKE with Fun.Build 1.2.0; retained Default, Build, Release, and Watch pipelines.
  • Migrated the test suite from NUnit/Verify to Expecto and Shouldly approval snapshots; preserved all six cases.
  • Updated release notes and build/test guidance.

CI fix

  • Normalize package LastWriteTime values to UTC in approval snapshots to avoid timezone-dependent mismatches between developer machines and GitHub runners.

Verification

  • ./build.sh -p Build passed with all 6 tests.
  • dotnet test --filter "FullyQualifiedName~word.docx" passed with 1 test.
  • Formatting check passed with no files needing formatting.
  • Fun.Build version/package stages were smoke-tested; VSIX packaging produced 41 files.

Notes

  • Shouldly 5.0.0-preview.2 is prerelease.
  • Fun.Build is pinned via an FSI #r reference in build.fsx and is updated manually.
  • Marketplace publishing was not run.

Copilot AI balanced review requested due to automatic review settings October 6, 2026 18:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Approval snapshots currently depend on local timezone and operating-system path serialization.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Modernizes dependencies, build tooling, CI, and snapshot testing.

Changes:

  • Migrates FAKE to Fun.Build and NUnit/Verify to Expecto/Shouldly.
  • Updates .NET, Fable, npm, Paket, and GitHub Actions dependencies.
  • Refreshes CI, Dependabot, release, and contributor guidance.
File Description
tests/​Server.Tests/​word.docx.verified.txt Removes legacy Verify snapshot.
tests/​Server.Tests/​word-libre6.docx.verified.txt Removes legacy Verify snapshot.
tests/​Server.Tests/​Tests.shouldMatchPackageInfo.word.docx.approved.txt Adds Shouldly approval.
tests/​Server.Tests/​Tests.shouldMatchPackageInfo.word-libre6.docx.approved.txt Adds Shouldly approval.
tests/​Server.Tests/​Tests.shouldMatchPackageInfo.powerpoint.pptx.approved.txt Adds Shouldly approval.
tests/​Server.Tests/​Tests.shouldMatchPackageInfo.powerpoint-libre6.pptx.approved.txt Adds Shouldly approval.
tests/​Server.Tests/​Tests.shouldMatchPackageInfo.excel.xlsx.approved.txt Adds Shouldly approval.
tests/​Server.Tests/​Tests.shouldMatchPackageInfo.excel-libre6.xlsx.approved.txt Adds Shouldly approval.
tests/​Server.Tests/​powerpoint.pptx.verified.txt Removes legacy Verify snapshot.
tests/​Server.Tests/​powerpoint-libre6.pptx.verified.txt Removes legacy Verify snapshot.
tests/​Server.Tests/​paket.references Replaces NUnit/Verify packages.
tests/​Server.Tests/​OpenXmlApi.Tests.fs Migrates six snapshot tests.
tests/​Server.Tests/​excel.xlsx.verified.txt Removes legacy Verify snapshot.
tests/​Server.Tests/​excel-libre6.xlsx.verified.txt Removes legacy Verify snapshot.
src/​Shared/​Shared.fs Applies Fantomas 8 formatting.
src/​Server/​OpenXmlApi.fs Applies Fantomas 8 formatting.
src/​extension/​Remoting.fs Applies Fantomas 8 formatting.
src/​extension/​Model.fs Applies Fantomas 8 formatting.
src/​extension/​Fable.Axios.fs Applies Fantomas 8 formatting.
release/​package.json Bumps extension version.
RELEASE_NOTES.md Documents version 0.3.1.
paket.lock Locks updated NuGet dependencies.
paket.dependencies Updates Paket and test dependencies.
package.json Updates npm dependencies.
global.json Updates the .NET SDK.
CONTRIBUTING.md Refreshes setup and dependency guidance.
build.sh Passes Fun.Build arguments correctly.
build.fsx Replaces FAKE with Fun.Build pipelines.
build.cmd Updates Windows argument forwarding.
AGENTS.md Updates repository automation guidance.
.vscode/​tasks.json Selects Fun.Build pipelines.
.vscode/​settings.json Removes obsolete FAKE exclusion.
.gitignore Removes obsolete FAKE entries.
.github/​workflows/​release.yml Modernizes release CI.
.github/​workflows/​pr.yml Modernizes PR CI.
.github/​dependabot.yml Adds weekly dependency updates.
.config/​dotnet-tools.json Updates tools and removes FAKE.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread tests/Server.Tests/OpenXmlApi.Tests.fs Resolved
@sergey-tihon
sergey-tihon requested a balanced review from Copilot October 6, 2026 18:41
@sergey-tihon
sergey-tihon merged commit f227f7d into main Oct 6, 2026
2 checks passed
@sergey-tihon
sergey-tihon deleted the feature/modernize branch October 6, 2026 18:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The release artifact upload targets release/ after the VSIX has been moved into temp/.

Review effort: Balanced
Findings: 1 High severity

Open (1)
Resolved since last review (1)

Comment on lines +42 to 45
uses: actions/upload-artifact@v7
with:
name: openxml-explorer-vscode-ext
path: release/
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.

2 participants