oliver-zehentleitner / maity

docs + tools + deploy: architecture.md names MariaDB on main only; three hand-kept language-name tables; four deploy test scripts no workflow runs

Sign in to report

tsk-eak4hza7jcwq Proposed

Audit round 6 (tsk-hgnbapyw7hnh), read at 046a4d3b. Kind: docs drift, duplication, test gap.

What is wrong

  • docs/architecture.md:778-780 says MariaDB is tested in hub-mariadb.yml after every push to main. The new hub-mariadb-pr.yml also runs both suites on pull requests that touch migrations, locking modules or race tests (.github/workflows/ci.yml:44-46 and context/process.md say so).
  • The languages' own names are kept by hand three times: tools/readme_sync.py:39-50 (NAMES, new; its comment points at FRAME_NAMES), hub/src/maity_hub/landing.py:33-44 (LANGUAGE_NAMES), web/js/api.js:1547 (FRAME_NAMES). readme_sync fails only on a missing tag, not on a different spelling, so a rename in one copy makes the README language line and the web menu differ.
  • deploy/scripts/test-backup-signing.sh, test-restore-blocks.sh, test-backup-dump.sh and test-postgres-roles.sh are run by no workflow; .github/ names only test-helm-upgrade.sh (ci.yml:432). They check the backup signing and restore refusals that hub/context/kubernetes.md:610, :686 and deploy/k3s-single/README.md:31-35 rely on.
  • Small: the shell tools each carry a git() wrapper (tools/pr.sh:54-56, tools/overlap.sh:38-40, tools/coverage.sh:50-52) and a die() (pr.sh:39, overlap.sh:32, coverage.sh:43, guards.sh:31) now that tools/lib/ exists.

Proposal

  • One clause in architecture.md naming the PR workflow. readme_sync.py reads FRAME_NAMES from web/js/api.js (as it already reads languages.js) or compares against it. Run the three cluster-free deploy scripts in the helm job (gpg, GNU tar, python3 with PyYAML) and test-postgres-roles.sh in a PostgreSQL job via hub/scripts/with_postgres.sh; tsk-3rmvt8hbwkpt touches the same scripts. Optionally tools/lib/common.sh with git() and die().

Effort / risk: S each, M for the CI part. Low; the CI part may surface existing failures.