Broken planes (health 0) can no longer fly: dispatch returns 409 "the plane is broken (health 0) — repair it first" and the engine's auto-chain stops at a broken landing with the queue intact.
Repair no longer jumps straight to 100%: health climbs gradually over the repair duration, so the maintenance bar doubles as the progress indicator; the plane returns to service when it reaches full health.
REMOVED the now-unreachable ×1.5 broken-burn mechanic (a broken plane can never depart).
Fixes #89
- Broken planes (health 0) can no longer fly: dispatch returns 409 "the plane is broken (health 0) — repair it first" and the engine's auto-chain stops at a broken landing with the queue intact.
- Repair no longer jumps straight to 100%: health climbs gradually over the repair duration, so the maintenance bar doubles as the progress indicator; the plane returns to service when it reaches full health.
- REMOVED the now-unreachable ×1.5 broken-burn mechanic (a broken plane can never depart).
- flyPlane 409s a broken plane (health <= 0) before any refuel math — fuel/cash untouched
- engine auto-chain skips chaining when a landing's wear breaks the plane (queue kept intact)
- finishRepairs heals along round(f x 100) each tick; flip to available at exactly 100 on gate pass
- repairPlane no longer jumps health to 100 — it starts the gradual heal
- REMOVED BROKEN_BURN_MULTIPLIER / conditionBurnMultiplier and all burn sites (unreachable now)
- OpenAPI + route comments reworded; unit tests reworked; e2e maintenance.spec.ts per issue
- v0.45.0
kamilkrzywda
scheduled this pull request to auto merge when all checks succeed 2026-09-21 23:23:01 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes #89