Jan Novak 8b3064ffab
All checks were successful
Deploy to K8s / deploy (push) Successful in 9s
fix(go): default CacheDir to tmp/go to avoid Python collision
Previously both backends defaulted to `CacheDir=tmp` and used the
same cache keys (`attendance_regular`, `attendance_juniors`,
`payments_transactions`, `exceptions_dict`) but stored different
shapes: Python caches post-processed view-model tuples
(e.g. `(members, sorted_months)`), Go caches raw sheet rows.
Whichever backend wrote last poisoned the cache for the other,
producing `ValueError: too many values to unpack (expected 2,
got 68)` on Python's /adults after the Go side populated the
file with 68 raw CSV rows.

This breaks the M5.4 `make parity` workflow that requires both
backends running side-by-side.

Fix: change Go's default to `tmp/go` so the two cache trees
never overlap.  `CACHE_DIR` env var override still works.
`os.MkdirAll` already handles creating the new subdirectory on
first write.

Recovery for users with poisoned `tmp/`: hit /flush-cache on
the Python side once after pulling, then restart the Go server.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-07 23:06:34 +02:00
2026-05-07 14:01:46 +02:00

FUJ Management Documentation

Welcome to the documentation for the FUJ Management application.

This project automates financial and operational management for the FUJ (Frisbee Ultimate Jablonec) club.

Navigation

Use the sidebar to explore the documentation:

For more technical details, check out the guides by Claude and Gemini in the sidebar.

Description
Brainstorming and possibly automatization of internal processes in FUJ frisbee team - mainly finances
Readme 2.3 MiB
Languages
Go 48.8%
Python 30%
HTML 15.1%
JavaScript 2.9%
CSS 1.5%
Other 1.7%