home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where issue = 959898166 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 1

  • simonw 5

issue 1

  • `datasette publish cloudrun --cpu X` option · 5 ✖

author_association 1

  • OWNER 5
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
893079520 https://github.com/simonw/datasette/issues/1420#issuecomment-893079520 https://api.github.com/repos/simonw/datasette/issues/1420 IC_kwDOBm6k_c41O0_g simonw 9599 2021-08-05T00:54:59Z 2021-08-05T00:54:59Z OWNER

Just saw this error:

ERROR: (gcloud.run.deploy) The--cpuflag is not supported on the fully managed version of Cloud Run. Specify--platform gkeor rungcloud config set run/platform gketo work with Cloud Run for Anthos deployed on Google Cloud.

Which is weird because I managed to run this successfully the other day. Maybe a region difference thing?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`datasette publish cloudrun --cpu X` option 959898166  
892376353 https://github.com/simonw/datasette/issues/1420#issuecomment-892376353 https://api.github.com/repos/simonw/datasette/issues/1420 IC_kwDOBm6k_c41MJUh simonw 9599 2021-08-04T05:33:12Z 2021-08-04T05:33:12Z OWNER

In the Cloud Run console (before I deleted these services) when I click "Edit and deploy new revision" I see this for the default one:

And this for the big one:

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`datasette publish cloudrun --cpu X` option 959898166  
892374253 https://github.com/simonw/datasette/issues/1420#issuecomment-892374253 https://api.github.com/repos/simonw/datasette/issues/1420 IC_kwDOBm6k_c41MIzt simonw 9599 2021-08-04T05:27:21Z 2021-08-04T05:29:59Z OWNER

I'll delete these services shortly afterwards. Right now:

https://fixtures-over-provisioned-issue-1420-j7hipcg4aq-uc.a.run.app/-/psutil (deployed with --memory 8G --cpu 4) returns: ``` process.memory_info() pmem(rss=60456960, vms=518930432, shared=0, text=0, lib=0, data=0, dirty=0)

...

psutil.cpu_times(True) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0)

psutil.virtual_memory() svmem(total=2147483648, available=2092531712, percent=2.6, used=33103872, free=2092531712, active=44130304, inactive=10792960, buffers=0, cached=21848064, shared=262144, slab=0) https://fixtures-default-issue-1420-j7hipcg4aq-uc.a.run.app/-/psutil returns: process.memory_info() pmem(rss=49324032, vms=140595200, shared=0, text=0, lib=0, data=0, dirty=0)

...

psutil.cpu_times(True) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0) scputimes(user=0.0, nice=0.0, system=0.0, idle=0.0, iowait=0.0, irq=0.0, softirq=0.0, steal=0.0, guest=0.0, guest_nice=0.0)

psutil.virtual_memory() svmem(total=2147483648, available=2091188224, percent=2.6, used=40071168, free=2091188224, active=41586688, inactive=7983104, buffers=0, cached=16224256, shared=262144, slab=0) ``` These numbers are different enough that I assume this works as advertised.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`datasette publish cloudrun --cpu X` option 959898166  
892372509 https://github.com/simonw/datasette/issues/1420#issuecomment-892372509 https://api.github.com/repos/simonw/datasette/issues/1420 IC_kwDOBm6k_c41MIYd simonw 9599 2021-08-04T05:22:29Z 2021-08-04T05:22:29Z OWNER

Testing this manually with:

datasette publish cloudrun fixtures.db --memory 8G --cpu 4 \
  --service fixtures-over-provisioned-issue-1420 --install datasette-psutil

And for comparison:

datasette publish cloudrun fixtures.db --service fixtures-default-issue-1420 \
  --install datasette-psutil
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`datasette publish cloudrun --cpu X` option 959898166  
892365639 https://github.com/simonw/datasette/issues/1420#issuecomment-892365639 https://api.github.com/repos/simonw/datasette/issues/1420 IC_kwDOBm6k_c41MGtH simonw 9599 2021-08-04T05:05:07Z 2021-08-04T05:05:07Z OWNER

https://github.com/simonw/datasette/blob/cd8b7bee8fb5c1cdce7c8dbfeb0166011abc72c6/datasette/publish/cloudrun.py#L153-L158

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
`datasette publish cloudrun --cpu X` option 959898166  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
CREATE INDEX [idx_issue_comments_issue]
                ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
                ON [issue_comments] ([user]);
Powered by Datasette · Queries took 19.15ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows