product-lifecycle: Add plc_lookup.py CLI, migrate to v2 API#13
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: harche The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold will look into this after #6 |
ce82a3e to
b0a3f09
Compare
Testing ResultsEval Framework (Agent-in-the-loop)Ran 12 skill evals via the agentic-skills eval framework using Claude on Vertex AI. Test queries use the exact prompt format CVO proposals send to the agent, with real OLM operator data and readiness JSON. product-lifecycle (7 evals)
update-advisor (5 evals)Each test sends a complete readiness JSON (same format CVO produces) and verifies the agent's upgrade decision:
All 12 agent evals + 46 unit/integration tests passed. End-to-End with CVO Readiness DataTested the full proposal → readiness → skill pipeline using a custom CVO build from openshift/cluster-version-operator#1395 deployed to a live OCP 4.21.5 cluster on GCP (6 nodes). Installed OLM operators for testing:
Flow verified:
Cluster readiness summary (from proposal
Ground truth verificationAll expected values in evals were verified against the live PLC v2 API: 🤖 Generated with Claude Code |
|
/cc @wking |
7e43631 to
eace3b2
Compare
|
/hold improving evals with better data. |
f01f289 to
81bf078
Compare
|
Converting to draft, I need to make a few more changes before it is ready for the review. |
Add standalone Python CLI (`plc_lookup.py`) wrapping the Red Hat Product Life Cycle API v2 for querying product support status, EOL dates, and OCP version compatibility. Replaces inline curl/python one-liners. Commands: - `products` — query by product name with optional OCP compat check - `olm-check` — batch check OLM operators against a target OCP version Includes 46 tests (unit with mocked API + integration against live API), 3 agent eval test cases (all passing on Claude via Vertex AI), and OWNERS updates. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
81bf078 to
0544f37
Compare
back to open. |
|
@harche: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
plc_lookup.py) wrapping the Red Hat Product Life Cycle API v2--limit,--offset) for broad queriesBuilds on top of #6 (that PR stays open).
CLI usage
Test plan
python3 -m unittest— 19 unit + 17 integration against live API + 10 pagination)plc_lookup.py -hshows clean help output🤖 Generated with Claude Code