Skip to content

chore(release): 0.2.12 — Deep Research mode + Docker/Makefile/install fixes#102

Merged
DEENUU1 merged 5 commits into
mainfrom
chore/release-0.2.12
Jun 17, 2026
Merged

chore(release): 0.2.12 — Deep Research mode + Docker/Makefile/install fixes#102
DEENUU1 merged 5 commits into
mainfrom
chore/release-0.2.12

Conversation

@DEENUU1

@DEENUU1 DEENUU1 commented Jun 17, 2026

Copy link
Copy Markdown
Member

Deep Research mode (#90) plus a batch of generated-project infra fixes: make install pre-commit spawn (#95), Makefile Compose v2 (#96), frontend Docker build (#97), pydantic_deep Responses API routing (#93), Taskiq container health (#94), codecov-action bump (#89).

Summary

Changes

Testing

  • New tests added for any new functionality
  • All tests pass locally: make test
  • Linting passes: make lint
  • Type checking passes: make typecheck
  • Generated projects still work: tested with at least one preset

Related Issues

Notes for Reviewers

DEENUU1 added 2 commits June 17, 2026 14:55
… fixes

Deep Research mode (#90) plus a batch of generated-project infra fixes:
make install pre-commit spawn (#95), Makefile Compose v2 (#96), frontend
Docker build (#97), pydantic_deep Responses API routing (#93), Taskiq
container health (#94), codecov-action bump (#89).
The dev tools moved to a PEP 735 [dependency-groups] table, so the template
jobs that install a *generated* project must use `uv sync --dev`, not
`uv sync --extra dev` (which now errors "Extra `dev` is not defined in the
project's optional-dependencies table"). The four generator-repo jobs keep
`--extra dev` — the generator's own pyproject still uses optional-dependencies.
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

DEENUU1 added 3 commits June 17, 2026 17:18
The minimal SQLite project reported 31 ty diagnostics; the only build-blocking
ones were `unused-awaitable` — the SQLite admin/user routes were sync `def`s
that never awaited the always-async UserService, returning un-awaited
coroutines (a real bug). Fixes:

- Make the SQLite admin_users/users routes `async` + `await` (matches MongoDB).
- Type service id params per database via a `UserId` alias (UUID for Postgres,
  str for SQLite/MongoDB); resolve reset/magic-link tokens to the same type.
- Type the agent capability list `list[Any]`; `AdminService.__init__` db as
  `Any` so one impl serves async (PG) and sync (SQLite).
- Feature-gate the admin-stats best-effort model imports (session/credit/
  subscription) instead of importing absent modules.
- Build the args validator dict without the dict() overload ty can't match.
- Convert mypy `# type: ignore` to `# ty: ignore` where ty still flags the line.
- Set `unresolved-import` and `unused-ignore-comment` ty rules to ignore: the
  former covers genuinely-optional deps (pymupdf/docx) and feature-gated models,
  the latter tolerates an ignore that's needed in one config but unused in
  another generated from the same template.

Minimal SQLite now type-checks clean (0); all configs `ty check` exit 0.
The SQLite admin/user routes became `async` + `await` (they were sync `def`s
returning un-awaited coroutines), so the SQLite test fixture mocking the
service with a plain MagicMock made `await service.get_by_id(...)` raise
"'MockUser' object can't be awaited". UserService is async for every database
now, so mock it with AsyncMock unconditionally.
…orks

Extends the ty cleanup to the heavier configs so every generatable project
type-checks clean (0 diagnostics, ty exit 0):

- Real bug: InvitationRead was missing `organization_id` and `token` fields, so
  the invite/list endpoints silently dropped them (pydantic ignores extra
  kwargs). Added the fields.
- stripe_client: annotate `_handle_error` as NoReturn (it always raises) so the
  Stripe wrappers no longer "implicitly return None"; targeted ty:ignore on the
  two Stripe-stub kwarg mismatches.
- Targeted ty:ignore for the remaining Stripe-SDK / ORM-list-variance spots
  (billing routes, subscription_events, webhook_handler, facade, projects,
  rowcount in invitation/usage_event/rag_document repos, mongo apaginate).
- Scope a ty override to app/agents/*_assistant.py ignoring the third-party
  stub rule families (LangGraph Pregel ainvoke/astream, create_agent overloads,
  RunnableConfig TypedDicts, Agent[...] generic variance) — the adapters are
  correct at runtime; name-resolution rules stay on so real typos still fail.

Verified clean: SQLite (minimal), PostgreSQL (plain + teams/billing/credits),
MongoDB, LangChain, LangGraph, DeepAgents, PydanticDeep. CrewAI still can't
resolve deps on Python 3.14 (pydantic-core build) — CI already skips its ty.
@DEENUU1 DEENUU1 merged commit d97d291 into main Jun 17, 2026
15 checks passed
@DEENUU1 DEENUU1 deleted the chore/release-0.2.12 branch June 17, 2026 16:59
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.

2 participants