Open mountiny opened 4 months ago
Moving this to critical to include it in the daily updates
The proposal got enough support so we can move ahead. I will plan to make a short predesign for this project, but my week is broken up with moving stuff from Scotland to Czechia and short planned holiday. I expect to make more progress next week, but I will attempt to have the predesign out by EOW, early next week the latest.
@mountiny Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Gonna pick this back up this week once the performance is in better place
Looking into a predesign for tomorrow
Deployer duties took over, still on my list
The predesign was posted on Friday, going to sum it up to the doc this week
Aiming for EOW still
Violations doc is out, I havent made much progress yet on this, but will ship this on Monday
@mountiny Whoops! This issue is 2 days overdue. Let's get this updated quick!
Working on the high level still, aiming to have it mostly ready today
Sent the design doc for high-level review
:wave: Hello Generalist Track Team - you have been assigned to review this High Level Design Doc. Check out this Stack Overflow for some tips on reviewing a design doc. Once you are done, simply press the Add "Reviewed Doc" comment
button in the right hand side K2 panel or follow these instructions.
@slafortune
(Expensifier / Graduate) - https://github.com/Expensify/App/issues/43100@abekkala
(Expensifier / Graduate) - https://github.com/Expensify/App/issues/43101@zsgreenwald
(Project Manager) - https://github.com/Expensify/App/issues/43102@coleaeason
(Project Manager) - https://github.com/Expensify/App/issues/43103@twisterdotcom
(Product Manager) - https://github.com/Expensify/App/issues/43104@MitchExpensify
(Product Manager) - https://github.com/Expensify/App/issues/43105@davidcardoza
(Generalist) - https://github.com/Expensify/App/issues/43106@AndrewGable
(Generalist) - https://github.com/Expensify/App/issues/43107@heyjennahay
(Accounting Technical Team) - https://github.com/Expensify/App/issues/43108@danielrvidal
(Marketing Team) - https://github.com/Expensify/App/issues/43109I have read and reviewed this Design Doc!
I have read and reviewed this Design Doc!
I have read and reviewed this Design Doc!
I have read and reviewed this Design Doc!
I have read and reviewed this Design Doc!
I have read and reviewed this Design Doc!
Reviews trickling in
I have read and reviewed this Design Doc!
I have read and reviewed this Design Doc!
reviews still coming in
I have read and reviewed this Design Doc!
I have read and reviewed this Design Doc!
I have read and reviewed this Design Doc!
I have read and reviewed this Design Doc!
Working through the comments and I will work on the detailed section
I have read and reviewed this Design Doc!
I have read and reviewed this Design Doc!
@mountiny Eep! 4 days overdue now. Issues have feelings too...
Nailing down the last remaining things in #fast-apis from the high level comments before heading to the detailed section.
We are mostly agreeing on the threads now. We want to make sure we can send the same update/ text to everyone (so we can use pusher report channel), and keep the reporti the next steps inside the report object with nextSteps
.
There is a project that should ideally come before this in implementation https://docs.google.com/document/d/1mUUQzep18IWdZpwG6Qqtw9JH0dvLMvLXh-KTn_B51I4/edit we are simplifying the next steps/ doing audit and as part of that we are focusing on updating the copy so the same message can be shown to every participant of the report such that is makes sense who needs to do what.
We are going to get that ready to review by Monday
I have read and reviewed this Design Doc!
Update:
Same as above, getting through the audit
@mountiny Eep! 4 days overdue now. Issues have feelings too...
Working on updating the next steps based on the audit project. Also going to loop in another engineer for help with this project
Still proceeding with the next steps audit, @dangrous is going to take over this migration detailed doc and implementation
@mountiny Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
@dangrous is joining the team, we are getting through the copy update for now, midway implementation there
Working on the PRs! There's a bit of clarification needed but comments are left in the doc, we should be able to keep moving shortly. We may also need one additional cleanup PR at the end, both to fix some edge cases but also to DRY up and simplify the code that touches all cases, once everything's simplified!
@dangrous, @mountiny Whoops! This issue is 2 days overdue. Let's get this updated quick!
Getting through the report audit and then we can move ahead with the migration
Almost done with the simplification/audit, then can move forward with this
Nearly done! Should be ready to move forward with the detailed design next week
I believe all PRs for the simplification are now merged! Will be able to continue work on the migration details this week in hopes of getting it ready to go for once violations are migrated. I'll have a better ETA on the details once I start working on that - right now focusing on finishing up the Copilot design doc
Finishing up some minor changes to copy - https://github.com/Expensify/Web-Expensify/pull/42950
Not overdue, the simplification is just waiting on new tests, and then we can start shifting attention to this. We're also still waiting for the violations migration so I may switch this to Weekly for a little bit, since the pressure is a bit off. Let me know if you disagree!
Whatsnext post here.
Design doc https://docs.google.com/document/d/1gUDVqDdDj0jVOIuFBqPr0D6-vnClB-iztl38PzsiBqE/edit
GH Project https://github.com/orgs/Expensify/projects/154/views/1 CAP issue https://github.com/Expensify/Expensify/issues/406189
Proposal Migrate the report next steps from PHP to Auth
Problem Report next steps are currently calculated on the fly in PHP and are not stored in a database. This means that any commands using report next steps cannot be implemented following the true 1:1:1 API philosophy at the moment. We cannot queue report next steps updates in Auth because we must wait for an Auth command response to trigger the calculation of updated next steps in PHP. Only then can the update be pushed to relevant clients.
Similar to the case of violations, this leads to multiple Auth calls being made during a single API request, breaking the 1:1:1 rule. Many commands are slowed down due to the report next steps computation triggering multiple Auth calls. For example, any action that changes the state or status of a report will trigger a new next step computation. These may be computed multiple times per report as each participant of the expense report might receive different next steps.
It's worth noting that in order to support optimistic and offline calculation of some report next steps, we've implemented the core collect workspace next steps logic in the front-end code of NewDot.
While this project should only focus on migrating what we have from PHP to Auth, it is important to note that this migration is likely to be critical for ensuring that important upcoming projects are 1:1:1-compliant, such as the Search page, where we need to compute the next action for a report efficiently.
Solution At a high level, the solution is to move report next steps to Auth; however, the details need to be fleshed out through predesign and a design document.
At minimum, we should discuss:
cc @JmillsExpensify @cead22
Tasks
#whatsnext
strategy@expensify.com
and paste in the Proposalstrategy@expensify.com
(continue the same email chain as before - your last message should be the WN Proposal) with the link to your Design Doc containing your high-level problem and solutionDesignDocReview
label to get the High-level overview of the problem and High-level of proposed solution section reviewedDesignDocReview
label to this issuestrategy@expensify.com
one last time to let them know the Design Doc is moving into the implementation phasestrategy@expensify.com
once everything has been implemented and do a Project Wrap-Up retrospective that provides:Issue Owner
Current Issue Owner: @dangrous