Repository navigation
test(agents): fixture harness provider discovery - #118228
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 2, 2026, 6:43 PM ET / 22:43 UTC. ClawSweeper reviewWhat this changesThe branch mocks provider ownership and model-route discovery in the agent-harness registry test, then verifies that explicit provider runtime selection still forwards the original configuration to the ownership resolver. Merge readinessThis focused test-only PR remains useful: it isolates the agent-harness registry suite from real provider discovery while retaining an explicit assertion that selection forwards the original provider configuration to ownership resolution. The patch is correct, its reviewed-head terminal proof is sufficient, and no security or compatibility concern was found; the protected Priority: P3 Review scores
Verification
How this fits togetherAgent-harness selection receives a provider, model, and configuration, resolves provider ownership and model routes, then chooses the embedded runtime that can support the request. This PR changes only the registry suite’s fixture boundary: real provider-artifact behavior remains covered by dedicated provider suites. flowchart LR
A[Registry test fixture] --> B[Agent harness selection]
B --> C[Provider ownership resolver]
B --> D[Model route resolver]
C --> E[Harness support decision]
D --> E
E --> F[Selected agent runtime]
Decision needed
Why: The patch has no mechanical defect, but the existing protected Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +18. Total +18 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Merge the focused fixture isolation after human approval, keeping real provider ownership and route-artifact behavior canonical in their dedicated provider suites. Do we have a high-confidence way to reproduce the issue? Not applicable as a product-bug reproduction. The contributor supplied reviewed-head terminal proof that both the narrowed registry/selection suites and the dedicated provider suites pass after the fixture change. Is this the best way to solve the issue? Yes. Mocking the explicit discovery seams while asserting the ownership handoff is narrower and more maintainable than cold-loading bundled provider metadata in a synthetic registry test. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 8df95ccd087e. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
Focused after-fix terminal proof on reviewed head Exact-head CI is green. |
|
@clawsweeper re-review Inspectable reviewed-head terminal proof is now attached and linked from the PR body. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review The prior refreshed review lease expired without updating its placeholder. Inspectable reviewed-head terminal proof and exact-head green CI are linked from the PR body. |
Co-authored-by: Peter Steinberger <[email protected]>
Summary
No production code, test configuration, worker count, or sharding changes.
Performance
The slow registry assertion used a synthetic provider config but accidentally cold-loaded every plugin metadata artifact through ownership and route discovery.
Proof
oxfmt,oxlint, andgit diff --checkpassedTest-only change; no changelog entry.