You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(logs): deprecate the --end-user-only flag - #644
The Backend API now ignores end_user_facing_only, so clerk logs --end-user-only returns every event while looking like a filtered result. This keeps the flag working but marks it deprecated in the help and README, and prints a warning when someone passes it.
No actionable comments were generated in the recent review.
Walkthrough
The logs list and get commands now describe --end-user-only as deprecated. When the option is set, filter resolution logs a warning and still adds end_user_facing_only=true. Tests cover the warning and parameter behavior. The logs documentation and changeset describe the deprecation.
clerk/cli#615: Introduces the event filter flags and the resolveFilters mapping that this change updates.
Merge Risk: Minimal · up to ae205
This change marks the logs --end-user-only flag as deprecated and prints a warning when it is used, while the flag still works as before. No meaningful merge risk remains.
Pre-merge checks: 4
Check name
Status
Explanation
Description check
The description states the reason for the change: the Backend API ignores end_user_facing_only, so the flag returns all events. It also says the flag stays functional, is marked deprecated in the he…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Title check
The title "chore(logs): deprecate the --end-user-only flag" matches the main change. The changeset, README, filters.ts, filters.test.ts, and index.ts all mark --end-user-only as deprecated, and the fl…
Full details: Description check
Explanation
The description states the reason for the change: the Backend API ignores end_user_facing_only, so the flag returns all events. It also says the flag stays functional, is marked deprecated in the help and README, and prints a warning. These points match the changed files. The description also links the ticket CORE-4466.
Full details: Title check
Explanation
The title "chore(logs): deprecate the --end-user-only flag" matches the main change. The changeset, README, filters.ts, filters.test.ts, and index.ts all mark --end-user-only as deprecated, and the flag now prints a warning. The prefix "chore" is a minor mismatch for a user-facing deprecation, but the title still describes the primary change accurately.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning
Linked repositories: This review skipped 6 repositories. Cross-repository analysis may be incomplete. Check linked repository access and settings.
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: ASSERTIVE
Plan: Team
Run ID: 7c20d13c-ea3e-4ea9-839a-49c4353bda98
Commits
Reviewing files that changed from the base of the PR and between 9880c58 and ae205a7.
Included review availability: This review used your included allowance. 9 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour.
Head help says 'Deprecated: has no effect' and the run prints the deprecation warning; base did neither. The request still carries end_user_facing_only=true, and no warning appears without the flag.
Merge-base
This PR ae205a77
Proof on ae205a77 · Did Proof get it right? Yes · No
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
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.
The Backend API now ignores
end_user_facing_only, soclerk logs --end-user-onlyreturns every event while looking like a filtered result. This keeps the flag working but marks it deprecated in the help and README, and prints a warning when someone passes it.Relates to CORE-4466