fix: resolve all 8 open bug tickets (#242–#249) #250

Merged
naomi merged 1 commits from feat/feedback-v2 into main 2026-04-13 09:50:21 -07:00
Owner

Summary

  • Closes #242 — Crystals in the resource bar now use formatNumber to respect the player's notation setting (suffix/scientific/engineering)
  • Closes #243 — Companion unlock progress includes current-run gold (totalGoldEarned) on both client and server, so companions unlock at the correct threshold
  • Closes #244 — Empty green reward bubbles no longer render for quest crystal rewards with a zero amount
  • Closes #245 / Closes #248 — Auto-save skips when isAutoPrestigingReference.current is true, preventing it from racing with an in-flight prestige and breaking the optimistic lock
  • Closes #246 — Generated and uploaded CDN images for crystal_pulse, crystal_surge, and crystal_tempest upgrades
  • Closes #247validateAndSanitize merges daily challenge progress by taking the max of client vs. server progress per challenge, so stale auto-saves can no longer roll back server-side completions
  • Closes #249 — Cached save signature is cleared after buyPrestigeUpgrade succeeds, preventing a stale-signature mismatch on the next auto-save

Test plan

  • Lint passes (pnpm lint)
  • Build passes (pnpm build)
  • Tests pass with 100% coverage (pnpm test)
  • Crystals display in resource bar respects notation setting
  • No empty reward bubbles on quests that don't award crystals
  • Companion progress bar shows correct value including current-run gold
  • Auto-prestige no longer causes save errors
  • Crafting a recipe updates daily challenge progress persistently (not rolled back by next auto-save)
  • Buying a prestige upgrade does not cause a signature mismatch error on next save
  • Crystal upgrade images display correctly in-game

This PR was created with help from Hikari~ 🌸

## Summary - **Closes #242** — Crystals in the resource bar now use `formatNumber` to respect the player's notation setting (suffix/scientific/engineering) - **Closes #243** — Companion unlock progress includes current-run gold (`totalGoldEarned`) on both client and server, so companions unlock at the correct threshold - **Closes #244** — Empty green reward bubbles no longer render for quest crystal rewards with a zero amount - **Closes #245 / Closes #248** — Auto-save skips when `isAutoPrestigingReference.current` is true, preventing it from racing with an in-flight prestige and breaking the optimistic lock - **Closes #246** — Generated and uploaded CDN images for `crystal_pulse`, `crystal_surge`, and `crystal_tempest` upgrades - **Closes #247** — `validateAndSanitize` merges daily challenge progress by taking the max of client vs. server progress per challenge, so stale auto-saves can no longer roll back server-side completions - **Closes #249** — Cached save signature is cleared after `buyPrestigeUpgrade` succeeds, preventing a stale-signature mismatch on the next auto-save ## Test plan - [ ] Lint passes (`pnpm lint`) - [ ] Build passes (`pnpm build`) - [ ] Tests pass with 100% coverage (`pnpm test`) - [ ] Crystals display in resource bar respects notation setting - [ ] No empty reward bubbles on quests that don't award crystals - [ ] Companion progress bar shows correct value including current-run gold - [ ] Auto-prestige no longer causes save errors - [ ] Crafting a recipe updates daily challenge progress persistently (not rolled back by next auto-save) - [ ] Buying a prestige upgrade does not cause a signature mismatch error on next save - [ ] Crystal upgrade images display correctly in-game ✨ This PR was created with help from Hikari~ 🌸
hikari added 1 commit 2026-04-13 09:44:06 -07:00
fix: resolve all 8 open bug tickets (#242–#249)
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m32s
CI / Lint, Build & Test (pull_request) Successful in 1m39s
9eb99069a6
- #242: use formatNumber for crystals in resource bar to respect notation setting
- #243: include current-run gold in companion unlock progress (client + server)
- #244: skip rendering empty reward spans for zero-crystal quest rewards
- #245/#248: skip auto-save while auto-prestige is in-flight to prevent optimistic lock collision
- #246: generate and upload CDN images for crystal_pulse, crystal_surge, crystal_tempest upgrades
- #247: merge daily challenge progress in validateAndSanitize (take max of client vs server) to prevent stale auto-saves rolling back server-side completions
- #249: clear cached signature after buying prestige upgrade to prevent mismatch on next save
naomi merged commit 9bb1d01d2b into main 2026-04-13 09:50:21 -07:00
naomi deleted branch feat/feedback-v2 2026-04-13 09:50:22 -07:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/elysium#250