Repository navigation
fix(ci): clear unused OAuth store export after peer settlement move - #198318
Conversation
Peer settlement moved into oauth-store in #198214, leaving the helper without an external consumer. Remove only its unused export; preserve the internal call and all credential settlement behavior. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
|
Codex review: needs maintainer review before merge. What this changesRemoves the export modifier from an OAuth settlement helper whose only caller is in the same module. Example: The unused-export audit examines resolveAuthoritativeSharedOAuthCredentialUnderLock.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is a useful, minimal cleanup of an unused internal export. No correctness or security findings; the aggregate CI gate remains pending. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe OAuth store receives refreshed credentials, validates the authoritative shared credential, and settles peer claims through the existing persistence owner. flowchart LR
A[OAuth manager] --> B[Peer settlement operation]
B --> C[Private shared credential helper]
C --> D[Auth profile store]
B --> E[Peer claim settlement]
Technical reviewBest possible solution: Keep the existing settlement implementation and internal caller, removing only the obsolete export. Do we have a high-confidence way to reproduce the issue? Source inspection confirms an exported helper with no external consumers on fetched main; the dependency audit was not run during this read-only review. Is this the best way to solve the issue? Removing the export modifier is the smallest complete fix and preserves the existing credential settlement owner, implementation, and caller. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a48a3175600e. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource 0. Total 0 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 13, 2026, 10:06 AM ET / 15:06 UTC. |
|
Merged via squash.
|
Peer settlement moved into oauth-store in openclaw#198214, leaving the helper without an external consumer. Remove only its unused export; preserve the internal call and all credential settlement behavior. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
What Problem This Solves
Fixes the main dependency/export check reporting an unused OAuth store export after #198214 moved its last external caller into the store.
User Impact
No user-visible or credential behavior change. Only an obsolete module export is removed.
Why This Change Was Made
resolveAuthoritativeSharedOAuthCredentialUnderLockis now called only within oauth-store.ts. Keep its implementation and same-module call; remove its export modifier. No gate, allowlist, dependency or baseline changes.The separate
RELEASE_VALIDATION_WAIVERSfinding is owned by #198306, not duplicated here. The earlier PostgreSQL finding repaired by #198270 is absent from the new log.Evidence
Worked on by
Work sessions
Linked for team reference; these sessions aren’t public.