Replies: 9 comments 11 replies
-
Another item on the list of things done in the big PR #76 that we're not planning for the immediate future (especially in this case as there's nobody on team that is clear about how exactly version-controlled database migrations are supposed to work):
|
Beta Was this translation helpful? Give feedback.
-
And another item along these same lines:
|
Beta Was this translation helpful? Give feedback.
-
Unfortunately, work on backscope seems to be completely stymied because I can't seem to install cysignals at all anymore: see sagemath/cysignals#175. So we may not be able to make any progress on numberscope until that is resolved. |
Beta Was this translation helpful? Give feedback.
-
OK, I was being a bit pessimistic. By using the frozen requirements at an earlier version of Cython it should be possible to get cysignals/cypari2 to install. I will try to get that working and create a PR. |
Beta Was this translation helpful? Give feedback.
-
OK, I have created PR #80 that implements the first checkbox in the initial post of this discussion. Kate, when you get a chance to review it, it would be great if you could blow away your clone of backscope completely and go through the whole installation process on your laptop as described in the new documentation (except no need to re-do the PostgreSQL stuff, you should be able to use your existing PostgreSQL installation, database user, and database.) Of course I welcome your comments on the documentation changes as well. Look forward to hearing from you if we finally have a cut-and-dried, reliably working install process for backscope. I think I will wait to work on the next item in this trajectory until we get #80 (or an improved version of it if need be) merged. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I will work on adding some sort of end-to-end test, a simple unit test, and docs on testing backscope. |
Beta Was this translation helpful? Give feedback.
-
I have updated the checklist in the beginning of this conversation in light of the successful merge of #84, finishing one of the tasks, the full realization that some of the dependencies were extremely out of date with known security vulnerabilities, and the discovery that production scripts are no longer correct and must be updated to keep production in sync with development. Also note that once #94 is merged, we will all be obliged to use the |
Beta Was this translation helpful? Give feedback.
-
OK, making progress on the next checkbox, I have approved and merged all of the dependabot PRs, and generated a new PR that updates to the current Cython 3, significantly simplifying the install script. But as it's a fairly major change, that new PR #96 definitely needs independent review before merging. |
Beta Was this translation helpful? Give feedback.
-
Excellent, another box checked off. Next up is #93, necessary so we can put those new packages into production. This one will be a bit of a pain. Kate, I think you and I are currently the only ones with server credentials and some slice of time to work on this. So ideally one of us would update the scripts, and the other one of us would test them by putting them into production and then beating on the server and making sure it works. But Kate, not sure if you feel comfortable with either of those tasks. If not, the alternative would be for me to write the scripts and file a PR, and then prep to switch over the production server, and then sometime we are both available like at a weekly meeting, I could make the switchover and you (and Aaron if present) could beat on the server to verify all is OK with it. Let me know your thoughts of how to proceed. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Returning to the numberscope project after a roughly a semester's hiatus, it seems as though the place that needs work first is the back end, in part because of wanting to get the benefits promised in #76, which won't be merged directly, through an orderly sequence of PRs.
Looking at the features mentioned in the description of that PR, here's a list of possible features/fixes to tackle, and a possible order:
This should be pretty straightforward, and the Ubuntu installation steps should be testable simply by trying to replicate the installation. Would address docs: update
README
with comprehensive install steps #73, andpossibly clarify docs on resetting the database #68 and Add command to get the backscope log to the server admin guide #55.[Didn't address either of those in the end, so just leaving them in the issue queue and checking this one off.)Really valuable for all future modifications, so sooner is better than later. Would address Need testing sufficient at least for dependabot PRs #11
Take advantage of existence of tests to get past some very old dependencies with known security issues
Right now it is impossible to keep production in sync with current backscope code, but we need them to track each other closely as we address the fundamental problems with backscope. So this is top priority once we have an updated system to install.
I think this is the piece that attempts to address when crawling too fast, backend gets stuck on disallowed sequence even when crawling is allowed again #69, which was one of the real motivations for change here. If not, then after we extract this part of the big PR, we should then go on to when crawling too fast, backend gets stuck on disallowed sequence even when crawling is allowed again #69.
I think that's sufficient to get us back to working on the front end. Of course we will have to see if the sequence access errors in the production instance go away at that point.
Note the above possible plan does not address the following elements that were apparently part of the big PR #76; I mostly have no objection to any of them, if it was done as a single, self-contained PR. But I don't think any of them is necessary for proper operation of the backend, and none of them have any immediate payoff. They mostly lay the groundwork to ease further development. Hence the necessity of them at a time when we think it's unlikely there will be a lot of change in the backend is unclear.
Have I missed anything that should be done before we leave the backscope be for a bit and re-focus on the frontscope? Thanks for your thoughts and reactions.
Beta Was this translation helpful? Give feedback.
All reactions