Skip to content

Conversation

Siddhant-K-code
Copy link
Member

Description

This PR updates the setHashedUserIdCookie method in the analytics controller. The changes include:

  • Adding a server-side implementation to determine the appropriate domain for setting the cookie based on the request hostname

Followup of #20226

Related Issue(s)

Fixes https://github.com/gitpod-io/gitpod/pull/20226/files#r1763283486

How to test

Documentation

Preview status

gitpod:summary

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft preemptible
    Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

This commit updates the setHashedUserIdCookie method in the analytics controller. The changes include:
- Adding a server-side implementation to determine the appropriate domain for setting the cookie based on the request hostname
@Siddhant-K-code
Copy link
Member Author

/unhold

Copy link
Member

@filiptronicek filiptronicek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left one comment, otherwise LGTM 🚀

@Siddhant-K-code
Copy link
Member Author

/unhold

Co-authored-by: Filip Troníček <filip@gitpod.io>
@Siddhant-K-code
Copy link
Member Author

/unhold

@roboquat roboquat merged commit d5208cb into main Sep 18, 2024
17 of 18 checks passed
@roboquat roboquat deleted the siddhant/followup-20226 branch September 18, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants