Skip to content

Fallback logic and bundles lag behind the current active generator version #74

Open

Description

@wafo

Problem

The generator's current active version is 9.1.0 (currentActiveVersion in setting-strings.json), but the tracker's defaults still point at 9.0.0:

  • FALLBACK_VERSION = "9.0.0" in the version configuration:
    • A missing or empty generator version normalizes to 9.0.0.
    • When downloading logic fails, the tracker falls back to the bundled 9.0.0 logic, so a 9.1.0 seed runs on older logic (the warning banner does say backup logic was used).
  • Bundled logic exists for 9.0.0, 8.3.0 and EFK, but not for 9.1.0. Every 9.1.0 session downloads its logic from GitHub with no matching offline fallback.
  • The launcher hard-codes "9.0.0" as the default for currentActiveVersion and supportedVersions when they're missing from the JSON. Both are present today, so this code never runs, but it's stale.
  • .env.example sets REACT_APP_GENERATOR_VERSION=9.0.0. The production value lives in the Cloudflare build settings and needs checking.

Already fixed in #75: a fresh browser now defaults to the current active version instead of the 9.0.0 fallback.

Proposed direction

  • Make the fallback follow currentActiveVersion instead of a hard-coded constant, or at least bump it to 9.1.0.
  • Bundle 9.1.0 logic, and keep the 9.0.0 bundle while the generator still supports 9.0.0.
  • Replace the launcher's hard-coded defaults with the same source.
  • Update .env.example and confirm the Cloudflare build variable.

Out of scope

The settings service migration (#73).

Activity

  1. added
    needs-triage
    on Nov 3, 2026
  2. changed the title [-]Fallback version is 9.0.0, which the generator no longer decodes[/-] [+]Fallback logic and bundles lag behind the current active generator version[/+] on Nov 3, 2026
  3. wafo commented on Nov 3, 2026

    @wafo
    OwnerAuthor

    Correction: the original version of this issue said the generator no longer decodes 9.0.0. That was wrong. The test that suggested it decoded a 9.1.0 settings string as 9.0.0, and the 9.0.0 presets (League S9, Tournament S9, Scrubs S7) decode fine. I've rewritten the issue around what remains: the fallback version and bundled logic lag behind 9.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions