Commit bd86330
feat: consolidate zndraw-auth + zndraw-joblib into monorepo (#894)
* docs: add repo consolidation design spec (auth + joblib → zndraw)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: add repo consolidation implementation plan
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat: copy zndraw-auth source into repo
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: copy zndraw-joblib source into repo
* refactor: move zndraw tests into tests/zndraw/
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: copy zndraw-auth tests into repo
* feat: copy zndraw-joblib tests into repo
* build: absorb auth+joblib deps, configure wheel for 3 packages
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* refactor: extract test helpers from conftest into helpers.py
conftest.py should only contain pytest fixtures (auto-discovered),
not importable utility functions. Move make_raw_frame,
create_test_user_model, create_test_token, decode_msgpack_response,
create_test_user_in_db, create_test_room, auth_header, and
MockSioServer into tests/zndraw/helpers.py.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* style: lint compliance for absorbed auth+joblib packages
Fix all ruff and pre-commit violations across the absorbed zndraw_auth
and zndraw_joblib packages: RUF022 __all__ sorting, UP042 StrEnum,
FAST001/002 response_model/Annotated, TC001/002 TYPE_CHECKING imports,
N818 ProblemException→ProblemError, TRY300/400/401 exception logging,
S311 SystemRandom, ASYNC109 noqa annotations, ARG001/002/005 unused
args, BLE001 broad catches, SIM102/105 simplifications, E501 line
length, B007 loop vars, PT006 parametrize tuples, G004 lazy logging.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* ci: run auth/joblib/zndraw test suites sequentially
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: remove version re-export to avoid circular import
zndraw_auth → zndraw → zndraw_joblib → zndraw_auth cycle.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: remove duplicate Query defaults broken by FAST001 auto-fix
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: remove test __init__.py shadowing source, fix renamed param
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: rename conflicting test basenames for combined pytest run
Pytest prepend mode requires unique basenames across test directories.
Renamed 4 files in tests/zndraw/ to avoid collisions with tests/zndraw_auth/
and tests/zndraw_joblib/:
- test_auth.py → test_auth_endpoints.py
- test_exceptions.py → test_zndraw_exceptions.py
- test_schemas.py → test_zndraw_schemas.py
- test_client/ → test_zndraw_client/
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* remove AGENTS.md
* refactor: update zndraw imports for absorbed auth+joblib packages
Renames from lint compliance (N818: ProblemException → ProblemError)
cascaded into zndraw source that imports from zndraw_joblib.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* ci: run all test suites in single pytest invocation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent 5ea7ead commit bd86330
164 files changed
Lines changed: 13712 additions & 422 deletions
File tree
- .github/workflows
- docs/superpowers
- plans
- specs
- src
- zndraw_auth
- zndraw_joblib
- zndraw
- cli_agent
- client
- providers
- routes
- tests
- zndraw_auth
- zndraw_joblib
- zndraw
- test_cli_agent
- test_zndraw_client
- worker
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments