Rename CardUtilityStats → SpireLens #69

Merged
nelsong6 merged 3 commits from rename/spirelens into main 2026-04-24 10:37:02 -07:00
nelsong6 commented 2026-04-24 10:20:51 -07:00 (Migrated from github.com)

Summary

Full mechanical rename across the repo + removal of abandoned Azure VMSS and Ansible bootstrap stacks.

Rename scope (commit 91a2991 + cleanup e525051)

  • CardUtilityStats → SpireLens (Pascal, ~200 occurrences)
  • card-utility-stats, cardutilitystats, card_utility_stats → spirelens (lowercase, no separator; ~60 occurrences total)
  • 18 files/dirs renamed: top-level .csproj/.json/.sln.DotSettings, Api/*.cs, Config/*.cs, Core/*.csproj, Tests/CardUtilityStats.Core.Tests/ → Tests/SpireLens.Core.Tests/
  • GitHub code search for CardUtilityStats on this branch returns 0 matches.

Deletes the abandoned Azure VMSS stack (commit 91a2991 + e525051)

  • Removes infra/opentofu/azure-vmss/ (7 files).

Deletes the abandoned Ansible / Azure builder bootstrap (commit c634103)

The active runner path is the laptop self-hosted runner (docs/laptop-issue-agent-runner.md), which does not use Ansible. The old builder VM + Ansible bootstrap + AKS-hosted ansible-control rig are all dead. Removed:

  • infra/ansible/ (entire directory — role, playbooks, inventory, group_vars, collections, ansible.cfg, README; 8 files)
  • infra/aks/arc/ansible-control.values.yaml (only file under infra/aks/)
  • 4 dead workflows: ansible-validate, bootstrap-azure-builder-ansible, bootstrap-azure-builder-winrm, deploy-aks-ansible-control-runner
  • 2 dead docs: aks-ansible-control-node.md, vmss-worker-bootstrap.md
  • 2 dead ops scripts: Enable-AnsibleWinRm.ps1, Initialize-IssueAgentRunner.ps1 (cloud runner init with mandatory KeyVault params)
  • docs/live-worker-pipeline.md: drops dangling Related-Docs bullet pointing at vmss-worker-bootstrap.md

Kept: ops/windows-worker/Register-LocalIssueAgentRunner.ps1 is the active laptop-runner registration script, no ansible dependency.

Breaking changes

  • Mod manifest id changed (CardUtilityStats → SpireLens). Per decision this morning, existing run data at %APPDATA%/SlayTheSpire2/CardUtilityStats/runs/ is abandoned; new saves go to %APPDATA%/SlayTheSpire2/SpireLens/. No migration code.
  • card_utility_stats_root references to D:\repos\card-utility-stats were renamed to D:\repos\spirelens. If any live host still has the checkout at the old path, either rename or symlink.
  • Loader diag log filename becomes spirelens-loader-diag.log in %TEMP%; old logs orphan harmlessly.

Post-merge follow-up

  • Rename the GitHub repo itself: gh repo rename spirelens (from card-utility-stats). GitHub auto-redirects old URLs.
  • Self-hosted runner config referencing nelsong6/card-utility-stats will need re-registration against nelsong6/spirelens (redirects cover git clone, but runner registration tokens are slug-scoped).

Test plan

  • dotnet build -c Release succeeds after local sync (confirms csproj/sln renames didn't break project refs)
  • dotnet test Tests/SpireLens.Core.Tests/SpireLens.Core.Tests.csproj -c Debug passes
  • Game restart with new mods/SpireLens/ folder shows [SpireLens] log lines and "Loaded 3 mods" (BaseLib + SpireLens + godotexplorer)
  • Run-data files start appearing under %APPDATA%/SlayTheSpire2/SpireLens/runs/
  • Issue-agent workflow still runs on the laptop self-hosted runner (verify runs-on: [self-hosted, windows, issue-agent] still resolves after ansible removal)
## Summary Full mechanical rename across the repo + removal of abandoned Azure VMSS and Ansible bootstrap stacks. ### Rename scope (commit `91a2991` + cleanup `e525051`) - `CardUtilityStats` → `SpireLens` (Pascal, ~200 occurrences) - `card-utility-stats`, `cardutilitystats`, `card_utility_stats` → `spirelens` (lowercase, no separator; ~60 occurrences total) - 18 files/dirs renamed: top-level `.csproj`/`.json`/`.sln.DotSettings`, `Api/*.cs`, `Config/*.cs`, `Core/*.csproj`, `Tests/CardUtilityStats.Core.Tests/` → `Tests/SpireLens.Core.Tests/` - GitHub code search for `CardUtilityStats` on this branch returns **0 matches**. ### Deletes the abandoned Azure VMSS stack (commit `91a2991` + `e525051`) - Removes `infra/opentofu/azure-vmss/` (7 files). ### Deletes the abandoned Ansible / Azure builder bootstrap (commit `c634103`) The active runner path is the **laptop self-hosted runner** ([docs/laptop-issue-agent-runner.md](../tree/rename/spirelens/docs/laptop-issue-agent-runner.md)), which does not use Ansible. The old builder VM + Ansible bootstrap + AKS-hosted ansible-control rig are all dead. Removed: - `infra/ansible/` (entire directory — role, playbooks, inventory, group_vars, collections, ansible.cfg, README; 8 files) - `infra/aks/arc/ansible-control.values.yaml` (only file under `infra/aks/`) - 4 dead workflows: `ansible-validate`, `bootstrap-azure-builder-ansible`, `bootstrap-azure-builder-winrm`, `deploy-aks-ansible-control-runner` - 2 dead docs: `aks-ansible-control-node.md`, `vmss-worker-bootstrap.md` - 2 dead ops scripts: `Enable-AnsibleWinRm.ps1`, `Initialize-IssueAgentRunner.ps1` (cloud runner init with mandatory KeyVault params) - `docs/live-worker-pipeline.md`: drops dangling Related-Docs bullet pointing at `vmss-worker-bootstrap.md` **Kept:** `ops/windows-worker/Register-LocalIssueAgentRunner.ps1` is the active laptop-runner registration script, no ansible dependency. ### Breaking changes - **Mod manifest `id` changed** (`CardUtilityStats` → `SpireLens`). Per decision this morning, existing run data at `%APPDATA%/SlayTheSpire2/CardUtilityStats/runs/` is **abandoned**; new saves go to `%APPDATA%/SlayTheSpire2/SpireLens/`. No migration code. - `card_utility_stats_root` references to `D:\repos\card-utility-stats` were renamed to `D:\repos\spirelens`. If any live host still has the checkout at the old path, either rename or symlink. - Loader diag log filename becomes `spirelens-loader-diag.log` in `%TEMP%`; old logs orphan harmlessly. ### Post-merge follow-up - Rename the GitHub repo itself: `gh repo rename spirelens` (from `card-utility-stats`). GitHub auto-redirects old URLs. - Self-hosted runner config referencing `nelsong6/card-utility-stats` will need re-registration against `nelsong6/spirelens` (redirects cover git clone, but runner registration tokens are slug-scoped). ## Test plan - [ ] `dotnet build -c Release` succeeds after local sync (confirms csproj/sln renames didn't break project refs) - [ ] `dotnet test Tests/SpireLens.Core.Tests/SpireLens.Core.Tests.csproj -c Debug` passes - [ ] Game restart with new `mods/SpireLens/` folder shows `[SpireLens]` log lines and "Loaded 3 mods" (BaseLib + SpireLens + godotexplorer) - [ ] Run-data files start appearing under `%APPDATA%/SlayTheSpire2/SpireLens/runs/` - [ ] Issue-agent workflow still runs on the laptop self-hosted runner (verify `runs-on: [self-hosted, windows, issue-agent]` still resolves after ansible removal)
Sign in to join this conversation.
No reviewers
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!69
No description provided.