gabriel / musehub public
fix BREAKING task/fix-tests-and-typing-audit #1 / 1
AI Agent gabriel · 42 days ago · May 6, 2026 · Diff

fix: resolve test failures, add dead/dismiss route, type audit to 0

- Fix JSONObject route return types (orgs, repos, social, users) — replace -> JSONObject with -> Response + JSONResponse(content=...) so Pydantic schema generation no longer chokes on the recursive JSONValue type alias - Add POST /{owner}/{repo_slug}/intel/dead/dismiss route to ui_intel; parses form body via stdlib urllib.parse (no python-multipart dependency) - Fix test_phase1_stable_provider: replace deprecated datetime.utcnow() with datetime.now(timezone.utc).replace(tzinfo=None) - Fix test_phase4_dead_dismiss: remove spurious await on expire_all(), capture repo_id before expire_all() to avoid detached-instance lazy-load error - Fix test_phase2_intel_providers: replace dict[str, bytes] boundary param with _ContentMap type alias — typing audit ratchet now at 0

sha256:5758d8c984a9f7cef1b289cbc72cd23440ce3352ed9bc4d1d904a18f8311a78a sha
sha256:42e2b10bf6ee0953439ace233e9a9c4bd9df2b7b10615037262c8274e34c3168 snapshot
← Older Oldest on task/fix-tests-and-typing-audit
All commits
Newer → Latest on task/fix-tests-and-typing-audit

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:5758d8c984a9f7cef1b289cbc72cd23440ce3352ed9bc4d1d904a18f8311a78a --body "your comment"