Skip to content

test(llm_client): copilot_cli conformance + bump v2.0.0 (CHANGELOG)#198

Merged
CocoRoF merged 1 commit into
mainfrom
feat/llm-backend/c2-copilot-conformance
May 17, 2026
Merged

test(llm_client): copilot_cli conformance + bump v2.0.0 (CHANGELOG)#198
CocoRoF merged 1 commit into
mainfrom
feat/llm-backend/c2-copilot-conformance

Conversation

@CocoRoF
Copy link
Copy Markdown
Owner

@CocoRoF CocoRoF commented May 17, 2026

Summary

Phase C2 of the LLM backend upgrade cycle — closes Phase A/B/C for the executor side. Plugs CopilotCLIClient into the conformance harness, bumps the version to 2.0.0, and writes the matching CHANGELOG entry.

What's new

  • `tests/llm_client/conformance/test_copilot_cli.py` — 8 cases inherited from `ConformanceTestSuite`: capability shape (subprocess, no streaming/tools/structured_output/token_usage), basic_text_completion, auth/not_installed error mapping, streaming-fallback (BaseClient default), binary_not_found.
  • `pyproject.toml` + `init.py`: 1.21.0 → 2.0.0 (semver major).
  • `CHANGELOG.md`: full 2.0.0 entry — Added / Changed / Removed + migration notes for hosts moving off the legacy `api_key=` + `strategies['provider']` path.

Test plan

  • `pytest tests/llm_client/conformance/test_copilot_cli.py` — 8 pass
  • Full repo: 3205 passed, 8 skipped, 0 failed
  • `ClientRegistry.available()` returns 6 providers

Phases A + B + C complete on the executor side. Phase D (sub-agent multi-provider) is next; after that lands, PyPI publication of 2.0.0 unblocks Geny.

Plan reference: `docs/llm-backend-upgrade-plan/07_rollout_phases.md` (Phase C2).

Phase C2 of the LLM backend upgrade — Phase A/B/C wrap-up for the
executor side. Plugs CopilotCLIClient into the conformance harness,
bumps the version to 2.0.0, and writes the matching CHANGELOG entry.

tests/llm_client/conformance/test_copilot_cli.py (NEW)
- 8 specialised cases on top of ConformanceTestSuite: capability shape
  (subprocess, no streaming/tools/structured_output/token_usage),
  basic_text_completion via fake gh, auth/not_installed error mapping,
  streaming-fallback (BaseClient default emits one message_complete
  event), binary_not_found.

pyproject.toml / src/geny_executor/__init__.py
- version: 1.21.0 → 2.0.0 (semver major: provider-location contract
  break, ProviderBackedClient removal).

CHANGELOG.md
- 2.0.0 entry covering Added / Changed / Removed plus migration notes
  for hosts moving off the legacy ``api_key=`` + ``strategies['provider']``
  path.

Full suite: 3205 passed, 8 skipped, 0 failed.

ClientRegistry.available() now returns 6 providers; Phases A + B + C of
the LLM backend upgrade are complete. The next phase (D) introduces
multi-provider sub-agents; after that lands, PyPI publication of 2.0.0
unblocks Geny to consume the new contract.

Plan reference: docs/llm-backend-upgrade-plan/07_rollout_phases.md (Phase C2).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@CocoRoF CocoRoF merged commit 20ca976 into main May 17, 2026
5 of 6 checks passed
@CocoRoF CocoRoF deleted the feat/llm-backend/c2-copilot-conformance branch May 17, 2026 13:18
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