Skip to content

Repo structure refactor#45

Merged
Leon-Sander merged 4 commits into
mainfrom
repo_structure_refactor
Jul 10, 2026
Merged

Repo structure refactor#45
Leon-Sander merged 4 commits into
mainfrom
repo_structure_refactor

Conversation

@Leon-Sander

Copy link
Copy Markdown
Owner

Tests, CI, and src/ layout

  • Added a contract-level test suite (20 tests) over the SQLite layer, utilities, and API request construction. See TESTING.md.
  • CI runs the suite on Ubuntu and Windows (Python 3.10).
  • Moved all Python source into src/ for a clearer repo root.

Breaking

  • Run commands changed: streamlit run src/app.py and python3 src/database_operations.py. Docker/compose updated; update local clones and forks.

Leon Sander and others added 4 commits July 6, 2026 10:39
20 pytest contract tests over the stable behavior layer: SQLite
repositories, pure utils, and chat API request construction. Tests pin
behavioral promises, never implementation structure, so forks can
refactor internals freely (philosophy documented in TESTING.md).

- tests/ run hermetically: import-time side effects are sandboxed into
  a temp dir, network access is blocked at the socket level
- GitHub Actions matrix runs the suite on ubuntu + windows (Python 3.10)
- UI, CSS, audio transcription and live model calls deliberately stay
  untested/manual (see TESTING.md)
@Leon-Sander
Leon-Sander merged commit f74a94a into main Jul 10, 2026
2 checks passed
@Leon-Sander
Leon-Sander deleted the repo_structure_refactor branch July 10, 2026 10:43
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