fix(frontend): include destroyed when counting actors#3965
fix(frontend): include destroyed when counting actors#3965jog1t wants to merge 1 commit into01-17-fix_website_invalid_importfrom
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Merge activity
|
PR Review: fix(frontend): include destroyed when counting actorsSummaryThis PR makes two frontend improvements:
Code Quality ✅Positive observations:
AnalysisChange 1: Include destroyed actors in countclient.actorsList({
namespace,
name,
limit: 1,
+ includeDestroyed: true,
})Purpose: The code at Question: Is including destroyed actors the desired behavior for this count? Consider:
Change 2: Enhanced PostHog analytics-posthog.capture("onboarding_skipped");
+posthog.capture("onboarding_skipped", {
+ project: params.project,
+ namespace: params.namespace,
+});Good: Adding context to analytics events is a best practice. This will help track which projects/namespaces are skipping onboarding. Potential Concerns
Security ✅No security concerns identified. The changes don't introduce any new attack vectors. TestingRecommendation: Consider testing:
VerdictLGTM ✅ - The changes are clean and focused. The only suggestion is to verify that including destroyed actors is the intended behavior for all consumers of this count. |
Graphite Automations"Test" took an action on this PR • (01/17/26)1 assignee was added to this PR based on Kacper Wojciechowski's automation. |

No description provided.