## <RECORD n> is the record of pull request n, equal to the last one printed in full above; a record that differs is printed in full.
# metab https://github.com/octo/demo/pull/7 --api '/api/plugin/github/pull?number=7'
exit: 0
--- stdout ---
api: /api/plugin/github/pull?number=7
status: 200
{
  "state": "current",
  "reason": null,
  "source": "https://github.com/octo/demo",
  "number": 7,
  "pin": "85fcb2fa9e77eb5db485ffef445cbbc645d6db4a",
  "pin_ref": "refs/pull/7/head",
  "fetched_at": "2026-09-17T12:00:00Z",
  "verified_at": "2026-09-17T12:00:00Z",
  "verified_by": "fetch",
  "head_moved": false,
  "checks_pending": true,
  "record_revision": "07eb0c3ec47a9c84c4d0b69ddfca32245cdede7023567fa7d179789783e8d66b",
  "fresh_for_s": 60.0,
  "refreshing": false,
  "last_refresh": {
    "outcome": "succeeded",
    "message": null,
    "reset_at": null,
    "at": "2026-09-17T12:00:00Z"
  },
  "comparison_route": "/api/plugin/github/pull-comparison?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&base_policy=merge_base&build=<BUILD>&store=<STORE>",
  "image_route": "/api/plugin/github/pull-image?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
  "rendered_route": "/api/plugin/github/pull-rendered-diff?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
  "size_route": "/api/plugin/github/pull-size?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
  "record": {
    "schema_version": 2,
    "projection_version": 2,
    "source": "https://github.com/octo/demo",
    "number": 7,
    "fetched_at": "2026-09-17T12:00:00Z",
    "reader": "gh:octo-reader",
    "etags": {
      "repos/octo/demo/pulls/7": "W/\"369a52b442c8b956f7bb9bd28a3ae75f06b540c1781d3c8eacc7e3afc4da232f\"",
      "repos/octo/demo/issues/7/comments?per_page=100&page=1": "W/\"129ba5d41c7ad9dc46b0ecc3d92124b83747ed95e5ff5422603eb05b99399608\"",
      "repos/octo/demo/pulls/7/reviews?per_page=100&page=1": "W/\"553dbffc68c21141af1083cb13e8be39e4138e90d4011da721d679e7853c5e9d\"",
      "repos/octo/demo/pulls/7/comments?per_page=100&page=1": "W/\"b4ca741eae91bcff3445421bd4f16ee7b2ae05d25fa979346f04a378ee3bd6cc\"",
      "repos/octo/demo/commits/85fcb2fa9e77eb5db485ffef445cbbc645d6db4a/check-runs?per_page=100&page=1": "W/\"8b11f63f1595a605256b810ecbc6ad42f31ec79413e5748815f151c4ed6821e8\"",
      "repos/octo/demo/commits/85fcb2fa9e77eb5db485ffef445cbbc645d6db4a/status?per_page=100&page=1": "W/\"7362c7bd7021c47983e06eb57cbc2d2b436158c6a1ec5f3fdeda0be1cc45832f\""
    },
    "pull": {
      "number": 7,
      "title": "Count to two in the app",
      "body": "The app counts to one.\r\n\r\nThis teaches it **two**.",
      "body_truncated": false,
      "state": "open",
      "draft": false,
      "merged": false,
      "merged_by": null,
      "merged_by_avatar_url": null,
      "commits": 2,
      "merge_commit_sha": null,
      "mergeable": "mergeable",
      "labels": [
        {
          "name": "enhancement",
          "color": "2700af",
          "description": "A label's description is its chip's tooltip"
        }
      ],
      "author": "forker",
      "author_avatar_url": null,
      "created_at": "2026-09-16T10:57:23Z",
      "updated_at": "2026-09-16T17:39:01Z",
      "merged_at": null,
      "closed_at": null,
      "base": {
        "ref": "topic",
        "sha": "07b55f07793d9ed4e9f3e130c4414d979137bc53",
        "repository": "octo/demo"
      },
      "head": {
        "ref": "count-to-two",
        "sha": "85fcb2fa9e77eb5db485ffef445cbbc645d6db4a",
        "repository": "forker/demo"
      },
      "html_url": "https://github.com/octo/demo/pull/7"
    },
    "issue_comments": [
      {
        "id": 3341937855,
        "author": "maintainer",
        "author_avatar_url": null,
        "body": "Thanks. CI is green; one question inline.",
        "body_truncated": false,
        "created_at": "2026-09-16T17:34:17Z",
        "updated_at": "2026-09-16T17:35:33Z"
      }
    ],
    "reviews": [
      {
        "id": 3274109685,
        "state": "COMMENTED",
        "author": "maintainer",
        "author_avatar_url": null,
        "body": "",
        "body_truncated": false,
        "submitted_at": "2026-09-16T12:32:50Z",
        "commit_id": "f7c5a9918657080d6aeb455902615b6e17df760a"
      },
      {
        "id": 3279967139,
        "state": "APPROVED",
        "author": "maintainer",
        "author_avatar_url": null,
        "body": "Looks right.",
        "body_truncated": false,
        "submitted_at": "2026-09-16T17:36:02Z",
        "commit_id": "85fcb2fa9e77eb5db485ffef445cbbc645d6db4a"
      }
    ],
    "review_comments": [
      {
        "id": 2383608906,
        "review_id": 3274109685,
        "in_reply_to": null,
        "path": "src/app.txt",
        "line": null,
        "original_line": 1,
        "start_line": null,
        "original_start_line": null,
        "side": "RIGHT",
        "commit_id": "85fcb2fa9e77eb5db485ffef445cbbc645d6db4a",
        "original_commit_id": "f7c5a9918657080d6aeb455902615b6e17df760a",
        "diff_hunk": "@@ -1 +1 @@\n-one\n+one",
        "diff_hunk_truncated": false,
        "author": "maintainer",
        "author_avatar_url": null,
        "body": "Why does this line change?",
        "body_truncated": false,
        "created_at": "2026-09-16T12:32:50Z",
        "updated_at": "2026-09-16T12:32:50Z"
      },
      {
        "id": 2388073350,
        "review_id": 3279967139,
        "in_reply_to": 2383608906,
        "path": "src/app.txt",
        "line": 2,
        "original_line": 2,
        "start_line": null,
        "original_start_line": null,
        "side": "RIGHT",
        "commit_id": "85fcb2fa9e77eb5db485ffef445cbbc645d6db4a",
        "original_commit_id": "85fcb2fa9e77eb5db485ffef445cbbc645d6db4a",
        "diff_hunk": "@@ -1 +1,2 @@\n one\n+two",
        "diff_hunk_truncated": false,
        "author": "forker",
        "author_avatar_url": null,
        "body": "It no longer does; the second line is new.",
        "body_truncated": false,
        "created_at": "2026-09-16T17:30:11Z",
        "updated_at": "2026-09-16T17:30:11Z"
      }
    ],
    "check_runs": [
      {
        "id": 51401654787,
        "name": "tests (3.13)",
        "status": "completed",
        "conclusion": "success",
        "details_url": "https://github.com/octo/demo/actions/runs/18062895276/job/51401654787",
        "app": "GitHub Actions"
      },
      {
        "id": 51401654788,
        "name": "docs",
        "status": "in_progress",
        "conclusion": null,
        "details_url": "https://github.com/octo/demo/actions/runs/18062895276/job/51401654788",
        "app": "GitHub Actions"
      }
    ],
    "status": {
      "state": "success",
      "statuses": [
        {
          "context": "docs/readthedocs.org:demo",
          "state": "success",
          "description": "Read the Docs build succeeded!",
          "target_url": "https://demo--7.org.readthedocs.build/en/7/"
        }
      ]
    },
    "comparison": {
      "base": "f92fd713acd521d4ebb62fb9f345ec927b8b6d1b",
      "head": "85fcb2fa9e77eb5db485ffef445cbbc645d6db4a",
      "base_commit": "c691256511d05858850bc7684ae062fea0d41132",
      "base_from": "base_branch"
    },
    "truncated": {
      "issue_comments": false,
      "reviews": false,
      "review_comments": false,
      "check_runs": false,
      "statuses": false,
      "text": false
    },
    "unavailable": {}
  },
  "core_preview": null,
  "repository_labels": [],
  "labels_pending": false
}
--- stderr ---
cloning https://github.com/octo/demo into <HOME>
cloned https://github.com/octo/demo in 0.0 s
selection: pull_request
pin: 85fcb2fa9e77eb5db485ffef445cbbc645d6db4a (pull request 7 head)
pull_request: 7 (open; fetched 2026-09-17T12:00:00Z by gh:octo-reader)
--- gh ---
gh auth status
gh api repos/octo/demo --jq .size
gh auth status
gh api repos/octo/demo/pulls/7
gh api repos/octo/demo/commits/85fcb2fa9e77eb5db485ffef445cbbc645d6db4a/check-runs?per_page=100&page=1
gh api repos/octo/demo/commits/85fcb2fa9e77eb5db485ffef445cbbc645d6db4a/status?per_page=100&page=1
gh api repos/octo/demo/issues/7/comments?per_page=100&page=1
gh api repos/octo/demo/pulls/7/comments?per_page=100&page=1
gh api repos/octo/demo/pulls/7/reviews?per_page=100&page=1
gh auth status
# metab https://github.com/octo/demo/pull/7 --no-serve
exit: 0
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
selection: pull_request
pin: 85fcb2fa9e77eb5db485ffef445cbbc645d6db4a (pull request 7 head)
pull_request: 7 (open; fetched 2026-09-17T12:00:00Z by gh:octo-reader)
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/7 (If-None-Match)
gh api repos/octo/demo/commits/85fcb2fa9e77eb5db485ffef445cbbc645d6db4a/check-runs?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/commits/85fcb2fa9e77eb5db485ffef445cbbc645d6db4a/status?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/issues/7/comments?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/pulls/7/comments?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/pulls/7/reviews?per_page=100&page=1 (If-None-Match)
gh auth status
# metab https://github.com/octo/demo/pull/7 --api /api/plugin/github/pull-refresh --data reader.json
exit: 0
--- stdout ---
api: /api/plugin/github/pull-refresh
status: 202
{
  "refresh": "started",
  "pull": {
    "state": "current",
    "reason": null,
    "source": "https://github.com/octo/demo",
    "number": 7,
    "pin": "85fcb2fa9e77eb5db485ffef445cbbc645d6db4a",
    "pin_ref": "refs/pull/7/head",
    "fetched_at": "2026-09-17T12:00:00Z",
    "verified_at": "2026-09-17T12:00:00Z",
    "verified_by": "fetch",
    "head_moved": false,
    "checks_pending": true,
    "record_revision": "07eb0c3ec47a9c84c4d0b69ddfca32245cdede7023567fa7d179789783e8d66b",
    "fresh_for_s": 60.0,
    "refreshing": true,
    "last_refresh": {
      "outcome": "succeeded",
      "message": null,
      "reset_at": null,
      "at": "2026-09-17T12:00:00Z"
    },
    "comparison_route": "/api/plugin/github/pull-comparison?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&base_policy=merge_base&build=<BUILD>&store=<STORE>",
    "image_route": "/api/plugin/github/pull-image?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
    "rendered_route": "/api/plugin/github/pull-rendered-diff?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
    "size_route": "/api/plugin/github/pull-size?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
    "record": "<RECORD 7>",
    "core_preview": null,
    "repository_labels": [],
    "labels_pending": false
  },
  "status_route": "/api/plugin/github/pull?number=7"
}
after: /api/plugin/github/pull?number=7
status: 200
{
  "state": "current",
  "reason": null,
  "source": "https://github.com/octo/demo",
  "number": 7,
  "pin": "85fcb2fa9e77eb5db485ffef445cbbc645d6db4a",
  "pin_ref": "refs/pull/7/head",
  "fetched_at": "2026-09-17T12:00:00Z",
  "verified_at": "2026-09-17T12:00:00Z",
  "verified_by": "fetch",
  "head_moved": false,
  "checks_pending": true,
  "record_revision": "07eb0c3ec47a9c84c4d0b69ddfca32245cdede7023567fa7d179789783e8d66b",
  "fresh_for_s": 60.0,
  "refreshing": false,
  "last_refresh": {
    "outcome": "succeeded",
    "message": null,
    "reset_at": null,
    "at": "2026-09-17T12:00:00Z"
  },
  "comparison_route": "/api/plugin/github/pull-comparison?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&base_policy=merge_base&build=<BUILD>&store=<STORE>",
  "image_route": "/api/plugin/github/pull-image?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
  "rendered_route": "/api/plugin/github/pull-rendered-diff?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
  "size_route": "/api/plugin/github/pull-size?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
  "record": "<RECORD 7>",
  "core_preview": null,
  "repository_labels": [],
  "labels_pending": false
}
--- stderr ---
selection: pull_request
pin: 85fcb2fa9e77eb5db485ffef445cbbc645d6db4a (pull request 7 head)
pull_request: 7 (open; fetched 2026-09-17T12:00:00Z by gh:octo-reader)
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/7 (If-None-Match)
gh api repos/octo/demo/commits/85fcb2fa9e77eb5db485ffef445cbbc645d6db4a/check-runs?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/commits/85fcb2fa9e77eb5db485ffef445cbbc645d6db4a/status?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/issues/7/comments?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/pulls/7/comments?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/pulls/7/reviews?per_page=100&page=1 (If-None-Match)
gh auth status
# metab https://github.com/octo/demo/pull/7/commits/f7c5a99 --show src/app.txt
exit: 0
--- stdout ---
show: src/app.txt
route: /view/g1-c3Jj/g1-YXBwLnR4dA
kind: text
views: source (default)
model: text envelope; size=10 content_bytes=10 content_truncated=False
--- stderr ---
selection: commit
pin: f7c5a9918657080d6aeb455902615b6e17df760a (commit)
pull_request: 7 (open; fetched 2026-09-17T12:00:00Z by gh:octo-reader)
--- gh ---
# metab https://github.com/octo/demo/pull/7 --api '/api/plugin/github/pull?number=7'
exit: 0
--- stdout ---
api: /api/plugin/github/pull?number=7
status: 200
{
  "state": "current",
  "reason": null,
  "source": "https://github.com/octo/demo",
  "number": 7,
  "pin": "85fcb2fa9e77eb5db485ffef445cbbc645d6db4a",
  "pin_ref": "refs/pull/7/head",
  "fetched_at": "2026-09-17T12:00:00Z",
  "verified_at": "2026-09-17T12:00:00Z",
  "verified_by": "fetch",
  "head_moved": false,
  "checks_pending": true,
  "record_revision": "07eb0c3ec47a9c84c4d0b69ddfca32245cdede7023567fa7d179789783e8d66b",
  "fresh_for_s": 60.0,
  "refreshing": false,
  "last_refresh": {
    "outcome": "succeeded",
    "message": null,
    "reset_at": null,
    "at": "2026-09-17T12:00:00Z"
  },
  "comparison_route": "/api/plugin/github/pull-comparison?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&base_policy=merge_base&build=<BUILD>&store=<STORE>",
  "image_route": "/api/plugin/github/pull-image?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
  "rendered_route": "/api/plugin/github/pull-rendered-diff?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
  "size_route": "/api/plugin/github/pull-size?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
  "record": "<RECORD 7>",
  "core_preview": null,
  "repository_labels": [],
  "labels_pending": false
}
--- stderr ---
selection: pull_request
pin: 85fcb2fa9e77eb5db485ffef445cbbc645d6db4a (pull request 7 head)
pull_request: 7 (open; fetched 2026-09-17T12:00:00Z by gh:octo-reader)
--- gh ---
# metab https://github.com/octo/demo/pull/7 --no-serve
exit: 0
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
selection: pull_request
pin: 85fcb2fa9e77eb5db485ffef445cbbc645d6db4a (pull request 7 head)
pull_request: 7 (open; fetched 2026-09-17T12:00:00Z by gh:octo-reader; the refresh failed: GitHub could not be reached because api.github.com did not resolve (DNS) (network_error))
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/7 (If-None-Match)
## A repository URL, and a pull request no URL named: asked for by a request that is not a reader's, nothing starts; asked for by a reader's, it is fetched.
# metab https://github.com/octo/demo --api '/api/plugin/github/pull?number=10'
exit: 0
--- stdout ---
api: /api/plugin/github/pull?number=10
status: 200
{
  "state": "absent",
  "reason": "not_cached",
  "source": "https://github.com/octo/demo",
  "number": 10,
  "pin": "c691256511d05858850bc7684ae062fea0d41132",
  "pin_ref": "refs/remotes/origin/topic",
  "fetched_at": null,
  "verified_at": null,
  "verified_by": null,
  "head_moved": false,
  "checks_pending": false,
  "record_revision": null,
  "fresh_for_s": 60.0,
  "refreshing": false,
  "last_refresh": null,
  "comparison_route": null,
  "image_route": null,
  "rendered_route": null,
  "size_route": null,
  "record": null,
  "core_preview": null,
  "repository_labels": [],
  "labels_pending": false
}
--- stderr ---
--- gh ---
# metab https://github.com/octo/demo --api /api/plugin/github/pull-refresh --data automatic.json
exit: 0
--- stdout ---
api: /api/plugin/github/pull-refresh
status: 200
{
  "refresh": "not_cached",
  "pull": {
    "state": "absent",
    "reason": "not_cached",
    "source": "https://github.com/octo/demo",
    "number": 10,
    "pin": "c691256511d05858850bc7684ae062fea0d41132",
    "pin_ref": "refs/remotes/origin/topic",
    "fetched_at": null,
    "verified_at": null,
    "verified_by": null,
    "head_moved": false,
    "checks_pending": false,
    "record_revision": null,
    "fresh_for_s": 60.0,
    "refreshing": false,
    "last_refresh": null,
    "comparison_route": null,
    "image_route": null,
    "rendered_route": null,
    "size_route": null,
    "record": null,
    "core_preview": null,
    "repository_labels": [],
    "labels_pending": false
  },
  "status_route": "/api/plugin/github/pull?number=10"
}
--- stderr ---
--- gh ---
# metab https://github.com/octo/demo --api /api/plugin/github/pull-refresh --data reader.json
exit: 0
--- stdout ---
api: /api/plugin/github/pull-refresh
status: 202
{
  "refresh": "started",
  "pull": {
    "state": "pending",
    "reason": null,
    "source": "https://github.com/octo/demo",
    "number": 10,
    "pin": "c691256511d05858850bc7684ae062fea0d41132",
    "pin_ref": "refs/remotes/origin/topic",
    "fetched_at": null,
    "verified_at": null,
    "verified_by": null,
    "head_moved": false,
    "checks_pending": false,
    "record_revision": null,
    "fresh_for_s": 60.0,
    "refreshing": true,
    "last_refresh": null,
    "comparison_route": null,
    "image_route": null,
    "rendered_route": null,
    "size_route": null,
    "record": null,
    "core_preview": null,
    "repository_labels": [],
    "labels_pending": false
  },
  "status_route": "/api/plugin/github/pull?number=10"
}
after: /api/plugin/github/pull?number=10
status: 200
{
  "state": "current",
  "reason": null,
  "source": "https://github.com/octo/demo",
  "number": 10,
  "pin": "c691256511d05858850bc7684ae062fea0d41132",
  "pin_ref": "refs/remotes/origin/topic",
  "fetched_at": "2026-09-17T12:00:00Z",
  "verified_at": "2026-09-17T12:00:00Z",
  "verified_by": "fetch",
  "head_moved": false,
  "checks_pending": false,
  "record_revision": "b61b65443f1b94641b404dc8f04f65cdc54e53ccda7d5bdb50f0628bc0737ff4",
  "fresh_for_s": 60.0,
  "refreshing": false,
  "last_refresh": {
    "outcome": "succeeded",
    "message": null,
    "reset_at": null,
    "at": "2026-09-17T12:00:00Z"
  },
  "comparison_route": "/api/plugin/github/pull-comparison?number=10&left=c691256511d05858850bc7684ae062fea0d41132&right=7a7d6596e515735d244dc1d942463c95851e139c&base_policy=merge_base&build=<BUILD>&store=<STORE>",
  "image_route": "/api/plugin/github/pull-image?number=10&left=c691256511d05858850bc7684ae062fea0d41132&right=7a7d6596e515735d244dc1d942463c95851e139c&store=<STORE>",
  "rendered_route": "/api/plugin/github/pull-rendered-diff?number=10&left=c691256511d05858850bc7684ae062fea0d41132&right=7a7d6596e515735d244dc1d942463c95851e139c&store=<STORE>",
  "size_route": "/api/plugin/github/pull-size?number=10&left=c691256511d05858850bc7684ae062fea0d41132&right=7a7d6596e515735d244dc1d942463c95851e139c&store=<STORE>",
  "record": {
    "schema_version": 2,
    "projection_version": 2,
    "source": "https://github.com/octo/demo",
    "number": 10,
    "fetched_at": "2026-09-17T12:00:00Z",
    "reader": "gh:octo-reader",
    "etags": {
      "repos/octo/demo/pulls/10": "W/\"834290f720c663d55774891f093a7b77e296b675ff12cece8a9063b429073af7\"",
      "repos/octo/demo/issues/10/comments?per_page=100&page=1": "W/\"3ca900254595a4252fe8210df7ad12e7e1c80935d21d9bdbf6054cf92b779d91\"",
      "repos/octo/demo/pulls/10/reviews?per_page=100&page=1": "W/\"aaed24104d56430f749ca52d38dac89318e6ef13eaff22e50730d564709f774d\"",
      "repos/octo/demo/pulls/10/comments?per_page=100&page=1": "W/\"e0af241df992737c49edf94e2feee1a361f52281e026b6e99a9625d59db8a2eb\"",
      "repos/octo/demo/commits/7a7d6596e515735d244dc1d942463c95851e139c/check-runs?per_page=100&page=1": "W/\"433f41b1ceaa4a91aafd83e4b0f6ff015ce992d25bf2e539a8d28e820c5009fb\"",
      "repos/octo/demo/commits/7a7d6596e515735d244dc1d942463c95851e139c/status?per_page=100&page=1": "W/\"8a58570908e9ed041d7b732da2e4753a3aa75191dfbba6053eca47d318b1a322\""
    },
    "pull": {
      "number": 10,
      "title": "WIP: draft the next page",
      "body": "Not ready.",
      "body_truncated": false,
      "state": "open",
      "draft": true,
      "merged": false,
      "merged_by": null,
      "merged_by_avatar_url": null,
      "commits": 1,
      "merge_commit_sha": null,
      "mergeable": "conflicting",
      "labels": [],
      "author": "maintainer",
      "author_avatar_url": null,
      "created_at": "2026-09-16T10:57:23Z",
      "updated_at": "2026-09-16T17:39:01Z",
      "merged_at": null,
      "closed_at": null,
      "base": {
        "ref": "topic",
        "sha": "c691256511d05858850bc7684ae062fea0d41132",
        "repository": "octo/demo"
      },
      "head": {
        "ref": "wip",
        "sha": "7a7d6596e515735d244dc1d942463c95851e139c",
        "repository": "octo/demo"
      },
      "html_url": "https://github.com/octo/demo/pull/10"
    },
    "issue_comments": [],
    "reviews": [],
    "review_comments": [],
    "check_runs": [],
    "status": {
      "state": "pending",
      "statuses": []
    },
    "comparison": {
      "base": "c691256511d05858850bc7684ae062fea0d41132",
      "head": "7a7d6596e515735d244dc1d942463c95851e139c",
      "base_commit": "c691256511d05858850bc7684ae062fea0d41132",
      "base_from": "base_branch"
    },
    "truncated": {
      "issue_comments": false,
      "reviews": false,
      "review_comments": false,
      "check_runs": false,
      "statuses": false,
      "text": false
    },
    "unavailable": {}
  },
  "core_preview": null,
  "repository_labels": [],
  "labels_pending": false
}
--- stderr ---
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/10
gh api repos/octo/demo/commits/7a7d6596e515735d244dc1d942463c95851e139c/check-runs?per_page=100&page=1
gh api repos/octo/demo/commits/7a7d6596e515735d244dc1d942463c95851e139c/status?per_page=100&page=1
gh api repos/octo/demo/issues/10/comments?per_page=100&page=1
gh api repos/octo/demo/pulls/10/comments?per_page=100&page=1
gh api repos/octo/demo/pulls/10/reviews?per_page=100&page=1
gh auth status
# metab https://github.com/octo/demo --api /api/plugin/github/pull-refresh --data automatic.json
exit: 0
--- stdout ---
api: /api/plugin/github/pull-refresh
status: 200
{
  "refresh": "not_due",
  "pull": {
    "state": "current",
    "reason": null,
    "source": "https://github.com/octo/demo",
    "number": 10,
    "pin": "c691256511d05858850bc7684ae062fea0d41132",
    "pin_ref": "refs/remotes/origin/topic",
    "fetched_at": "2026-09-17T12:00:00Z",
    "verified_at": "2026-09-17T12:00:00Z",
    "verified_by": "fetch",
    "head_moved": false,
    "checks_pending": false,
    "record_revision": "b61b65443f1b94641b404dc8f04f65cdc54e53ccda7d5bdb50f0628bc0737ff4",
    "fresh_for_s": 60.0,
    "refreshing": false,
    "last_refresh": {
      "outcome": "succeeded",
      "message": null,
      "reset_at": null,
      "at": "2026-09-17T12:00:00Z"
    },
    "comparison_route": "/api/plugin/github/pull-comparison?number=10&left=c691256511d05858850bc7684ae062fea0d41132&right=7a7d6596e515735d244dc1d942463c95851e139c&base_policy=merge_base&build=<BUILD>&store=<STORE>",
    "image_route": "/api/plugin/github/pull-image?number=10&left=c691256511d05858850bc7684ae062fea0d41132&right=7a7d6596e515735d244dc1d942463c95851e139c&store=<STORE>",
    "rendered_route": "/api/plugin/github/pull-rendered-diff?number=10&left=c691256511d05858850bc7684ae062fea0d41132&right=7a7d6596e515735d244dc1d942463c95851e139c&store=<STORE>",
    "size_route": "/api/plugin/github/pull-size?number=10&left=c691256511d05858850bc7684ae062fea0d41132&right=7a7d6596e515735d244dc1d942463c95851e139c&store=<STORE>",
    "record": "<RECORD 10>",
    "core_preview": null,
    "repository_labels": [],
    "labels_pending": false
  },
  "status_route": "/api/plugin/github/pull?number=10"
}
--- stderr ---
--- gh ---
# metab https://github.com/octo/demo --api /api/source/status
exit: 0
--- stdout ---
api: /api/source/status
status: 200
{
  "subject": "git_revision",
  "generation": 1,
  "pin": "c691256511d05858850bc7684ae062fea0d41132",
  "ref": "refs/remotes/origin/topic",
  "ref_name": "topic",
  "name": "demo",
  "origin": "https://github.com/octo/demo",
  "location": "<HOME>/repos/github-com-octo-demo-e7qjzskw2rq/repository.git",
  "borrows": null,
  "shallow": false,
  "refreshable": true,
  "follows": true,
  "latest": "c691256511d05858850bc7684ae062fea0d41132",
  "ref_on_origin": true,
  "last_fetch_at": "2026-09-17T12:00:00Z",
  "last_outcome": {
    "operation": "acquire",
    "outcome": "succeeded",
    "at": "2026-09-17T12:00:00Z"
  },
  "refreshing": false,
  "stale": false,
  "pull_request": null,
  "selection_state": null,
  "selection_href": null
}
--- stderr ---
--- gh ---
# metab https://github.com/octo/demo/pull/8 --no-serve
exit: 0
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
selection: pull_request
pin: 8ae27617c9c475851b67ee69433d008836d112ba (pull request 8 head)
pull_request: 8 (merged; fetched 2026-09-17T12:00:00Z by gh:octo-reader)
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/8
gh api repos/octo/demo/commits/8ae27617c9c475851b67ee69433d008836d112ba/check-runs?per_page=100&page=1
gh api repos/octo/demo/commits/8ae27617c9c475851b67ee69433d008836d112ba/status?per_page=100&page=1
gh api repos/octo/demo/issues/8/comments?per_page=100&page=1
gh api repos/octo/demo/pulls/8/comments?per_page=100&page=1
gh api repos/octo/demo/pulls/8/reviews?per_page=100&page=1
gh auth status
# metab https://github.com/octo/demo/pull/9 --no-serve
exit: 0
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
selection: pull_request
pin: 0fe10aeb84bee6fe05150d6d9f6da3f4d68549bd (pull request 9 head)
pull_request: 9 (closed; fetched 2026-09-17T12:00:00Z by gh:octo-reader)
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/9
gh api repos/octo/demo/commits/0fe10aeb84bee6fe05150d6d9f6da3f4d68549bd/check-runs?per_page=100&page=1
gh api repos/octo/demo/commits/0fe10aeb84bee6fe05150d6d9f6da3f4d68549bd/status?per_page=100&page=1
gh api repos/octo/demo/issues/9/comments?per_page=100&page=1
gh api repos/octo/demo/pulls/9/comments?per_page=100&page=1
gh api repos/octo/demo/pulls/9/reviews?per_page=100&page=1
gh auth status
# metab https://github.com/octo/demo/pull/8 --api '/api/plugin/github/pull?number=8'
exit: 0
--- stdout ---
api: /api/plugin/github/pull?number=8
status: 200
{
  "state": "current",
  "reason": null,
  "source": "https://github.com/octo/demo",
  "number": 8,
  "pin": "8ae27617c9c475851b67ee69433d008836d112ba",
  "pin_ref": "refs/pull/8/head",
  "fetched_at": "2026-09-17T12:00:00Z",
  "verified_at": "2026-09-17T12:00:00Z",
  "verified_by": "fetch",
  "head_moved": false,
  "checks_pending": false,
  "record_revision": "bf216a4270ac3d6d3a5e23a0e7b42928b1687a9d8299db066d9aaf8d09ce8187",
  "fresh_for_s": 60.0,
  "refreshing": false,
  "last_refresh": {
    "outcome": "succeeded",
    "message": null,
    "reset_at": null,
    "at": "2026-09-17T12:00:00Z"
  },
  "comparison_route": "/api/plugin/github/pull-comparison?number=8&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=8ae27617c9c475851b67ee69433d008836d112ba&base_policy=merge_base&build=<BUILD>&store=<STORE>",
  "image_route": "/api/plugin/github/pull-image?number=8&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=8ae27617c9c475851b67ee69433d008836d112ba&store=<STORE>",
  "rendered_route": "/api/plugin/github/pull-rendered-diff?number=8&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=8ae27617c9c475851b67ee69433d008836d112ba&store=<STORE>",
  "size_route": "/api/plugin/github/pull-size?number=8&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=8ae27617c9c475851b67ee69433d008836d112ba&store=<STORE>",
  "record": {
    "schema_version": 2,
    "projection_version": 2,
    "source": "https://github.com/octo/demo",
    "number": 8,
    "fetched_at": "2026-09-17T12:00:00Z",
    "reader": "gh:octo-reader",
    "etags": {
      "repos/octo/demo/pulls/8": "W/\"ca520d435083403f88e505bd5eade3b87a556cf1b1c6da34c0af280608045ced\"",
      "repos/octo/demo/issues/8/comments?per_page=100&page=1": "W/\"2b4c95bd77989d40c5a1b37e2d2a079777a5c3ef305c8e09bc705054e03d760d\"",
      "repos/octo/demo/pulls/8/reviews?per_page=100&page=1": "W/\"16fba7b3f3bc6d7027a457cf94c165e22e0b7abf9028c07fe23cc83bc0a1581e\"",
      "repos/octo/demo/pulls/8/comments?per_page=100&page=1": "W/\"f73d9aff466a7b2f5242a55272b78820afe30d2c875a17ab2d2d861e74765899\"",
      "repos/octo/demo/commits/8ae27617c9c475851b67ee69433d008836d112ba/check-runs?per_page=100&page=1": "W/\"0cb8bbcee0a6ee3c06f25c8fc9cdce86b50e0d8df2dee462c7898591527ed61b\"",
      "repos/octo/demo/commits/8ae27617c9c475851b67ee69433d008836d112ba/status?per_page=100&page=1": "W/\"0e146adb4edd448e9ceb49815073dcb595e6c0fce4e3c9d125329c8de5e4f9bf\""
    },
    "pull": {
      "number": 8,
      "title": "Say more in the guide",
      "body": "",
      "body_truncated": false,
      "state": "closed",
      "draft": false,
      "merged": true,
      "merged_by": "octo",
      "merged_by_avatar_url": null,
      "commits": 1,
      "merge_commit_sha": "c691256511d05858850bc7684ae062fea0d41132",
      "mergeable": "unknown",
      "labels": [],
      "author": "maintainer",
      "author_avatar_url": null,
      "created_at": "2026-09-16T10:57:23Z",
      "updated_at": "2026-09-16T17:39:01Z",
      "merged_at": "2026-09-16T18:00:00Z",
      "closed_at": "2026-09-16T18:00:00Z",
      "base": {
        "ref": "topic",
        "sha": "07b55f07793d9ed4e9f3e130c4414d979137bc53",
        "repository": "octo/demo"
      },
      "head": {
        "ref": "guide-more",
        "sha": "8ae27617c9c475851b67ee69433d008836d112ba",
        "repository": "octo/demo"
      },
      "html_url": "https://github.com/octo/demo/pull/8"
    },
    "issue_comments": [],
    "reviews": [],
    "review_comments": [],
    "check_runs": [
      {
        "id": 51401654787,
        "name": "tests (3.13)",
        "status": "completed",
        "conclusion": "success",
        "details_url": "https://github.com/octo/demo/actions/runs/18062895276/job/51401654787",
        "app": "GitHub Actions"
      },
      {
        "id": 51401654788,
        "name": "docs",
        "status": "completed",
        "conclusion": "skipped",
        "details_url": "https://github.com/octo/demo/actions/runs/18062895276/job/51401654788",
        "app": "GitHub Actions"
      }
    ],
    "status": {
      "state": "success",
      "statuses": [
        {
          "context": "docs/readthedocs.org:demo",
          "state": "success",
          "description": "Read the Docs build succeeded!",
          "target_url": "https://demo--7.org.readthedocs.build/en/7/"
        }
      ]
    },
    "comparison": {
      "base": "f92fd713acd521d4ebb62fb9f345ec927b8b6d1b",
      "head": "8ae27617c9c475851b67ee69433d008836d112ba",
      "base_commit": "07b55f07793d9ed4e9f3e130c4414d979137bc53",
      "base_from": "base_sha"
    },
    "truncated": {
      "issue_comments": false,
      "reviews": false,
      "review_comments": false,
      "check_runs": false,
      "statuses": false,
      "text": false
    },
    "unavailable": {}
  },
  "core_preview": null,
  "repository_labels": [],
  "labels_pending": false
}
--- stderr ---
selection: pull_request
pin: 8ae27617c9c475851b67ee69433d008836d112ba (pull request 8 head)
pull_request: 8 (merged; fetched 2026-09-17T12:00:00Z by gh:octo-reader)
--- gh ---
# metab https://github.com/octo/demo/pull/11 --no-serve
exit: 0
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
selection: pull_request
pin: c691256511d05858850bc7684ae062fea0d41132 (default branch topic)
pull_request: 11 (not opened: pull request 11 of https://github.com/octo/demo: GitHub has no such pull request, or it is private and the gh account cannot read it (not_found_or_private); the pin is the default branch)
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/11
gh auth status
# metab https://github.com/octo/demo/pull/11 --no-serve
exit: 1
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
Error: pull request 11 of https://github.com/octo/demo: GitHub CLI is not signed in to github.com. Run gh auth login --hostname github.com, then retry. (not_logged_in)
--- gh ---
gh auth status
# metab https://github.com/octo/demo/pull/11 --no-serve
exit: 1
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
Error: pull request 11 of https://github.com/octo/demo: This GitHub CLI cannot report the active account. Update gh from https://cli.github.com/, then run gh auth status --hostname github.com. (gh_too_old)
--- gh ---
gh auth status
# metab https://github.com/octo/demo/pull/11 --no-serve
exit: 0
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
selection: pull_request
pin: c691256511d05858850bc7684ae062fea0d41132 (default branch topic)
pull_request: 11 (not opened: pull request 11 of https://github.com/octo/demo: GitHub's API rate limit is exhausted until 2026-09-23T16:46:00Z (rate_limited); the pin is the default branch)
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/11
# metab https://github.com/octo/demo/pull/11 --no-serve
exit: 0
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
selection: pull_request
pin: c691256511d05858850bc7684ae062fea0d41132 (default branch topic)
pull_request: 11 (not opened: pull request 11 of https://github.com/octo/demo: GitHub's API rate limit is exhausted until 2026-09-17T12:02:00Z (rate_limited); the pin is the default branch)
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/11
# metab https://github.com/octo/demo/pull/11 --no-serve
exit: 0
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
selection: pull_request
pin: c691256511d05858850bc7684ae062fea0d41132 (default branch topic)
pull_request: 11 (not opened: pull request 11 of https://github.com/octo/demo: GitHub's API rate limit is exhausted; try again in a few minutes (rate_limited); the pin is the default branch)
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/11
# metab https://github.com/octo/demo/pull/11 --no-serve
exit: 0
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
selection: pull_request
pin: c691256511d05858850bc7684ae062fea0d41132 (default branch topic)
pull_request: 11 (not opened: pull request 11 of https://github.com/octo/demo: GitHub could not be reached because the connection to api.github.com timed out (network_error); the pin is the default branch)
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/11
# metab https://github.com/octo/demo/pull/11 --api '/api/plugin/github/pull?number=11'
exit: 0
--- stdout ---
api: /api/plugin/github/pull?number=11
status: 200
{
  "state": "absent",
  "reason": "not_cached",
  "source": "https://github.com/octo/demo",
  "number": 11,
  "pin": "c691256511d05858850bc7684ae062fea0d41132",
  "pin_ref": "refs/remotes/origin/topic",
  "fetched_at": null,
  "verified_at": null,
  "verified_by": null,
  "head_moved": false,
  "checks_pending": false,
  "record_revision": null,
  "fresh_for_s": 60.0,
  "refreshing": false,
  "last_refresh": {
    "outcome": "rate_limited",
    "message": "GitHub's API rate limit is exhausted; try again in a few minutes",
    "reset_at": null,
    "at": "2026-09-17T12:00:00Z"
  },
  "comparison_route": null,
  "image_route": null,
  "rendered_route": null,
  "size_route": null,
  "record": null,
  "core_preview": null,
  "repository_labels": [],
  "labels_pending": false
}
--- stderr ---
selection: pull_request
pin: c691256511d05858850bc7684ae062fea0d41132 (default branch topic)
pull_request: 11 (not opened: pull request 11 of https://github.com/octo/demo: GitHub's API rate limit is exhausted; try again in a few minutes (rate_limited); the pin is the default branch)
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/11
## Git's fetch of refs/pull/7/head is answered here with the text Git printed for a repository GitHub does not show.
# metab https://github.com/octo/demo/pull/7 --no-serve
exit: 0
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
selection: pull_request
pin: 85fcb2fa9e77eb5db485ffef445cbbc645d6db4a (pull request 7 head)
pull_request: 7 (open; fetched 2026-09-17T12:00:00Z by gh:octo-reader; the refresh failed: the origin has no such pull request, or the repository is private and could not be read (not_found_or_private))
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/7 (If-None-Match)
gh api repos/octo/demo/commits/85fcb2fa9e77eb5db485ffef445cbbc645d6db4a/check-runs?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/commits/85fcb2fa9e77eb5db485ffef445cbbc645d6db4a/status?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/issues/7/comments?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/pulls/7/comments?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/pulls/7/reviews?per_page=100&page=1 (If-None-Match)
gh auth status
# metab https://github.com/octo/demo/pull/7 --no-serve
exit: 0
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
selection: pull_request
pin: 85fcb2fa9e77eb5db485ffef445cbbc645d6db4a (pull request 7 head)
pull_request: 7 (open; fetched 2026-09-17T12:00:00Z by gh:octo-reader; the refresh failed: the active gh account changed during the read, so what was read is discarded; open it again (account_changed))
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/7 (If-None-Match)
gh api repos/octo/demo/commits/85fcb2fa9e77eb5db485ffef445cbbc645d6db4a/check-runs?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/commits/85fcb2fa9e77eb5db485ffef445cbbc645d6db4a/status?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/issues/7/comments?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/pulls/7/comments?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/pulls/7/reviews?per_page=100&page=1 (If-None-Match)
gh auth status
# metab https://github.com/octo/demo/pull/7 --no-serve
exit: 0
--- stdout ---
acquired: https://github.com/octo/demo
slug: github-com-octo-demo-9vhngza0oa1
store: sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4
revision: c691256511d05858850bc7684ae062fea0d41132
selection: pull_request
pin: 85fcb2fa9e77eb5db485ffef445cbbc645d6db4a (pull request 7 head)
pull_request: 7 (open; fetched 2026-09-17T12:00:00Z by gh:octo-reader; the refresh failed: its head kept moving while it was read; open it again (head_mismatch))
--- stderr ---
using the clone of https://github.com/octo/demo cached in <HOME>, fetched less than a minute ago
--- gh ---
gh auth status
gh api repos/octo/demo/pulls/7 (If-None-Match)
gh api repos/octo/demo/commits/8ae27617c9c475851b67ee69433d008836d112ba/check-runs?per_page=100&page=1
gh api repos/octo/demo/commits/8ae27617c9c475851b67ee69433d008836d112ba/status?per_page=100&page=1
gh api repos/octo/demo/issues/7/comments?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/pulls/7/comments?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/pulls/7/reviews?per_page=100&page=1 (If-None-Match)
gh auth status
gh auth status
gh api repos/octo/demo/pulls/7 (If-None-Match)
gh api repos/octo/demo/commits/8ae27617c9c475851b67ee69433d008836d112ba/check-runs?per_page=100&page=1
gh api repos/octo/demo/commits/8ae27617c9c475851b67ee69433d008836d112ba/status?per_page=100&page=1
gh api repos/octo/demo/issues/7/comments?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/pulls/7/comments?per_page=100&page=1 (If-None-Match)
gh api repos/octo/demo/pulls/7/reviews?per_page=100&page=1 (If-None-Match)
gh auth status
# metab https://github.com/octo/demo/pull/11 --api '/api/plugin/github/pull?number=11'
exit: 1
--- stdout ---
--- stderr ---
Error: pull request 11 of https://github.com/octo/demo: Metabrowser could not find GitHub CLI (gh). Install it from https://cli.github.com/, then run gh auth login --hostname github.com. (gh_missing)
--- gh ---
# metab https://github.com/octo/demo/pull/7 --api '/api/plugin/github/pull?number=7'
exit: 0
--- stdout ---
api: /api/plugin/github/pull?number=7
status: 200
{
  "state": "current",
  "reason": null,
  "source": "https://github.com/octo/demo",
  "number": 7,
  "pin": "85fcb2fa9e77eb5db485ffef445cbbc645d6db4a",
  "pin_ref": "refs/pull/7/head",
  "fetched_at": "2026-09-17T12:00:00Z",
  "verified_at": "2026-09-17T12:00:00Z",
  "verified_by": "fetch",
  "head_moved": false,
  "checks_pending": true,
  "record_revision": "07eb0c3ec47a9c84c4d0b69ddfca32245cdede7023567fa7d179789783e8d66b",
  "fresh_for_s": 60.0,
  "refreshing": false,
  "last_refresh": {
    "outcome": "head_mismatch",
    "message": "its head kept moving while it was read; open it again",
    "reset_at": null,
    "at": "2026-09-17T12:00:00Z"
  },
  "comparison_route": "/api/plugin/github/pull-comparison?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&base_policy=merge_base&build=<BUILD>&store=<STORE>",
  "image_route": "/api/plugin/github/pull-image?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
  "rendered_route": "/api/plugin/github/pull-rendered-diff?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
  "size_route": "/api/plugin/github/pull-size?number=7&left=f92fd713acd521d4ebb62fb9f345ec927b8b6d1b&right=85fcb2fa9e77eb5db485ffef445cbbc645d6db4a&store=<STORE>",
  "record": "<RECORD 7>",
  "core_preview": null,
  "repository_labels": [],
  "labels_pending": false
}
--- stderr ---
selection: pull_request
pin: 85fcb2fa9e77eb5db485ffef445cbbc645d6db4a (pull request 7 head)
pull_request: 7 (open; fetched 2026-09-17T12:00:00Z by gh:octo-reader)
--- gh ---
# metab root --api /api/cache/source/github-com-octo-demo-9vhngza0oa1
exit: 0
--- stdout ---
api: /api/cache/source/github-com-octo-demo-9vhngza0oa1
status: 200
{
  "home": "present",
  "layout_format": "f03",
  "source": {
    "slug": "github-com-octo-demo-9vhngza0oa1",
    "publication": "published",
    "identity": {
      "id": "sha256:46386669dc018f7570de90cce6b7e97fcdcf2d10c5a4949e668d38336b0fb12e",
      "display_url": "https://github.com/octo/demo",
      "clone_url": "https://github.com/octo/demo",
      "transport": "https",
      "created_at": "2026-09-17T12:00:00Z"
    },
    "alias": {
      "store_id": "sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4",
      "generation": 1,
      "updated_at": "2026-09-17T12:00:00Z"
    },
    "state": {
      "last_opened_at": "2026-09-17T12:00:00Z"
    },
    "problems": [],
    "store": {
      "key": "github-com-octo-demo-e7qjzskw2rq",
      "id": "sha256:65157fba6c20ff9076eace172457003c29579e62f37f276de021d59f37cb9ab4",
      "publication": "published",
      "mode": "full",
      "lender": null,
      "identity": {
        "created_at": "2026-09-17T12:00:00Z",
        "acquisition": {
          "git_version": "<GIT_VERSION>",
          "object_format": "sha1"
        }
      },
      "state": {
        "default_remote_ref": "refs/remotes/origin/topic",
        "default_revision": "c691256511d05858850bc7684ae062fea0d41132",
        "last_fetch_at": "2026-09-17T12:00:00Z",
        "last_operation": {
          "kind": "acquire",
          "outcome": "succeeded",
          "at": "2026-09-17T12:00:00Z"
        }
      },
      "problems": []
    }
  }
}
--- stderr ---
--- gh ---
