Skip to content

fix: provider dead exports no longer block changed checks - #108592

Merged
steipete merged 3 commits into
mainfrom
codex/ci-provider-export-cleanup
Jul 16, 2026
Merged

steipete merged 3 commits into
mainfrom
codex/ci-provider-export-cleanup

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Related: #108543

What Problem This Solves

Resolves a CI failure where the provider dead-export gate reports private or test-only exports across Codex, GitHub Copilot, OpenAI, OpenCode, and OpenRouter, blocking unrelated changes that need the changed-file gate.

Why This Change Was Made

Keeps only production-owned exports: private helpers are internalized, obsolete test facades are deleted, and tests now exercise registration, provider, and auth seams that production actually consumes. OpenAI OAuth logic is split into focused production modules so real runtime consumers remain explicit. No Knip exemption or broad entry-file allowlist is added.

User Impact

No user-visible behavior change. Maintainers regain a clean dead-export baseline, and unrelated PRs such as the APNs SQLite migration can run the normal changed-file checks without inheriting provider export debt.

Evidence

  • Blacksmith full changed gate: green (typecheck extensions, typecheck extension tests, extension/script lint, database-first guard, import-cycle guard, and all targeted guards): https://github.com/openclaw/openclaw/actions/runs/29469200354
  • Focused suites: 262 tests green across Codex, misc, OpenAI, and provider shards; follow-up contract fixes: 52 + 31 + 13 tests green.
  • node scripts/check-deadcode-unused-files.mjs: green; only the existing 23 intentional allowlist entries remain.
  • node scripts/check-deadcode-exports.mjs: 0 entries.
  • Final autoreview: clean, no accepted/actionable findings.

No changelog entry: internal CI/test-surface cleanup only.

@steipete
steipete merged commit e7cba0e into main Jul 16, 2026
166 of 169 checks passed
@steipete
steipete deleted the codex/ci-provider-export-cleanup branch July 16, 2026 05:33
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 16, 2026
…08592)

* fix(ci): clean provider dead exports

* test(extensions): satisfy provider contract types

* refactor(openai): tighten provider runtime factory
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
…08592)

* fix(ci): clean provider dead exports

* test(extensions): satisfy provider contract types

* refactor(openai): tighten provider runtime factory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant