-
Notifications
You must be signed in to change notification settings - Fork 0
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
Document use of SQL Runner #16
Comments
Note that with latest ideas for dummy data generation, this might one day be possible. |
I think that the "latest ideas for dummy data generation" are that Data Builder could write a directory of CSV files that represent L2-like data (Slack thread). We could point SQL Runner at these files, to reduce the need to do development within a backend. A study would probably include a Data Builder action in the pipeline, even though we'd not run that action in a backend: we'd run that action locally, when doing development locally. |
We discussed this issue during today's team meeting; our discussion was prompted by this Slack thread. Summary of the Slack threadMy straw man proposal was "Don't use SQL Runner for new projects". Peter and I followed this up with "For each new project (i.e. a project that isn't a translation of an existing project), write a short summary and explain why the new project needs to use SQL Runner. Ask for sign off on the short summary before starting work on the new project". Dave suggested that people with L2 (i.e. database) access shouldn't need to write a short summary and ask for sign off, because they already had the means and permission to query the database directly. Summary of the discussionThe short-term need is to clarify who should use SQL Runner, when, and why. The (potential) medium-term need is to clarify who should have access to L2, L3, and L4. Ideally, we'd like only people with L2 access to be able to use SQL Runner; this would make SQL Runner an effective replacement for querying the database directly. However...
Existing documentation:
Straw man proposal
Footnotes
|
We discussed this in the tech group meeting on Thursday 20th October and also in a meeting with Alex. I've written up some notes. |
@CLStables and I are going to write a one-pager to accompany this value statement, which encompasses the above discussion:
|
This Google doc contains the one-pager. I'm going to mark this issue as closed, as the focus moves from this issue to that doc. |
We need to document who should use SQL Runner, when, and why. This documentation should replace this playbook, which describes how we update the database notebooks and how we query L2, more generally.
When we have documented the use of SQL Runner, we may wish to enforce it by, for example, requiring code reviews on the repositories; or permitting some team members but not others to execute the studies. There should be separate issues for these tasks.
In this Slack thread, which relates to the database notebooks, Will emphasizes that:
Consequently, the database notebooks aren't fully covered by the publication process for automated reports.
Footnotes
Will mentions that development tends to be done within L2 and L3, where L2 is the database and L3 is a "highly sensitive" workspace. With SQL Runner, development will tend to be done within L3 and L4, where L4 is a "moderately sensitive" workspace. ↩
The text was updated successfully, but these errors were encountered: