Repository navigation
fix(ci): prevent plugin prerelease validation timeouts - #117624
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 4:44 PM ET / 20:44 UTC. ClawSweeper reviewWhat this changesThe PR replaces Codex and Discord production-plugin test inputs with small fixtures that exercise the same capability-loader contracts, and updates a manifest-normalization expectation after snapshot behavior changed. Merge readinessKeep this maintainer PR open for normal review. The changed fixtures match the plugin test boundary and the supplied Testbox shard evidence is strong, but the target policy requires direct sibling Codex source inspection for Codex-related work and Priority: P2 Review scores
Verification
How this fits togetherRelease validation uses the bundled capability registry to discover a selected plugin, resolve its Plugin SDK imports, and collect its registered capabilities without replacing the active runtime registry. Manifest model normalization separately reads the current plugin metadata snapshot when one is available, otherwise resolving metadata afresh for the supplied environment. flowchart LR
A[Release validation shard] --> B[Capability registry tests]
B --> C[Scoped fixture discovery]
C --> D[Plugin SDK alias resolution]
D --> E[Registered capabilities]
F[Manifest metadata] --> G[Model ID normalization]
G --> H[Expected normalized model ID]
Decision needed
Why: Repository policy explicitly requires direct Codex source inspection for Codex-related verdicts; this read-only environment has no Before merge
Agent review detailsSecurityNone. PR surfaceTests +54. Total +54 across 2 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the small fixture-based tests, then complete a direct Codex-source contract check in an environment containing the sibling checkout before treating the release-validation coverage change as fully reviewed. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible at medium confidence: the prior tests used complete Codex and Discord graphs, while the replacement fixtures exercise the registry’s dist-SDK alias and registered-capability paths. I did not execute the reproduction because this is a read-only review. Is this the best way to solve the issue? Provisionally yes: generated fixtures are the repository-prescribed boundary for these loader-oriented tests, and the revised normalization assertion follows the current no-prepared-snapshot path. Direct Codex dependency-contract inspection remains the missing confirmation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against fb3d473a73b0. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Completed the ClawSweeper rank-up move with a direct sibling Codex source check.
This PR changes no Codex runtime or protocol code. It replaces a loader unit-test input that compiled the full OpenClaw Codex plugin graph with a bounded fixture exercising the same dist-SDK alias and capability-registration boundary. |
|
Merged via squash.
|
What Problem This Solves
Fixes an issue where full release validation could fail the plugin prerelease lane because a unit test loaded the complete Codex and Discord production plugin graphs, exceeding the 120-second per-test limit. It also corrects a stale model-normalization expectation after registry snapshot memoization was removed.
Why This Change Was Made
The capability loader tests now use bounded bundled fixtures that preserve the same dist-SDK alias, channel discovery, registration, and active-registry invariants without compiling unrelated production graphs. The normalization test now asserts the current no-prepared-snapshot behavior introduced by the registry snapshot refactor.
User Impact
No runtime behavior changes. Release validation is deterministic and the plugin agentic shard no longer spends several minutes compiling unrelated plugin code.
Evidence
acf28495b1ae8b911c38a9980eea303709f7a64f: Codex capability test timed out and model normalization returnedbravo-local/demo-model.agentic-pluginsTestbox shard: 222 files passed; 3,298 passed, 1 skipped; 89.37s.oxfmt --checkclean;git diff --checkclean.