Skip to content

fix(build): unblock v2.8.0 — commit Skia natives + fix PlayerEditDialog test types - #99

Merged
AdaInTheLab merged 1 commit into
mainfrom
fix/unblock-2.8.0-build
May 29, 2026
Merged

AdaInTheLab merged 1 commit into
mainfrom
fix/unblock-2.8.0-build

Conversation

@AdaInTheLab

Copy link
Copy Markdown
Collaborator

The v2.8.0 tag build failed (run 26652746736) for two reasons — both fixed here, vue-tsc --noEmit verified green locally:

① Skia natives missing on CI (MSB3030)

x64/libSkiaSharp.dll and .so are gitignored (x64/ rule); only sqlite3.dll was ever force-added. PR #96 added <None Include="x64\libSkiaSharp.*"> to the csproj, so CI — checking out without those files — failed with "could not copy … not found." The mod loads them at runtime from <modPath>/x64/, so the release zip must bundle them. Force-added both (same pattern as sqlite3.dll).

② PlayerEditDialog.test.ts type errors

  • player mock had 5 of PlayerInfo's 20 fields → completed it.
  • mockGetMetadata inferred a undefined return, so it rejected the seeded {playerId, vipTier} (also an incomplete PlayerMetadata) → typed it PlayerMetadata | undefined and completed the object.

Next

Once merged: delete the failed v2.8.0 tag and re-push it at the new main so the Release workflow rebuilds the draft.

🤖 Generated with Claude Code

…og test types

The v2.8.0 tag build failed two ways:

- x64/libSkiaSharp.dll and .so are gitignored (only sqlite3.dll was force-added),
  but #96 added <None Include="x64\libSkiaSharp.*"> to the csproj. CI checks out
  without them -> MSB3030 "could not copy ... not found". Force-add both (like
  sqlite3.dll) so the release zip bundles the natives the mod loads from x64/.
- PlayerEditDialog.test.ts: the `player` mock had 5 of PlayerInfo's 20 fields, and
  mockGetMetadata was inferred to return `undefined` so it rejected the seeded
  {playerId, vipTier}. Completed the PlayerInfo mock, typed the metadata mock as
  PlayerMetadata | undefined, and completed the seeded object. `vue-tsc --noEmit`
  now passes locally.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented May 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@AdaInTheLab
AdaInTheLab merged commit 06b4a72 into main May 29, 2026
3 checks passed
@AdaInTheLab
AdaInTheLab deleted the fix/unblock-2.8.0-build branch May 29, 2026 17:54
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.

1 participant