Skip to content

Support official WCA FTO across event workflows - #93

Open
coder13 wants to merge 2 commits into
mainfrom
fix/official-wca-fto
Open

coder13 wants to merge 2 commits into
mainfrom
fix/official-wca-fto

Conversation

@coder13

@coder13 coder13 commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Official fto WCIF data currently throws in competition summaries, round selection, and exports because both the app registry and the shared helper dependency lack event metadata. Add FTO names and ordering, typed/runtime helper support, and an icon alias so registrations, group creation, assignments, imports, and exports use the official ID throughout.

Pin and patch @wca/helpers 1.1.6, including the copy used by wca-group-generators. Later helper releases still lack runtime FTO metadata; upgrading to v2 would also require unrelated WCIF schema changes. The patch applies during Yarn installation and fails on application errors; its removal criteria are documented in patches/README.md. Event filters now expose accessible names and selection state.

Pin .nvmrc to Node 24 and the test jobs to Ubuntu 24.04. Floating lts/* and ubuntu-latest selected Node 26 (native localStorage conflicts with the current jsdom test environment) and Ubuntu 26.04 (unsupported by the locked Playwright version), causing unit-test and browser-install failures in CI.

Validation:

  • yarn test and yarn test:coverage: 400 tests passed across 63 files.
  • yarn test:e2e --workers=2: all 9 browser tests passed, including FTO summary, icon, round editing, assignment generation, save/reload, filtering, and all four CSV downloads.
  • yarn check:type and yarn build: passed.
  • yarn lint: passed with 0 errors and 20 existing warnings; pre-push type/lint checks also passed.
  • Fresh yarn install --frozen-lockfile: patch applied successfully, with direct and transitive FTO helper checks passing.
  • git diff --check and formatting checks for the new tests passed.

Yarn lifecycle scripts must remain enabled to apply the dependency patch.

@coder13
coder13 marked this pull request as ready for review November 15, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant