[P1] Run dotnet test in GitHub CI — the C# quality gate never executes outside the laptop #258
Labels
No labels
4-29
bug
documentation
duplicate
enhancement
flow improvement
good first issue
help wanted
invalid
investigating
issue-agent
issue-agent-blocked
issue-agent-complete
issue-agent-pr-open
issue-agent-runner-nelsonlaptop
issue-agent-runner-nelsonpc
issue-agent-runner-nelsonpc-user
issue-agent-running
needs-verification
next to do
question
queue
recon
relics-stats-onboarding
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/spirelens#258
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Priority: P1. Confirmed in the 2026-07-02 uncapped audit pass (finding #148). Highest-leverage single guardrail found.
Problem
The C# test suite (
Tests/SpireLens.Core.Tests, ~35 files) is the project's only deterministic quality gate, but GitHub CI never runs it..github/workflows/release.ymlonlydotnet builds the Tests project (lines ~37-38) — there is nodotnet test. The gate runs solely in the laptop glimmung verification phase.Consequence: any direct push, manual PR merge, or run made while the laptop is down lands on
mainwith zero C# tests executed. A regression in the historically-buggy promotion / adoption / merge paths ships silently. This also undercuts the value of every reflection-drift test and event-sequence fixture proposed elsewhere in the audit — they protect nothing between laptop sessions.Fix
Replace the build-only step with a test run:
This runs headless on
ubuntu-latest: the committedlib/{0Harmony,GodotSharp,sts2}.dllare theSts2LibDirfallback when the game isn't present, andSafeLoggerdegrades to console. (Note: ~11 asset-coupled tooltip-icon tests currently fail against thelib/stub because they resolve live-game icon assets — either decouple those or mark them[Trait("RequiresLiveGame","true")]and filter them out in the stub CI run; tracked in the test-fidelity issue.)Optionally split into a
dotnet-quality.ymlwithpaths:filters mirroring the existinggo-harness-quality.yml.Delivered in #266 (branch claude/ci-dotnet-test):
.github/workflows/dotnet-quality.ymlrunsdotnet teston ubuntu-latest against the checked-in lib/ stubs.[Trait("Category","RequiresLiveGame")]and excluded via--filter.Could not observe the actual run this session — and this is worth checking: GitHub Actions created no workflow runs for PRs #264/#265/#266 (the only check-suite on #266's head is a queued
claudeapp;gh api .../actions/runs?head_sha=...returns empty). That means even the existing release.yml gate isn't executing on these PRs. Likely a repo Actions setting (e.g. approval required for the pushing actor). Worth confirming Actions is actually running on PRs, otherwise no gate — new or old — protects main.Closing during repository issue cleanup. If this becomes active work again, we can reopen or recreate it as a fresh, specific task.