Repository navigation
fix(ci): keep member welcome internals private - #199789
Conversation
|
🦞👀 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 Summary: ✅ CompletedThis 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. |
|
Codex review: needs maintainer review before merge. What this changesThis PR makes three member-welcome implementation symbols private and gives the existing tests an independent expected preference key. Example: Sam answers the member welcome step.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is a focused, behavior-preserving cleanup with no actionable findings; ordinary CI remains pending. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI member-welcome owner reads Gateway identity and profile preferences, then exposes welcome state and dismissal operations to the UI. flowchart LR
A[Gateway identity] --> C[Member welcome owner]
B[Profile preferences] --> C
C --> D[Welcome UI]
D --> E[Answer operation]
E --> B
Technical reviewBest possible solution: Keep the implementation details private while retaining the existing owner operations, behavior, and preference contract. Do we have a high-confidence way to reproduce the issue? Source inspection confirms unnecessary exports; no product behavior changes, and no target code was executed during this read-only review. Is this the best way to solve the issue? Removing the export modifiers is the smallest complete fix, and the independent test key strengthens the existing preference contract without adding machinery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 284f555a2588. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
PR surfaceSource 0, Tests -2. Total -2 across 2 files. 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 15, 2026, 5:45 PM ET / 22:45 UTC. |
|
Merged via squash auto-merge.
|
What Problem This Solves
Fixes three unused-export findings in the Control UI member welcome owner from scheduled CI 43757993450.
User Impact
No user-visible change. Member welcome behavior and its stored preference key stay the same.
Why This Change Was Made
Keep the owner's internal helper, welcome shape, and preference constant private. The existing owner tests now use the expected preference key independently, preserving their read/write contract checks without exporting an implementation detail.
Evidence
The baseline export scan reports all three UI symbols. With this change, production and full-tree scans report no UI findings; the command still exits 1 for nine unrelated state/storage exports outside this repair's scope.
All eight existing member welcome tests pass, along with default tsrs UI and affected test typechecks, scoped lint/format, and diff checks. Complete-context isolated P0–P2 autoreview of the final local candidate against main found no actionable issues. Local ClawSweeper was unavailable. The production delta removes three export modifiers; the test imports only the public owner operations. No runtime logic, ignores, baselines, or assertions changed.