-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOLD for payment 2023-03-28] Make sure attachments are fetched from appropriate servers #15087
Comments
Triggered auto assignment to @zanyrenney ( |
Bug0 Triage Checklist (Main S/O)
|
@kidroca Do you want to get assigned to this and work hourly for this issue? |
Yes! |
Chatted to @mountiny in DM - I can unassign as kidroca has their own contract with expensify for bug fixes! |
Found another discrepancy here: Right now on DEV the staging toggle defaults to ON on DEV this toggle does not have any effect - we're always using the PROD server The Use Staging Server toggle only works on staging, where you can use it to toggle between the prod and the staging server I think if the toggle does not work to change the underlying api (on DEV) we should not render it at all, or at least render it disabled |
This is correct and it is expected although I agree it is misleading. On dev you change contents of .env file to change the API. I think we should hide the toggle on dev personally |
PR is ready for review: |
@kidroca Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
PR ready for review But we found that it has overlapping with another PR so we started a discussion there |
@kidroca Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@kidroca Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
The PR was on hold, but is unblocked now: I have to address some minor items from the latest review |
@kidroca Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
PR is ready and reviewed @mountiny I think some minor changes dismissed your approval |
Regression Test Proposal
|
Looking good, thanks! @zanyrenney would you be able to pay $1000 to @s77rt please? |
Bumping this one @zanyrenney |
Zany is ooo so asking internally for someone to help complete the payment here. |
On it - @s77rt here's job to apply to! https://www.upwork.com/jobs/~014a7129dead94e399 |
@dylanexpensify Applied. |
offer sent!! |
Accepted |
Paid and contract ended! RT issue here! Thanks for playing y'all! |
Issue reproducible with Windows10/Chrome Recording.2884.mp4 |
didn't mean to close the issue. |
@lanitochka17 @zanyrenney I think this is working as expected, the url is pointing to the staging server. Please note that the url can either be |
What @s77rt said in their reply is correct (thank you ❤️):
@lanitochka17 when you are on The actual bug we fixed here was that staging attachments were served from @zanyrenney I think we can close this one |
Awesome. Thank you @kidroca for the detailed explanation here. Closing this out. |
Coming from here
Problem
Chat attachments are loaded from API not matching the client environment. So you can be on Staging app but the chat attachment is loaded from production
Why is it important
Environment inconsistency can make it harder to find regressions and can introduce some unexpected ones in one deployment cycle
Solution
Make sure the production App loads the chat attachments from production api and staging from appropriate api server. cc @kidroca
The text was updated successfully, but these errors were encountered: