mirror of
https://github.com/KohakuBlueleaf/KohakuHub.git
synced 2026-05-05 20:07:37 -05:00
[PR #15] [CLOSED] Add fast backend test harness, coverage, and CI workflow #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/KohakuBlueleaf/KohakuHub/pull/15
Author: @narugo1992
Created: 4/19/2026
Status: ❌ Closed
Base:
main← Head:test/unit📝 Commits (10+)
4c6dba6Add local development bootstrap and deterministic demo fixturesb5a6ab5Add new-tab support to repo card titles77786dfAdd new-tab support to commit links and breadcrumbse53f48bMerge pull request #2 from deepghs/dev/click98c0e02Add session-scoped repo sort preferences and timezone-aware timestamps7b29dbfMerge pull request #3 from deepghs/dev/order42b7f3fRaise LFS keep versions UI limit to 999982ea9d9Merge pull request #4 from deepghs/chore/lfs-keep-versions-max-99998667cc3Widen branch selector in repo viewerfef57a1Tighten repo branch selector width📊 Changes
100 files changed (+7529 additions, -386 deletions)
View changed files
➕
.coveragerc(+21 -0)➕
.env.dev.example(+51 -0)➕
.github/workflows/backend-fast-tests.yml(+68 -0)📝
.gitignore(+6 -0)➕
Makefile(+105 -0)📝
config-example.toml(+2 -1)➕
docs/development/local-dev.md(+291 -0)📝
pyproject.toml(+2 -1)📝
pytest.ini(+10 -2)➕
scripts/dev/down_infra.sh(+26 -0)➕
scripts/dev/init_lakefs.py(+152 -0)➕
scripts/dev/reset_local_data.sh(+51 -0)➕
scripts/dev/run_backend.sh(+76 -0)➕
scripts/dev/seed_demo_data.py(+1988 -0)➕
scripts/dev/up_infra.sh(+184 -0)📝
scripts/generate_docker_compose.py(+4 -1)📝
scripts/migrate_config.py(+4 -1)📝
scripts/sync_lakefs_credentials.py(+4 -1)➕
scripts/tests/backend_fast_state.py(+102 -0)📝
src/kohaku-hub-ui/src/components/pages/RepoListPage.vue(+43 -38)...and 80 more files
📄 Description
Summary
test/kohakuhubfast backend suite with package-style__init__.pycoverage across auth, repo, commit, org, quota, invitation, admin, misc, and git SSH key routesscripts/tests/backend_fast_state.py,Makefile, local docs, coverage config, and a GitHub Actions workflowVerification
make test-backend-fastmake test-backend-cov🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.