html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,issue,performed_via_github_app https://github.com/simonw/datasette/issues/1782#issuecomment-1214420905,https://api.github.com/repos/simonw/datasette/issues/1782,1214420905,IC_kwDOBm6k_c5IYpep,9599,2022-08-14T17:40:45Z,2022-08-14T17:40:45Z,OWNER,Now live here: https://docs.datasette.io/en/latest/changelog.html#v0-62,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1338278056, https://github.com/simonw/datasette/issues/1782#issuecomment-1214420523,https://api.github.com/repos/simonw/datasette/issues/1782,1214420523,IC_kwDOBm6k_c5IYpYr,9599,2022-08-14T17:37:39Z,2022-08-14T17:37:39Z,OWNER,"I'm not going to write annotated release notes for this one. I think the existing release notes are detailed enough, and the most exciting parts of this release relate to Datasette Lite which I have already written about extensively (and linked from the new release notes).","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1338278056, https://github.com/simonw/datasette/issues/1779#issuecomment-1214416491,https://api.github.com/repos/simonw/datasette/issues/1779,1214416491,IC_kwDOBm6k_c5IYoZr,9599,2022-08-14T17:07:34Z,2022-08-14T17:07:34Z,OWNER,"Tested that with: datasette publish cloudrun fixtures.db --service issue-1779 --min-instances 2 --max-instances 4 ","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1334628400, https://github.com/simonw/datasette/issues/1779#issuecomment-1214414471,https://api.github.com/repos/simonw/datasette/issues/1779,1214414471,IC_kwDOBm6k_c5IYn6H,9599,2022-08-14T16:55:40Z,2022-08-14T16:55:40Z,OWNER,"Here's the start of the man page for `gcloud run deploy`: ``` NAME gcloud run deploy - deploy a container to Cloud Run SYNOPSIS gcloud run deploy [[SERVICE] --namespace=NAMESPACE] [--args=[ARG,...]] [--async] [--command=[COMMAND,...]] [--concurrency=CONCURRENCY] [--cpu=CPU] [--ingress=INGRESS; default=""all""] [--max-instances=MAX_INSTANCES] [--memory=MEMORY] [--min-instances=MIN_INSTANCES] ``` I'm going to expose `--max-instances` and `--min-instances` as extra option to `datasette publish cloudrun`.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1334628400, https://github.com/simonw/datasette/issues/1779#issuecomment-1214414320,https://api.github.com/repos/simonw/datasette/issues/1779,1214414320,IC_kwDOBm6k_c5IYn3w,9599,2022-08-14T16:54:32Z,2022-08-14T16:54:32Z,OWNER,(I deleted my `issue-1779` project using the UI at https://console.cloud.google.com/run?project=datasette-222320),"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1334628400, https://github.com/simonw/datasette/issues/1779#issuecomment-1214414013,https://api.github.com/repos/simonw/datasette/issues/1779,1214414013,IC_kwDOBm6k_c5IYny9,9599,2022-08-14T16:52:14Z,2022-08-14T16:52:14Z,OWNER,"Just tried this instead, and it still worked and deployed OK: datasette publish cloudrun fixtures.db --memory 16Gi --cpu 4 --service issue-1779 @fgregg I'm not able to replicate your deployment failure I'm afraid.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1334628400, https://github.com/simonw/datasette/issues/1779#issuecomment-1214413750,https://api.github.com/repos/simonw/datasette/issues/1779,1214413750,IC_kwDOBm6k_c5IYnu2,9599,2022-08-14T16:50:08Z,2022-08-14T16:50:08Z,OWNER,"Just spotted this in the failing Actions workflow: gcloud config set run/region us-central1 I tried that locally too but the deploy still succeeds.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1334628400, https://github.com/simonw/datasette/issues/1779#issuecomment-1214413534,https://api.github.com/repos/simonw/datasette/issues/1779,1214413534,IC_kwDOBm6k_c5IYnre,9599,2022-08-14T16:48:28Z,2022-08-14T16:48:28Z,OWNER,`datasette publish cloudrun fixtures.db --memory 8Gi --cpu 2 --service issue-1779` still works.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1334628400, https://github.com/simonw/datasette/issues/1779#issuecomment-1214413419,https://api.github.com/repos/simonw/datasette/issues/1779,1214413419,IC_kwDOBm6k_c5IYnpr,9599,2022-08-14T16:47:27Z,2022-08-14T16:47:27Z,OWNER,"Maybe I need to upgrade: ``` % gcloud --version Google Cloud SDK 378.0.0 alpha 2022.03.18 bq 2.0.74 core 2022.03.18 gsutil 5.8 Updates are available for some Google Cloud CLI components. To install them, please run: $ gcloud components update ``` ``` % gcloud components update Beginning update. This process may take several minutes. Your current Google Cloud CLI version is: 378.0.0 You will be upgraded to version: 397.0.0 ┌─────────────────────────────────────────────────────────────────────────────┐ │ These components will be updated. │ ├─────────────────────────────────────────────────────┬────────────┬──────────┤ │ Name │ Version │ Size │ ├─────────────────────────────────────────────────────┼────────────┼──────────┤ │ BigQuery Command Line Tool │ 2.0.75 │ 1.6 MiB │ │ BigQuery Command Line Tool (Platform Specific) │ 2.0.75 │ < 1 MiB │ │ Cloud Storage Command Line Tool │ 5.11 │ 15.5 MiB │ │ Cloud Storage Command Line Tool (Platform Specific) │ 5.11 │ < 1 MiB │ │ Google Cloud CLI Core Libraries │ 2022.08.05 │ 24.3 MiB │ │ Google Cloud CLI Core Libraries (Platform Specific) │ 2022.08.05 │ < 1 MiB │ │ anthoscli │ 0.2.28 │ 48.0 MiB │ │ gcloud Alpha Commands │ 2022.08.05 │ < 1 MiB │ │ gcloud cli dependencies │ 2022.07.29 │ 11.2 MiB │ └─────────────────────────────────────────────────────┴────────────┴──────────┘ A lot has changed since your last upgrade. For the latest full release notes, please visit: https://cloud.google.com/sdk/release_notes ``` ``` % gcloud --version Google Cloud SDK 397.0.0 alpha 2022.08.05 bq 2.0.75 core 2022.08.05 gsutil 5.11 ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1334628400, https://github.com/simonw/datasette/issues/1779#issuecomment-1214413161,https://api.github.com/repos/simonw/datasette/issues/1779,1214413161,IC_kwDOBm6k_c5IYnlp,9599,2022-08-14T16:45:36Z,2022-08-14T16:45:36Z,OWNER,"Tried duplicating this error locally but the following command succeeded when I expected it to fail: datasette publish cloudrun fixtures.db --memory 8Gi --cpu 2 --service issue-1779","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1334628400, https://github.com/simonw/datasette/issues/1779#issuecomment-1214412382,https://api.github.com/repos/simonw/datasette/issues/1779,1214412382,IC_kwDOBm6k_c5IYnZe,9599,2022-08-14T16:40:02Z,2022-08-14T16:40:02Z,OWNER,"Here's the relevant part of the `datasette publish` command from that failed Actions workflow: ``` datasette publish cloudrun f7.db nlrb.db opdr.db old_nlrb.db voluntary_recognitions.db work_stoppages.db lm20.db chips.db \ --memory 8Gi \ --cpu 2 ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1334628400, https://github.com/simonw/datasette/issues/1779#issuecomment-1214412135,https://api.github.com/repos/simonw/datasette/issues/1779,1214412135,IC_kwDOBm6k_c5IYnVn,9599,2022-08-14T16:38:08Z,2022-08-14T16:38:08Z,OWNER,"Actually I disagree that Datasette isn't setup to make use of container scaling: part of the idea behind the [Baked Data](https://simonwillison.net/2021/Jul/28/baked-data/) pattern is that you can scale to handle effectively unlimited traffic by running multiple copies of your application, each with their own duplicate copy of the database. So I'm going to default maxScale to 10 and still let people customize it.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1334628400, https://github.com/simonw/datasette/issues/1779#issuecomment-1214411951,https://api.github.com/repos/simonw/datasette/issues/1779,1214411951,IC_kwDOBm6k_c5IYnSv,9599,2022-08-14T16:36:55Z,2022-08-14T16:36:55Z,OWNER,I'm going to default maxscale to 2 but provide an extra command line option for `datasette publish cloudrun` which lets people set it to something higher if they want to.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1334628400, https://github.com/simonw/datasette/issues/1728#issuecomment-1214411623,https://api.github.com/repos/simonw/datasette/issues/1728,1214411623,IC_kwDOBm6k_c5IYnNn,9599,2022-08-14T16:34:20Z,2022-08-14T16:34:20Z,OWNER,"Here's what it looks like: I put the `disabled` attribute on the form submission button too. There's no visible difference in how that button is displayed but since this is only a state that should be seen by the developer I think that's OK, especially combined with the warning at the top of the page.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1218133366, https://github.com/simonw/datasette/issues/1728#issuecomment-1214408558,https://api.github.com/repos/simonw/datasette/issues/1728,1214408558,IC_kwDOBm6k_c5IYmdu,9599,2022-08-14T16:14:36Z,2022-08-14T16:14:36Z,OWNER,"Decision: I'm going to implement this: > Don't allow the user to even submit the form - show a message saying that this canned query is unavailable because the database cannot be written to","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1218133366, https://github.com/simonw/datasette/issues/1738#issuecomment-1214408429,https://api.github.com/repos/simonw/datasette/issues/1738,1214408429,IC_kwDOBm6k_c5IYmbt,9599,2022-08-14T16:13:55Z,2022-08-14T16:13:55Z,OWNER,That fixed both bugs.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1223527226, https://github.com/simonw/datasette/issues/1738#issuecomment-1214407462,https://api.github.com/repos/simonw/datasette/issues/1738,1214407462,IC_kwDOBm6k_c5IYmMm,9599,2022-08-14T16:08:23Z,2022-08-14T16:09:49Z,OWNER,"This isn't just a mobile display issue. https://latest.datasette.io/fixtures/compound_three_primary_keys?_sort_desc=pk1 - click ""Apply"" and each time it adds another `?_sort_desc=pk1` to the URL. This doesn't happen for `?_sort=pk` - only for `?_sort_desc=pk1`: https://latest.datasette.io/fixtures/compound_three_primary_keys?_sort=pk1","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1223527226, https://github.com/simonw/datasette/issues/1773#issuecomment-1214407104,https://api.github.com/repos/simonw/datasette/issues/1773,1214407104,IC_kwDOBm6k_c5IYmHA,9599,2022-08-14T16:06:25Z,2022-08-14T16:06:25Z,OWNER,https://latest.datasette.io/fixtures/sortable?_sort_desc=sortable&_col=sortable_with_nulls works now.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1318907685, https://github.com/simonw/datasette/issues/1768#issuecomment-1214405023,https://api.github.com/repos/simonw/datasette/issues/1768,1214405023,IC_kwDOBm6k_c5IYlmf,9599,2022-08-14T15:54:11Z,2022-08-14T15:54:11Z,OWNER,"Also trying this locally: datasette publish cloudrun fixtures.db --service issue-1768 https://issue-1768-j7hipcg4aq-uc.a.run.app/-/versions ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1296222572, https://github.com/simonw/datasette/issues/1768#issuecomment-1214404690,https://api.github.com/repos/simonw/datasette/issues/1768,1214404690,IC_kwDOBm6k_c5IYlhS,9599,2022-08-14T15:52:02Z,2022-08-14T15:52:02Z,OWNER,"Tested locally with: datasette package fixtures.db --extra-options=""--setting sql_time_limit_ms 2500"" \ -t datasette-package-python-upgrade And then: ``` docker run -p 8081:8001 datasette-package-python-upgrade INFO: Started server process [8] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit) ``` ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1296222572, https://github.com/simonw/datasette/issues/1768#issuecomment-1214403875,https://api.github.com/repos/simonw/datasette/issues/1768,1214403875,IC_kwDOBm6k_c5IYlUj,9599,2022-08-14T15:46:49Z,2022-08-14T15:46:49Z,OWNER,https://hub.docker.com/layers/python/library/python/3.10.6-slim-bullseye/images/sha256-cf85cd32e60184a94d88a0103c289d09024abffaa77680d116d7cc837668ea15?context=explore is the most recent - `3.10.6-slim-bullseye`.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1296222572, https://github.com/simonw/datasette/issues/1770#issuecomment-1214400698,https://api.github.com/repos/simonw/datasette/issues/1770,1214400698,IC_kwDOBm6k_c5IYki6,9599,2022-08-14T15:25:51Z,2022-08-14T15:25:51Z,OWNER,I've tested this with `datasette-sentry` and it works well.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1306492437, https://github.com/simonw/datasette/issues/1781#issuecomment-1214399749,https://api.github.com/repos/simonw/datasette/issues/1781,1214399749,IC_kwDOBm6k_c5IYkUF,9599,2022-08-14T15:20:09Z,2022-08-14T15:20:09Z,OWNER,I'm going to promote it here too: https://docs.datasette.io/en/latest/getting_started.html,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",1338137350,