Skip to content
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 2025-01-02] Debug Mode - "Create" button flash after creating a violation #53027

Closed
2 of 8 tasks
IuliiaHerets opened this issue Nov 23, 2024 · 43 comments
Closed
2 of 8 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Nov 23, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: v9.0.66-0
Reproducible in staging?: Y
Reproducible in production?: Can't check as no Debug Mode on production
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Enable debug mode in Troubleshoot
  3. Open an expense thread (create one if you don't have any)
  4. Enter debug view then check on "View transaction" tab
  5. Go to "violations" > Create a violation and save it

Expected Result:

"Create" button does not flash after creating a violation

Actual Result:

"Create" button flash after creating a violation

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6673733_1732322393345.Screen_Recording_2024-11-23_at_3.31.20_at_night.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @slafortune
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Nov 23, 2024
Copy link

melvin-bot bot commented Nov 23, 2024

Triggered auto assignment to @blimpich (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Nov 23, 2024

Triggered auto assignment to @slafortune (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.

Copy link

melvin-bot bot commented Nov 23, 2024

💬 A slack conversation has been started in #expensify-open-source

@melvin-bot melvin-bot bot added the Daily KSv2 label Nov 23, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Nov 23, 2024
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@DylanDylann
Copy link
Contributor

cc @pac-guerreiro

@mountiny mountiny added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Nov 25, 2024
@mountiny
Copy link
Contributor

This is a debug feature only so not a blocker. @DylanDylann @pac-guerreiro please follow up on this one from your PR cc @puneetlath in case you want to take over as a CME too cc @fabioh8010

@pac-guerreiro
Copy link
Contributor

Hi! I’m Pedro Guerreiro from Callstack - expert contributor group. I’d like to work on this task!

@pac-guerreiro
Copy link
Contributor

@IuliiaHerets I wasn't able to reproduce this behaviour on latest main, can you test it again? 😄

Screen.Recording.2024-11-25.at.20.48.16.mp4

@DylanDylann
Copy link
Contributor

I still can reproduce this bug. @pac-guerreiro Could you please try again with some consecutive create?

Screen.Recording.2024-11-26.at.09.52.37.mov

@DylanDylann
Copy link
Contributor

Another bug I see on the debug feature:

Debug.setDebugData(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`, {[parsedReportAction.reportActionID]: parsedReportAction});

we use the set method but we don't add the previous data. It caused when adding new report action, all previous report actions will be removed

@IuliiaHerets
Copy link
Author

@pac-guerreiro Tester also can still reproduce the issue in the latest build

Screen.Recording.2024-11-26.at.3.26.36.at.night.mp4

@pac-guerreiro
Copy link
Contributor

Another bug I see on the debug feature:

Debug.setDebugData(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`, {[parsedReportAction.reportActionID]: parsedReportAction});

we use the set method but we don't add the previous data. It caused when adding new report action, all previous report actions will be removed

@DylanDylann nice catch! I think it should be addressed on a separate issue, can you create it?

@pac-guerreiro
Copy link
Contributor

@IuliiaHerets @DylanDylann

I'll try it again, but it's not an easy one 😅 Could you also try creating a report action to confirm if it also happens?

@pac-guerreiro
Copy link
Contributor

Today I didn't have the time to test this again. Tomorrow I'll take another look at it!

@IuliiaHerets
Copy link
Author

@pac-guerreiro Issue is reproducible, build v9.0.67-1

Screen.Recording.2024-11-27.at.1.20.29.at.night.mp4

@pac-guerreiro
Copy link
Contributor

@puneetlath @IuliiaHerets

All remaining issues addressed! Now waiting on @DylanDylann to do his magic 🪄

@pac-guerreiro
Copy link
Contributor

@puneetlath @IuliiaHerets

Today I resolved all conflicts in the PR 😄

@pac-guerreiro
Copy link
Contributor

@puneetlath @IuliiaHerets

Today I fixed the app crash reported by @DylanDylann!

I'll be away until January 2nd but someone should take care of my work 😄 Happy holidays! 🎉

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Dec 26, 2024
@melvin-bot melvin-bot bot changed the title Debug Mode - "Create" button flash after creating a violation [HOLD for payment 2025-01-02] Debug Mode - "Create" button flash after creating a violation Dec 26, 2024
Copy link

melvin-bot bot commented Dec 26, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 26, 2024
Copy link

melvin-bot bot commented Dec 26, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.78-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2025-01-02. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Dec 26, 2024

@DylanDylann @slafortune @DylanDylann The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jan 2, 2025
Copy link

melvin-bot bot commented Jan 2, 2025

Payment Summary

Upwork Job

  • Contributor: @JKobrynski is from an agency-contributor and not due payment
  • Contributor: @pac-guerreiro is from an agency-contributor and not due payment
  • ROLE: @DylanDylann paid $(AMOUNT) via Upwork (LINK)

BugZero Checklist (@slafortune)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@puneetlath
Copy link
Contributor

@DylanDylann does this require payment or is it a regression from a previous PR?

@pac-guerreiro
Copy link
Contributor

@puneetlath this issue is not a regression 😉

@DylanDylann
Copy link
Contributor

@DylanDylann does this require payment

I think yes

@melvin-bot melvin-bot bot added the Overdue label Jan 6, 2025
@slafortune
Copy link
Contributor

@puneetlath do you have a milestone tracking that you are paying all these GH's related to debug mode?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jan 6, 2025
@puneetlath
Copy link
Contributor

Yes I do. Paid here: https://www.upwork.com/nx/wm/workroom/38901941

@DylanDylann I think we're done with the debug mode stuff and I can close that Upwork job out now. Is that right?

Copy link

melvin-bot bot commented Jan 10, 2025

@slafortune, @blimpich, @JKobrynski, @pac-guerreiro, @DylanDylann Whoops! This issue is 2 days overdue. Let's get this updated quick!

@DylanDylann
Copy link
Contributor

All done. Let's close this issue

@puneetlath
Copy link
Contributor

@DylanDylann shall I also close the Upwork job out now?

@DylanDylann
Copy link
Contributor

Yess

@puneetlath
Copy link
Contributor

Ok, all done. Thanks y'all!

@github-project-automation github-project-automation bot moved this from HIGH to Done in [#whatsnext] #quality Jan 13, 2025
@melvin-bot melvin-bot bot removed the Overdue label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering
Projects
Status: Done
Development

No branches or pull requests

8 participants