hikari ee47c1e8c9
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m4s
CI / Lint, Build & Test (push) Successful in 1m10s
fix: auto-boss no longer halts on client/server save race condition (#91)
## Summary

Fixes #86. When the client state is ahead of the server save, the auto-boss tick would receive a "Boss is not currently available" error from the API. This error was already acknowledged as an expected race condition and suppressed from telemetry — but it was still setting the error state and turning auto-boss off.

## Root Cause

The `catch` handler treated all errors identically: set `autoBossError`, turn off `autoBoss`. The race-condition case should instead silently skip so the next tick can retry naturally.

## Fix

When the error is `"Boss is not currently available"`, return early from the `catch` handler. The `finally` block still runs, resetting `isAutoBossingReference.current = false`, so the next tick retries cleanly.

 This PR was created with help from Hikari~ 🌸

Reviewed-on: #91
Co-authored-by: Hikari <hikari@nhcarrigan.com>
Co-committed-by: Hikari <hikari@nhcarrigan.com>
2026-03-20 09:30:57 -07:00
2026-03-19 21:24:55 -07:00
2025-07-14 21:17:39 -07:00
2025-07-14 21:17:39 -07:00
2025-07-14 21:17:39 -07:00
2025-07-14 21:17:39 -07:00
2026-03-19 21:24:55 -07:00
2025-07-14 21:17:39 -07:00
2025-07-14 21:17:39 -07:00
2025-07-14 21:17:39 -07:00

New Repository Template

This template contains all of our basic files for a new GitHub repository. There is also a handy workflow that will create an issue on a new repository made from this template, with a checklist for the steps we usually take in setting up a new repository.

If you're starting a Node.JS project with TypeScript, we have a specific template for that purpose.

Readme

Delete all of the above text (including this line), and uncomment the below text to use our standard readme template.

S
Description
An Idle RPG in the browser
Readme 4.8 MiB
v0.5.0 Latest
2026-04-06 20:19:56 -07:00
Languages
TypeScript 95.2%
CSS 4.3%
JavaScript 0.4%