Skip to content

chore(syntropy): delete dead findUsersByName (oc-hygiene #3) - #27

Merged
supmo668 merged 1 commit into
mainfrom
mangyinm/oc-hygiene-3-dead-code
Jun 21, 2026
Merged

supmo668 merged 1 commit into
mainfrom
mangyinm/oc-hygiene-3-dead-code

Conversation

@supmo668

Copy link
Copy Markdown

Release-prep hygiene #3 of 8. Deletes exported-but-dead findUsersByName (zero callers, never wired). UserRow kept. tsgo clean, 0 repo-wide refs, lint/format clean, sealed 38/38 unchanged. QGR a61d669. CTO code-reviewed + receipt-verified.

…sersByName (oc-hygiene #3)

findUsersByName was exported with a doc claiming a 'local DB fallback when the
SJ API is unavailable', but had ZERO callers and no test — the advertised
fallback was never wired (the !identify path uses lookupUserByName/HTTP only).
Delete it. UserRow (used by other fns) is kept.

Regression proof (dead-code removal): tsgo clean (no dangling refs) + grep
confirms zero references repo-wide; oxlint 0/0; oxfmt clean.

Generated-With: Claude Code
Co-Authored-By: openclaw <[email protected]>
Co-Authored-By: Claude <[email protected]>
@supmo668
supmo668 merged commit 9a00e39 into main Jun 21, 2026
@coderabbitai

coderabbitai Bot commented Jun 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@supmo668, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 45 minutes and 30 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 1ddd395d-ddab-46c6-ba00-7abb28bb2bf0

📥 Commits

Reviewing files that changed from the base of the PR and between ec9e930 and f0f6818.

📒 Files selected for processing (1)
  • extensions/persist-user-identity/src/db.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mangyinm/oc-hygiene-3-dead-code

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

Copy link
Copy Markdown

⚠️ Formal models conformance drift detected

The formal models extracted constants (generated/*) do not match this openclaw PR.

This check is informational (not blocking merges yet).
See the formal-models-conformance-drift artifact for the diff.

If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there.

@supmo668
supmo668 deleted the mangyinm/oc-hygiene-3-dead-code branch October 17, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant