-
Notifications
You must be signed in to change notification settings - Fork 9
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
SQLAlchemy Prep: Surge on Query Updates #1538
Comments
Hey team! Please add your planning poker estimate with Zenhub @cris-oddball @edDocMe360 @EvanParish @k-macmillan @kalbfled @ldraney @nikolai-efimov |
Team meeting times have been planned for Monday and Tuesday 1:30 to 3:30 Eastern. |
We're all on the same page for updating:
We are tracking progress with a document. Most of the first few hours was just getting everyone setup and on the same page. Should be able to cruise now. |
All queries have been updated. We are working through addressing unit test failures then we will deploy and run the regression. |
Reviewed all PR comments and came to team consensus on each. Team is updating the PR based on the comments. |
Friday and today we addressed the remaining comments.
Will deploy to perf, regression test, then deploy to staging. |
Perf deployed, passes regression. Staging deployed, passed regression. Going to let it sit. |
Put this in QA testing for now. It is not merged. Giving it some time in staging to see if anything goes sideways. |
Dug through all logs over the last 24 hours in staging.
The only other part to check are the stats query results. Would like to work with @cris-oddball, @EvanParish, and @mjones-oddball when they get back to validate the stats. |
Another bug appears to exist between a Twilio notification being added to the DB and a lookup on that notification. Requires further investigation. |
Cris and I confirmed stats and billing data looked good |
Updated with master (python 3.10/alpine upgrade). Wrote a new method for the delivery status and wrote 44 tests (2 methods with 27 and 17 parameterizations) for the new method. |
Co-authored-by: EvanParish <[email protected]> Co-authored-by: Kyle MacMillan <[email protected]> Co-authored-by: Nikolai Efimov <[email protected]> Co-authored-by: Kyle MacMillan <[email protected]>
PR approved and merged; master sent up to Perf. Just going to let it bake there over the weekend after running a regression. |
Regression passes, expected data in BQ, no errors seen in logs over the weekend. Given the testing this went through in staging, calling it good and closing ticket. |
User Story - Business Need
A pre-requisite to #1225 (SQLAlchemy Upgrade) is to update all the queries. We'd like a team surge on this as there will be many folders and files to update within the API codebase.
User Story(ies)
As a platform
I want to keep my packages up to date
So that we avoid vulnerabilities and can use the latest functionality
Additional Info and Resources
Starter files to jump into:
Current workload:
Private Zenhub Image
1436 has cleared around 60 of those queries.
Engineering Checklist
Acceptance Criteria
\.query(\.|\()
returns nothing.query.
or.query(
- [ ] All select queries use read-only where appropriateEnded up being too much work just to convert everything. Read-only will be setup as-needed.QA Considerations
The text was updated successfully, but these errors were encountered: