fix: resolve 5 bugs — missing import, infinite render loop, stale closures, discipline XP
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m21s

- #249: Add missing getAllGuardianFloors import to SpireSummaryTab.tsx
- #250/#252: Add useRef guard in SpireCombatPage useEffect to prevent infinite re-render loop
- #251: Fix stale closure in PactDebugSection signAllPacts/forcePact — read signedPacts from store.getState()
- #253: Fix DisciplineDebugSection handleAddXP to update totalXP and concurrentLimit
- #252: Marked duplicate of #250
This commit is contained in:
2026-06-02 12:07:07 +02:00
parent fe78ae047f
commit f6f6ef4379
10 changed files with 65 additions and 103 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# Circular Dependencies
Generated: 2026-06-01T10:58:05.599Z
Generated: 2026-06-02T08:49:51.414Z
No circular dependencies found. ✅
+11 -1
View File
@@ -1,6 +1,6 @@
{
"_meta": {
"generated": "2026-06-01T10:58:03.834Z",
"generated": "2026-06-02T08:49:49.529Z",
"description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.",
"usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry."
},
@@ -586,6 +586,16 @@
"types.ts",
"types/equipmentSlot.ts"
],
"stores/debugBridge.ts": [
"stores/attunementStore.ts",
"stores/combatStore.ts",
"stores/craftingStore.ts",
"stores/discipline-slice.ts",
"stores/gameStore.ts",
"stores/manaStore.ts",
"stores/prestigeStore.ts",
"stores/uiStore.ts"
],
"stores/discipline-slice.ts": [
"data/disciplines/base.ts",
"data/disciplines/elemental-regen-advanced.ts",
-4
View File
@@ -19,10 +19,6 @@ Mana-Loop/
│ ├── enchanter-happy-path.spec.ts
│ ├── fabricator-happy-path.spec.ts
│ └── playtest.spec.ts
├── playwright-report/
│ ├── data/
│ │ └── 199a0ed84e7318aab410b0ec2f96ea8f6478a4da.png
│ └── index.html
├── public/
│ ├── fonts/
│ │ ├── GeistMonoVF.woff