Skip to content

fix: use pyright basic mode for CI stability#12

Merged
ancongui merged 2 commits into
mainfrom
develop
Feb 10, 2026
Merged

fix: use pyright basic mode for CI stability#12
ancongui merged 2 commits into
mainfrom
develop

Conversation

@ancongui
Copy link
Copy Markdown
Contributor

Switch from standard to basic typeCheckingMode. Standard mode reports false positives on async context managers and dynamic protocol patterns. Basic mode catches real bugs without blocking CI.

@ancongui ancongui merged commit 6ded17b into main Feb 10, 2026
3 of 5 checks passed
javier-alvarez pushed a commit that referenced this pull request May 4, 2026
Addresses the deferred items from the code review (review of commit
b84c3bc). After this commit, only FF-2 (file an upstream issue) and
FF-5 (per-doc correlation_id at ingest time) remain as follow-ups.

FF-6 / Review #6 — real-time per-file ingest output:
  ``_run_ingest`` now walks the drop folder itself and calls
  ``agent.ingest_one`` per file, streaming ``[N/total] starting ...``
  and the terminal ``[status]`` line as each file completes.

Review #6 — noisy-logger override env var FIREFLY_AGENTIC_VERBOSE_LOGGERS.

FF-1 — ``--force-clean`` actually wipes ./kg now (with TTY confirmation
prompt; CI / scripts skip the prompt because the flag itself is consent).

Review #8 — Retry-After "first match wins" assumption documented.

Review #9 — idempotency-signature asymmetry (otlp endpoint vs azure conn
string) documented in configure_exporters docstring.

Review #10 — _ENCODING tri-state cleanup (replaced object|None hack with a
clean (loaded, encoder) tuple cache).

Review #12 — rerank_fallback label spec update.

Full sweep: 1220 passed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ancongui added a commit that referenced this pull request May 31, 2026
fix: use pyright basic mode for CI stability
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