Repository navigation
fix(ci): retire stale exports while preserving runtime guards - #175673
Merged
Merged
Conversation
Remove unused API surfaces after the canonical-owner cutovers in #175577, #175069, #175517 and #175538. Current Add deletion admission, credential authority, provider sanitization, reserved-key filtering, workspace exclusion and package lease checks stay at their live owners. Register the two live Gateway benchmark subprocess fixtures. Make internal dependency-evidence helpers and provenance types private; remove obsolete test-only surfaces while preserving explicit probe, warning-cache and 2000-character compaction assertions. Proof: 504 distinct focused cases validated with --maxWorkers=1. The migrated auth-reader fixture initially failed while its synchronous close was still draining; await the existing async close owner, then rerun only its two cases successfully. Core/scripts and five owning type graphs, scoped lint, format and final P2 review pass. Full-tree/script export and unused-file scans pass. Production deadcode still reports only the seven diagnostic hooks retained by #175223 and @modelcontextprotocol/client retained by #175254. No ignores or baseline increases. The all-graph selector reports existing root-count budgets; explicit owning compiler graphs passed without changing that budget.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
|
steipete
added a commit
that referenced
this pull request
Oct 17, 2026
The OpenRouter serialization fixture captured its host before loading the plugin. Loading can install the agent transport host, so cleanup restored an older host while leaving the one-shot installer cached. Later simple completion tests then lost endpoint inference and sent generic OpenAI reasoning_effort fields to GLM and DeepSeek routes. Capture the host after plugin registration and before the test override. Keep all serialized-request assertions and production thinking policy. The failure appeared after #175673 and reproduces with the two suites combined; reverting #175673 makes the same pair pass. The fixture lifecycle bug originated in #175267. Both standalone controls pass, confirming the shared-worker dependency. The repaired pair passes all 22 cases, the owning root-other typecheck and scoped lint pass, and P2 review is clean.
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 18, 2026
…aw#175673) Remove unused API surfaces after the canonical-owner cutovers in openclaw#175577, openclaw#175069, openclaw#175517 and openclaw#175538. Current Add deletion admission, credential authority, provider sanitization, reserved-key filtering, workspace exclusion and package lease checks stay at their live owners. Register the two live Gateway benchmark subprocess fixtures. Make internal dependency-evidence helpers and provenance types private; remove obsolete test-only surfaces while preserving explicit probe, warning-cache and 2000-character compaction assertions. Proof: 504 distinct focused cases validated with --maxWorkers=1. The migrated auth-reader fixture initially failed while its synchronous close was still draining; await the existing async close owner, then rerun only its two cases successfully. Core/scripts and five owning type graphs, scoped lint, format and final P2 review pass. Full-tree/script export and unused-file scans pass. Production deadcode still reports only the seven diagnostic hooks retained by openclaw#175223 and @modelcontextprotocol/client retained by openclaw#175254. No ignores or baseline increases. The all-graph selector reports existing root-count budgets; explicit owning compiler graphs passed without changing that budget.
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 18, 2026
The OpenRouter serialization fixture captured its host before loading the plugin. Loading can install the agent transport host, so cleanup restored an older host while leaving the one-shot installer cached. Later simple completion tests then lost endpoint inference and sent generic OpenAI reasoning_effort fields to GLM and DeepSeek routes. Capture the host after plugin registration and before the test override. Keep all serialized-request assertions and production thinking policy. The failure appeared after openclaw#175673 and reproduces with the two suites combined; reverting openclaw#175673 makes the same pair pass. The fixture lifecycle bug originated in openclaw#175267. Both standalone controls pass, confirming the shared-worker dependency. The repaired pair passes all 22 cases, the owning root-other typecheck and scoped lint pass, and P2 review is clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main's dependency checks report internal exports left behind by completed ownership and test migrations. This removes the unused surfaces, keeps live checks at their canonical owners, and registers the two Gateway benchmark subprocess fixtures that a computed path had hidden from Knip. No ignores, weaker assertions, retries, or longer timeouts are added.
The safety-sensitive removals were checked against the caller-removal commits and PR bodies:
add-stateless.tsand retains current lease authority.The full-tree audit also removes an obsolete iMessage setup re-export and a Telegram test type. It makes the existing iMessage probe assertion and warning-cache test import explicit so Knip can see their real consumers. #175576's dependency-evidence helpers remain live inside their generator and become private. The compaction test retains the same independent 2,000-character bound.
Related overlap: #175656 changes fresh-agent identity adoption in
candidate-stores.ts; it does not resolve the unused synchronous API. Its identity-adoption fix should be retained if that PR lands first.Local validation:
--maxWorkers=1.closeOpenClawAgentDatabaseByPathAsync. Only the affected file was rerun after that correction; both cases pass (26.70 s wall). The other focused batches pass in 207.89 s and 258.63 s.deadcode:exports: script and full-tree scans pass; production scan reports only the retained hooks below.deadcode:dependencies: only the retained hooks and dependency below.deadcode:unused-files: both scans pass.git diff --checkpassed. Final independent P2 review is clean.The initial changed-path type selector fell back to all test graphs for the config change and reported existing root-count limits (gateway-root 728 and infra 736 versus 720). This patch adds no test roots and changes no type inventory/budget. That queued broad compilation was stopped; explicit canonical owning graphs supply the scoped type proof. The seven diagnostic reset hooks retained by #175223 and the root
@modelcontextprotocol/clientdependency retained by #175254 are intentionally untouched. They continue to make the corresponding production deadcode checks exit 1; new findings must not be confused with those accepted rows.