Issue-agent smoke 03: build, deploy, and reload core #87

Closed
opened 2026-04-25 09:13:41 -07:00 by nelsong6 · 3 comments
nelsong6 commented 2026-04-25 09:13:41 -07:00 (Migrated from github.com)

Smoke Test

This is smoke test 03 for #81.

Goal

Exercise the build/deploy/hot-reload behavior without requiring a product change.

Task

Build and test the current code using the known-good Windows validation sequence. If the existing workflow/deploy path places SpireLens.Core.dll where the running game can load it, call reload_spirelens_core before any screenshot or final live claim. Do not make code changes unless a real regression is found.

Expected Behavior Under Observation

The agent should:

  1. Read this issue and comments.
  2. Inspect current game state through MCP before live validation.
  3. Run the known-good build/test path.
  4. Call reload_spirelens_core after build/deploy if live SpireLens behavior is being validated.
  5. Report clearly if reload is unavailable, fails, or is not applicable because nothing was deployed.

Evidence Required

  • Final issue comment with build/test outcome.
  • Explicit statement of whether reload_spirelens_core was called and what it returned.
  • Screenshot/artifact only if meaningful.

Relay Handoff

When finished, remove issue-agent from this issue and add either issue-agent-complete or issue-agent-blocked according to the result. Then add issue-agent to #86.

## Smoke Test This is smoke test 03 for #81. ## Goal Exercise the build/deploy/hot-reload behavior without requiring a product change. ## Task Build and test the current code using the known-good Windows validation sequence. If the existing workflow/deploy path places `SpireLens.Core.dll` where the running game can load it, call `reload_spirelens_core` before any screenshot or final live claim. Do not make code changes unless a real regression is found. ## Expected Behavior Under Observation The agent should: 1. Read this issue and comments. 2. Inspect current game state through MCP before live validation. 3. Run the known-good build/test path. 4. Call `reload_spirelens_core` after build/deploy if live SpireLens behavior is being validated. 5. Report clearly if reload is unavailable, fails, or is not applicable because nothing was deployed. ## Evidence Required - Final issue comment with build/test outcome. - Explicit statement of whether `reload_spirelens_core` was called and what it returned. - Screenshot/artifact only if meaningful. ## Relay Handoff When finished, remove `issue-agent` from this issue and add either `issue-agent-complete` or `issue-agent-blocked` according to the result. Then add `issue-agent` to #86.
github-actions[bot] commented 2026-04-25 09:41:43 -07:00 (Migrated from github.com)

Issue-agent run started: 24935612371

Issue-agent run started: [24935612371](https://github.com/nelsong6/spirelens/actions/runs/24935612371)
github-actions[bot] commented 2026-04-25 09:44:39 -07:00 (Migrated from github.com)

Smoke Test 03 Result: ✅ Pass

Build

dotnet build Core/SpireLens.Core.csproj -c Debug

  • Result: Build succeeded
  • Warnings: 2 (pre-existing nullable warnings in ViewStatsInjectorPatch.cs and RunTracker.cs)
  • Errors: 0
  • Deploy: SpireLens.Core.dll copied to D:\SteamLibrary\steamapps\common\Slay the Spire 2\mods\SpireLens\ by the CopyCoreToModsFolderOnBuild target

Tests

dotnet test Tests/SpireLens.Core.Tests/SpireLens.Core.Tests.csproj -c Debug

  • Result: Passed — Failed: 0, Passed: 71, Skipped: 0, Total: 71

Hot Reload

reload_spirelens_core was called after the build+deploy step.

Response:

{
  "status": "ok",
  "message": "Requested SpireLens Core hot reload.",
  "reload_number": 2
}

Post-Reload Game State

Game state confirmed stable at main menu after reload.

Summary

  • No code changes made (no regression found)
  • Build: ✅ succeeded
  • Tests: ✅ 71/71 passed
  • Deploy: ✅ SpireLens.Core.dll written to mods folder by build target
  • reload_spirelens_core: ✅ returned ok, reload_number 2
  • Game state: ✅ stable at main menu
## Smoke Test 03 Result: ✅ Pass ### Build `dotnet build Core/SpireLens.Core.csproj -c Debug` - **Result:** Build succeeded - **Warnings:** 2 (pre-existing nullable warnings in `ViewStatsInjectorPatch.cs` and `RunTracker.cs`) - **Errors:** 0 - **Deploy:** `SpireLens.Core.dll` copied to `D:\SteamLibrary\steamapps\common\Slay the Spire 2\mods\SpireLens\` by the `CopyCoreToModsFolderOnBuild` target ### Tests `dotnet test Tests/SpireLens.Core.Tests/SpireLens.Core.Tests.csproj -c Debug` - **Result:** Passed — Failed: 0, Passed: 71, Skipped: 0, Total: 71 ### Hot Reload **`reload_spirelens_core` was called** after the build+deploy step. Response: ```json { "status": "ok", "message": "Requested SpireLens Core hot reload.", "reload_number": 2 } ``` ### Post-Reload Game State Game state confirmed stable at main menu after reload. ### Summary - No code changes made (no regression found) - Build: ✅ succeeded - Tests: ✅ 71/71 passed - Deploy: ✅ `SpireLens.Core.dll` written to mods folder by build target - `reload_spirelens_core`: ✅ returned `ok`, reload_number 2 - Game state: ✅ stable at main menu
nelsong6 commented 2026-04-27 15:56:21 -07:00 (Migrated from github.com)

Closing as completed cleanup.

Relevant takeaway: this smoke proved the runner could build/deploy SpireLens.Core, run the focused test suite, call reload_spirelens_core, and observe the game still stable afterward. If hot-reload validation regresses, open a new focused issue against the current runner setup.

Closing as completed cleanup. Relevant takeaway: this smoke proved the runner could build/deploy `SpireLens.Core`, run the focused test suite, call `reload_spirelens_core`, and observe the game still stable afterward. If hot-reload validation regresses, open a new focused issue against the current runner setup.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/spirelens#87
No description provided.