Skip to content

[$250] Incorrect Environment Attribute Sent for Staging Sessions #53892

Closed

Description

@m-natarajan

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number:
Reproducible in staging?: Needs Reproduction
Reproducible in production?: Needs Reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @anmurali
Slack conversation (hyperlinked to channel name): expensify_convert

Action Performed:

  1. Access a session where the user email matches the staging format: fullstory+anythinghere@applause.expensifail.com.
  2. Review the session details in FullStory.
  3. Observe the environment attribute.

Expected Result:

The environment attribute should accurately reflect the session's environment

Actual Result:

The environment attribute is incorrectly sent as production for users in the staging environment.

Full story session 1: https://app.fullstory.com/ui/o-1WN56P-na1/session/7395325973731847182:3405186692023031824!2964539090019794224

Full story session 2: https://app.fullstory.com/ui/o-1WN56P-na1/session/7395325973731847182:3405186692023031824!5533265545364867276

Segment in FS: https://app.fullstory.com/ui/o-1WN56P-na1/segments/h0mEJnfRoBYS/people/0?template=watch-sessions&completeSessions=false
( found 6600 in the last 30 days.)

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021866822636661001653
  • Upwork Job ID: 1866822636661001653
  • Last Price Increase: 2024-12-11

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Dec 10, 2024
  2. melvin-bot commented on Dec 10, 2024

    @melvin-bot

    Triggered auto assignment to @greg-schroeder (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. MelvinBot commented on Dec 10, 2024

    @MelvinBot
    Contributor

    This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

  4. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Dec 11, 2024
  5. melvin-bot commented on Dec 11, 2024

    @melvin-bot
  6. changed the title [-]Incorrect Environment Attribute Sent for Staging Sessions[/-] [+][$250] Incorrect Environment Attribute Sent for Staging Sessions[/+] on Dec 11, 2024
  7. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Dec 11, 2024
  8. melvin-bot commented on Dec 11, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @ZhenjaHorbach (External)

  9. removed
    Help WantedApply this label when an issue is open to proposals by contributors
    on Dec 11, 2024
  10. 42 remaining items

  11. greg-schroeder commented on Jan 13, 2025

    @greg-schroeder
    Contributor

    Bump @anmurali :)

  12. greg-schroeder commented on Jan 16, 2025

    @greg-schroeder
    Contributor

    I'll ping in the room

  13. melvin-bot commented on Jan 20, 2025

    @melvin-bot

    @danieldoglas, @greg-schroeder, @ZhenjaHorbach Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  14. danieldoglas commented on Jan 20, 2025

    @danieldoglas
    Contributor

    oh I think I figured out.

    Once we set a property, it never changes unless we manually change it. The properties.environment was deprecated, and now we should be using only environment. If you look for environment only, then you'll see that only the test account is being listed with it.

    But for all users that used the old version of the app, properties.environment is still filled with old values. That means that any user that had staging as their environment at that point would still show as staging, but their current environment is showing production.

    I think we can safely close this!

  15. ZhenjaHorbach commented on Jan 20, 2025

    @ZhenjaHorbach
    Contributor

    @danieldoglas
    Maybe we need to fix this ? 😀

    #53892 (comment)

  16. danieldoglas commented on Jan 20, 2025

    @danieldoglas
    Contributor

    I don't think that's needed, we have control over that expensifail.com domain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorNeeds ReproductionReproducible steps needed

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions