Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 26, 2025

Console switched to a new start trial flow where anonymous users are no longer needed. This removes all anonymous user infrastructure across the stack.

Console API

  • Remove /v1/anonymous-users routes and AuthTokenService
  • Remove REGULAR_ANONYMOUS_USER role and ANONYMOUS_FREE_TRIAL feature flag
  • Remove findAnonymousById from UserRepository
  • Remove anonymous user handling from auth.interceptor.ts and managed-signer.service.ts
  • Remove anonymousUserId from user registration flow
  • Remove ANONYMOUS_USER_TOKEN_SECRET from env config

Deploy Web

  • Remove AnonymousUserProvider, useAnonymousUserQuery, useStoredAnonymousUser
  • Remove withAnonymousUserToken interceptor
  • Remove anonymous_free_trial feature flag and all conditional UI logic
  • Remove anonymous auth cookie handling from signup/callback
  • Remove WelcomeToTrialModal component
  • Simplify withUserToken to always use proxy

HTTP SDK

  • Remove getOrCreateAnonymousUser, createAnonymousUser, getAnonymousUser from UserHttpService

Test Updates

  • Remove anonymous user test cases and seeders
  • Update component specs to remove feature flag mocking
Original prompt

This section details on the original issue you should resolve

<issue_title>Remove anonymous users feature</issue_title>
<issue_description>## Why

console switched to a new start trial flow where anonymous users are not needed anymore

What

Remove all occurrences of anonymous users:

  • creation on deploy-web (extra headers handling on signup via cookie)
  • routes on console-api (cleanup user.service.ts)
  • sdk methods/classes in http-sdk
  • remove feature flag for ANONYMOUS_START_TRIAL on deployweb and in console-api</issue_description>

Comments on the Issue (you are @copilot in this section)

@stalniy @baktun14 does it sound good?

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 26, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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

Copilot AI changed the title [WIP] Remove anonymous users feature from application Remove anonymous users feature Nov 26, 2025
Copilot AI requested a review from stalniy November 26, 2025 12:00
@stalniy
Copy link
Contributor

stalniy commented Dec 11, 2025

close it, since it has too many conflicts

@stalniy stalniy closed this Dec 11, 2025
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.

Remove anonymous users feature

2 participants