Darkmatter · agent stage: prod
preview@internal.darkmatter
Events received
179548
Ignored
179232
Jobs dispatched
322

Event 7beb5d60…

← All events

Event

Delivery
7beb5d60-8418-11f1-89da-3f3958ec3080
Event
pull_request_review_thread
Action
resolved
Received
2026-07-20T08:53:32.691Z
Signature
valid
Parsed
yes
Sender
scottmcmaster
Repo
darkmatter/nixmac
Status
ignored — unsupported_event

Headers

{
  "accept": "*/*",
  "accept-encoding": "gzip, br",
  "cf-connecting-ip": "140.82.115.95",
  "cf-ipcountry": "US",
  "cf-ray": "a1e0bc6f4f32c57c",
  "cf-visitor": "{\"scheme\":\"https\"}",
  "connection": "Keep-Alive",
  "content-length": "30566",
  "content-type": "application/json",
  "host": "github-bot.darkmatter.io",
  "user-agent": "GitHub-Hookshot/11cb4cc",
  "x-forwarded-proto": "https",
  "x-github-delivery": "7beb5d60-8418-11f1-89da-3f3958ec3080",
  "x-github-event": "pull_request_review_thread",
  "x-github-hook-id": "628737947",
  "x-github-hook-installation-target-id": "3663660",
  "x-github-hook-installation-target-type": "integration",
  "x-real-ip": "140.82.115.95"
}

Payload

{
  "action": "resolved",
  "pull_request": {
    "url": "https://api.github.com/repos/darkmatter/nixmac/pulls/563",
    "id": 4087691499,
    "node_id": "PR_kwDOSB6EzM7zpTjr",
    "html_url": "https://github.com/darkmatter/nixmac/pull/563",
    "diff_url": "https://github.com/darkmatter/nixmac/pull/563.diff",
    "patch_url": "https://github.com/darkmatter/nixmac/pull/563.patch",
    "issue_url": "https://api.github.com/repos/darkmatter/nixmac/issues/563",
    "number": 563,
    "state": "open",
    "locked": false,
    "title": "feature: show git auto-update status (read-only) in the UI when env var is set",
    "user": {
      "login": "scottmcmaster",
      "id": 3137688,
      "node_id": "MDQ6VXNlcjMxMzc2ODg=",
      "avatar_url": "https://avatars.githubusercontent.com/u/3137688?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/scottmcmaster",
      "html_url": "https://github.com/scottmcmaster",
      "followers_url": "https://api.github.com/users/scottmcmaster/followers",
      "following_url": "https://api.github.com/users/scottmcmaster/following{/other_user}",
      "gists_url": "https://api.github.com/users/scottmcmaster/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/scottmcmaster/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/scottmcmaster/subscriptions",
      "organizations_url": "https://api.github.com/users/scottmcmaster/orgs",
      "repos_url": "https://api.github.com/users/scottmcmaster/repos",
      "events_url": "https://api.github.com/users/scottmcmaster/events{/privacy}",
      "received_events_url": "https://api.github.com/users/scottmcmaster/received_events",
      "type": "User",
      "user_view_type": "public",
      "site_admin": false
    },
    "body": "## Summary\r\n\r\nA previous PR of mine put in place a change to check in the background and log if we detected that we were in a state where we could do a git fast-forward pull on behalf of the user and log the result. This change extends that work to hook the result up to the UI based on an environment variable which will eventually be a UI preference, namely `NIXMAC_GIT_AUTO_UPDATE_MODE`.\r\n\r\nYou will see this behavior if you set `NIXMAC_GIT_AUTO_UPDATE_MODE` to `confirm` or `automatic`; otherwise we won't even check.\r\n\r\n<img width=\"787\" height=\"601\" alt=\"Screenshot 2026-07-20 at 8 46 22 AM\" src=\"https://github.com/user-attachments/assets/d8f3377b-85a2-4d24-9a26-be7834e8bd28\" />\r\n\r\n## Test Plan\r\n\r\nMostly manual with some small unit testing around the env var / pref.\r\n\r\n- [ ] No test plan needed\r\n\r\n## Docs\r\n\r\n- [ ] Docs updated (companion PR in darkmatter/nixmac-web: #\\_\\_\\_)\r\n- [x] No docs update needed\r\n",
    "created_at": "2026-07-20T01:05:22Z",
    "updated_at": "2026-07-20T04:52:56Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": "08ac6896818fc68053a5f3a8ea426fa5a050a92a",
    "assignees": [],
    "requested_reviewers": [
      {
        "login": "czxtm",
        "id": 1325802,
        "node_id": "MDQ6VXNlcjEzMjU4MDI=",
        "avatar_url": "https://avatars.githubusercontent.com/u/1325802?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/czxtm",
        "html_url": "https://github.com/czxtm",
        "followers_url": "https://api.github.com/users/czxtm/followers",
        "following_url": "https://api.github.com/users/czxtm/following{/other_user}",
        "gists_url": "https://api.github.com/users/czxtm/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/czxtm/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/czxtm/subscriptions",
        "organizations_url": "https://api.github.com/users/czxtm/orgs",
        "repos_url": "https://api.github.com/users/czxtm/repos",
        "events_url": "https://api.github.com/users/czxtm/events{/privacy}",
        "received_events_url": "https://api.github.com/users/czxtm/received_events",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      {
        "login": "alex-sparus",
        "id": 110031243,
        "node_id": "U_kgDOBo7xiw",
        "avatar_url": "https://avatars.githubusercontent.com/u/110031243?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/alex-sparus",
        "html_url": "https://github.com/alex-sparus",
        "followers_url": "https://api.github.com/users/alex-sparus/followers",
        "following_url": "https://api.github.com/users/alex-sparus/following{/other_user}",
        "gists_url": "https://api.github.com/users/alex-sparus/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/alex-sparus/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/alex-sparus/subscriptions",
        "organizations_url": "https://api.github.com/users/alex-sparus/orgs",
        "repos_url": "https://api.github.com/users/alex-sparus/repos",
        "events_url": "https://api.github.com/users/alex-sparus/events{/privacy}",
        "received_events_url": "https://api.github.com/users/alex-sparus/received_events",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      {
        "login": "fkb032",
        "id": 249513614,
        "node_id": "U_kgDODt9Gjg",
        "avatar_url": "https://avatars.githubusercontent.com/u/249513614?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/fkb032",
        "html_url": "https://github.com/fkb032",
        "followers_url": "https://api.github.com/users/fkb032/followers",
        "following_url": "https://api.github.com/users/fkb032/following{/other_user}",
        "gists_url": "https://api.github.com/users/fkb032/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/fkb032/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/fkb032/subscriptions",
        "organizations_url": "https://api.github.com/users/fkb032/orgs",
        "repos_url": "https://api.github.com/users/fkb032/repos",
        "events_url": "https://api.github.com/users/fkb032/events{/privacy}",
        "received_events_url": "https://api.github.com/users/fkb032/received_events",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      }
    ],
    "requested_teams": [],
    "labels": [],
    "milestone": null,
    "draft": false,
    "commits_url": "https://api.github.com/repos/darkmatter/nixmac/pulls/563/commits",
    "review_comments_url": "https://api.github.com/repos/darkmatter/nixmac/pulls/563/comments",
    "review_comment_url": "https://api.github.com/repos/darkmatter/nixmac/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/darkmatter/nixmac/issues/563/comments",
    "statuses_url": "https://api.github.com/repos/darkmatter/nixmac/statuses/e62e77a3203f2393b3294219f2b7dd511fcf7919",
    "head": {
      "label": "darkmatter:07-20-scott-show-git-autoupdate-status-in-ui",
      "ref": "07-20-scott-show-git-autoupdate-status-in-ui",
      "sha": "e62e77a3203f2393b3294219f2b7dd511fcf7919",
      "user": {
        "login": "darkmatter",
        "id": 17834193,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
        "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/darkmatter",
        "html_url": "https://github.com/darkmatter",
        "followers_url": "https://api.github.com/users/darkmatter/followers",
        "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
        "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
        "organizations_url": "https://api.github.com/users/darkmatter/orgs",
        "repos_url": "https://api.github.com/users/darkmatter/repos",
        "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
        "received_events_url": "https://api.github.com/users/darkmatter/received_events",
        "type": "Organization",
        "user_view_type": "public",
        "site_admin": false
      },
      "repo": {
        "id": 1209959628,
        "node_id": "R_kgDOSB6EzA",
        "name": "nixmac",
        "full_name": "darkmatter/nixmac",
        "private": false,
        "owner": {
          "login": "darkmatter",
          "id": 17834193,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
          "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/darkmatter",
          "html_url": "https://github.com/darkmatter",
          "followers_url": "https://api.github.com/users/darkmatter/followers",
          "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
          "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
          "organizations_url": "https://api.github.com/users/darkmatter/orgs",
          "repos_url": "https://api.github.com/users/darkmatter/repos",
          "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
          "received_events_url": "https://api.github.com/users/darkmatter/received_events",
          "type": "Organization",
          "user_view_type": "public",
          "site_admin": false
        },
        "html_url": "https://github.com/darkmatter/nixmac",
        "description": "Home manager and nix-darwin that understands plain English",
        "fork": false,
        "url": "https://api.github.com/repos/darkmatter/nixmac",
        "forks_url": "https://api.github.com/repos/darkmatter/nixmac/forks",
        "keys_url": "https://api.github.com/repos/darkmatter/nixmac/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/darkmatter/nixmac/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/darkmatter/nixmac/teams",
        "hooks_url": "https://api.github.com/repos/darkmatter/nixmac/hooks",
        "issue_events_url": "https://api.github.com/repos/darkmatter/nixmac/issues/events{/number}",
        "events_url": "https://api.github.com/repos/darkmatter/nixmac/events",
        "assignees_url": "https://api.github.com/repos/darkmatter/nixmac/assignees{/user}",
        "branches_url": "https://api.github.com/repos/darkmatter/nixmac/branches{/branch}",
        "tags_url": "https://api.github.com/repos/darkmatter/nixmac/tags",
        "blobs_url": "https://api.github.com/repos/darkmatter/nixmac/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/darkmatter/nixmac/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/darkmatter/nixmac/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/darkmatter/nixmac/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/darkmatter/nixmac/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/darkmatter/nixmac/languages",
        "stargazers_url": "https://api.github.com/repos/darkmatter/nixmac/stargazers",
        "contributors_url": "https://api.github.com/repos/darkmatter/nixmac/contributors",
        "subscribers_url": "https://api.github.com/repos/darkmatter/nixmac/subscribers",
        "subscription_url": "https://api.github.com/repos/darkmatter/nixmac/subscription",
        "commits_url": "https://api.github.com/repos/darkmatter/nixmac/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/darkmatter/nixmac/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/darkmatter/nixmac/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/darkmatter/nixmac/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/darkmatter/nixmac/contents/{+path}",
        "compare_url": "https://api.github.com/repos/darkmatter/nixmac/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/darkmatter/nixmac/merges",
        "archive_url": "https://api.github.com/repos/darkmatter/nixmac/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/darkmatter/nixmac/downloads",
        "issues_url": "https://api.github.com/repos/darkmatter/nixmac/issues{/number}",
        "pulls_url": "https://api.github.com/repos/darkmatter/nixmac/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/darkmatter/nixmac/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/darkmatter/nixmac/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/darkmatter/nixmac/labels{/name}",
        "releases_url": "https://api.github.com/repos/darkmatter/nixmac/releases{/id}",
        "deployments_url": "https://api.github.com/repos/darkmatter/nixmac/deployments",
        "created_at": "2026-04-14T00:37:13Z",
        "updated_at": "2026-07-19T23:12:23Z",
        "pushed_at": "2026-07-20T08:44:11Z",
        "git_url": "git://github.com/darkmatter/nixmac.git",
        "ssh_url": "org-17834193@github.com:darkmatter/nixmac.git",
        "clone_url": "https://github.com/darkmatter/nixmac.git",
        "svn_url": "https://github.com/darkmatter/nixmac",
        "homepage": "https://nixmac.com",
        "size": 688827,
        "stargazers_count": 21,
        "watchers_count": 21,
        "language": "Rust",
        "has_issues": true,
        "has_projects": false,
        "has_downloads": true,
        "has_wiki": false,
        "has_pages": true,
        "has_discussions": true,
        "forks_count": 2,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 99,
        "license": {
          "key": "mit",
          "name": "MIT License",
          "spdx_id": "MIT",
          "url": "https://api.github.com/licenses/mit",
          "node_id": "MDc6TGljZW5zZTEz"
        },
        "allow_forking": true,
        "is_template": false,
        "web_commit_signoff_required": false,
        "has_pull_requests": true,
        "pull_request_creation_policy": "all",
        "topics": [
          "home-manager",
          "nix",
          "nix-darwin",
          "nix-flake",
          "opencode"
        ],
        "visibility": "public",
        "forks": 2,
        "open_issues": 99,
        "watchers": 21,
        "default_branch": "main"
      }
    },
    "base": {
      "label": "darkmatter:main",
      "ref": "main",
      "sha": "da7c4ce6ba7296a077160b5a72bc92af2fae17cf",
      "user": {
        "login": "darkmatter",
        "id": 17834193,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
        "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/darkmatter",
        "html_url": "https://github.com/darkmatter",
        "followers_url": "https://api.github.com/users/darkmatter/followers",
        "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
        "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
        "organizations_url": "https://api.github.com/users/darkmatter/orgs",
        "repos_url": "https://api.github.com/users/darkmatter/repos",
        "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
        "received_events_url": "https://api.github.com/users/darkmatter/received_events",
        "type": "Organization",
        "user_view_type": "public",
        "site_admin": false
      },
      "repo": {
        "id": 1209959628,
        "node_id": "R_kgDOSB6EzA",
        "name": "nixmac",
        "full_name": "darkmatter/nixmac",
        "private": false,
        "owner": {
          "login": "darkmatter",
          "id": 17834193,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
          "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/darkmatter",
          "html_url": "https://github.com/darkmatter",
          "followers_url": "https://api.github.com/users/darkmatter/followers",
          "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
          "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
          "organizations_url": "https://api.github.com/users/darkmatter/orgs",
          "repos_url": "https://api.github.com/users/darkmatter/repos",
          "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
          "received_events_url": "https://api.github.com/users/darkmatter/received_events",
          "type": "Organization",
          "user_view_type": "public",
          "site_admin": false
        },
        "html_url": "https://github.com/darkmatter/nixmac",
        "description": "Home manager and nix-darwin that understands plain English",
        "fork": false,
        "url": "https://api.github.com/repos/darkmatter/nixmac",
        "forks_url": "https://api.github.com/repos/darkmatter/nixmac/forks",
        "keys_url": "https://api.github.com/repos/darkmatter/nixmac/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/darkmatter/nixmac/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/darkmatter/nixmac/teams",
        "hooks_url": "https://api.github.com/repos/darkmatter/nixmac/hooks",
        "issue_events_url": "https://api.github.com/repos/darkmatter/nixmac/issues/events{/number}",
        "events_url": "https://api.github.com/repos/darkmatter/nixmac/events",
        "assignees_url": "https://api.github.com/repos/darkmatter/nixmac/assignees{/user}",
        "branches_url": "https://api.github.com/repos/darkmatter/nixmac/branches{/branch}",
        "tags_url": "https://api.github.com/repos/darkmatter/nixmac/tags",
        "blobs_url": "https://api.github.com/repos/darkmatter/nixmac/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/darkmatter/nixmac/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/darkmatter/nixmac/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/darkmatter/nixmac/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/darkmatter/nixmac/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/darkmatter/nixmac/languages",
        "stargazers_url": "https://api.github.com/repos/darkmatter/nixmac/stargazers",
        "contributors_url": "https://api.github.com/repos/darkmatter/nixmac/contributors",
        "subscribers_url": "https://api.github.com/repos/darkmatter/nixmac/subscribers",
        "subscription_url": "https://api.github.com/repos/darkmatter/nixmac/subscription",
        "commits_url": "https://api.github.com/repos/darkmatter/nixmac/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/darkmatter/nixmac/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/darkmatter/nixmac/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/darkmatter/nixmac/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/darkmatter/nixmac/contents/{+path}",
        "compare_url": "https://api.github.com/repos/darkmatter/nixmac/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/darkmatter/nixmac/merges",
        "archive_url": "https://api.github.com/repos/darkmatter/nixmac/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/darkmatter/nixmac/downloads",
        "issues_url": "https://api.github.com/repos/darkmatter/nixmac/issues{/number}",
        "pulls_url": "https://api.github.com/repos/darkmatter/nixmac/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/darkmatter/nixmac/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/darkmatter/nixmac/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/darkmatter/nixmac/labels{/name}",
        "releases_url": "https://api.github.com/repos/darkmatter/nixmac/releases{/id}",
        "deployments_url": "https://api.github.com/repos/darkmatter/nixmac/deployments",
        "created_at": "2026-04-14T00:37:13Z",
        "updated_at": "2026-07-19T23:12:23Z",
        "pushed_at": "2026-07-20T08:44:11Z",
        "git_url": "git://github.com/darkmatter/nixmac.git",
        "ssh_url": "org-17834193@github.com:darkmatter/nixmac.git",
        "clone_url": "https://github.com/darkmatter/nixmac.git",
        "svn_url": "https://github.com/darkmatter/nixmac",
        "homepage": "https://nixmac.com",
        "size": 688827,
        "stargazers_count": 21,
        "watchers_count": 21,
        "language": "Rust",
        "has_issues": true,
        "has_projects": false,
        "has_downloads": true,
        "has_wiki": false,
        "has_pages": true,
        "has_discussions": true,
        "forks_count": 2,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 99,
        "license": {
          "key": "mit",
          "name": "MIT License",
          "spdx_id": "MIT",
          "url": "https://api.github.com/licenses/mit",
          "node_id": "MDc6TGljZW5zZTEz"
        },
        "allow_forking": true,
        "is_template": false,
        "web_commit_signoff_required": false,
        "has_pull_requests": true,
        "pull_request_creation_policy": "all",
        "topics": [
          "home-manager",
          "nix",
          "nix-darwin",
          "nix-flake",
          "opencode"
        ],
        "visibility": "public",
        "forks": 2,
        "open_issues": 99,
        "watchers": 21,
        "default_branch": "main"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/pulls/563"
      },
      "html": {
        "href": "https://github.com/darkmatter/nixmac/pull/563"
      },
      "issue": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/issues/563"
      },
      "comments": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/issues/563/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/pulls/563/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/pulls/563/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/statuses/e62e77a3203f2393b3294219f2b7dd511fcf7919"
      }
    },
    "author_association": "COLLABORATOR",
    "auto_merge": null,
    "assignee": null,
    "active_lock_reason": null
  },
  "thread": {
    "node_id": "PRRT_kwDOSB6EzM6SIN9B",
    "comments": [
      {
        "url": "https://api.github.com/repos/darkmatter/nixmac/pulls/comments/3611675475",
        "pull_request_review_id": 4731788264,
        "id": 3611675475,
        "node_id": "PRRC_kwDOSB6EzM7XRctT",
        "diff_hunk": "@@ -34,6 +34,34 @@ static LAST_AUTO_UPDATE_CHECK: Mutex<Option<(String, Instant)>> = Mutex::new(Non\n /// every 5 minutes.\n const AUTO_UPDATE_CHECK_INTERVAL: Duration = Duration::from_secs(5 * 60);\n \n+/// Git auto-update mode preference values.\n+#[derive(Debug, Clone, Copy, PartialEq, Eq)]\n+enum GitAutoUpdateMode {\n+    Off,\n+    Confirm,\n+    Automatic,\n+}\n+\n+/// Git auto-update mode preference implementation.\n+/// TODO: Move to real system preference when ready to hook up to UI.\n+impl GitAutoUpdateMode {\n+    fn from_env() -> Self {\n+        Self::from_value(std::env::var(\"NIXMAC_GIT_AUTO_UPDATE_MODE\").ok().as_deref())\n+    }\n+\n+    fn from_value(value: Option<&str>) -> Self {\n+        match value {\n+            Some(\"confirm\") => Self::Confirm,\n+            Some(\"automatic\") => Self::Automatic,\n+            Some(value) if !value.is_empty() && value != \"off\" => {\n+                log::warn!(\"[watcher] ignoring invalid NIXMAC_GIT_AUTO_UPDATE_MODE value: {value}\");\n+                Self::Off\n+            }\n+            _ => Self::Off,\n+        }\n+    }",
        "path": "apps/native/src-tauri/src/state/watcher.rs",
        "commit_id": "e62e77a3203f2393b3294219f2b7dd511fcf7919",
        "original_commit_id": "60666263dfa66a753041908e56fb8c3488465832",
        "user": {
          "login": "Copilot",
          "id": 175728472,
          "node_id": "BOT_kgDOCnlnWA",
          "avatar_url": "https://avatars.githubusercontent.com/in/946600?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/Copilot",
          "html_url": "https://github.com/apps/copilot-pull-request-reviewer",
          "followers_url": "https://api.github.com/users/Copilot/followers",
          "following_url": "https://api.github.com/users/Copilot/following{/other_user}",
          "gists_url": "https://api.github.com/users/Copilot/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/Copilot/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/Copilot/subscriptions",
          "organizations_url": "https://api.github.com/users/Copilot/orgs",
          "repos_url": "https://api.github.com/users/Copilot/repos",
          "events_url": "https://api.github.com/users/Copilot/events{/privacy}",
          "received_events_url": "https://api.github.com/users/Copilot/received_events",
          "type": "Bot",
          "user_view_type": "public",
          "site_admin": false
        },
        "body": "The PR description says the UI should activate when `NIXMAC_GIT_AUTO_UPDATE_MODE` is set to `confirm` or `auto`, but the implementation only accepts `confirm` or `automatic`. Either accept `auto` as an alias for `automatic` (and ideally add a unit test case for it), or update the PR description/UI copy to match the supported values.",
        "created_at": "2026-07-20T01:31:44Z",
        "updated_at": "2026-07-20T01:31:45Z",
        "html_url": "https://github.com/darkmatter/nixmac/pull/563#discussion_r3611675475",
        "pull_request_url": "https://api.github.com/repos/darkmatter/nixmac/pulls/563",
        "_links": {
          "self": {
            "href": "https://api.github.com/repos/darkmatter/nixmac/pulls/comments/3611675475"
          },
          "html": {
            "href": "https://github.com/darkmatter/nixmac/pull/563#discussion_r3611675475"
          },
          "pull_request": {
            "href": "https://api.github.com/repos/darkmatter/nixmac/pulls/563"
          }
        },
        "reactions": {
          "url": "https://api.github.com/repos/darkmatter/nixmac/pulls/comments/3611675475/reactions",
          "total_count": 0,
          "+1": 0,
          "-1": 0,
          "laugh": 0,
          "hooray": 0,
          "confused": 0,
          "heart": 0,
          "rocket": 0,
          "eyes": 0
        },
        "start_line": 52,
        "original_start_line": 52,
        "start_side": "RIGHT",
        "line": 62,
        "original_line": 62,
        "side": "RIGHT",
        "author_association": "CONTRIBUTOR",
        "original_position": 29,
        "position": 29,
        "subject_type": "line"
      }
    ]
  },
  "updated_at": "2026-07-20T16:53:31+08:00",
  "repository": {
    "id": 1209959628,
    "node_id": "R_kgDOSB6EzA",
    "name": "nixmac",
    "full_name": "darkmatter/nixmac",
    "private": false,
    "owner": {
      "login": "darkmatter",
      "id": 17834193,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
      "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/darkmatter",
      "html_url": "https://github.com/darkmatter",
      "followers_url": "https://api.github.com/users/darkmatter/followers",
      "following_url": "https://api.github.com/users/darkmatter/following{/other_user}",
      "gists_url": "https://api.github.com/users/darkmatter/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/darkmatter/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/darkmatter/subscriptions",
      "organizations_url": "https://api.github.com/users/darkmatter/orgs",
      "repos_url": "https://api.github.com/users/darkmatter/repos",
      "events_url": "https://api.github.com/users/darkmatter/events{/privacy}",
      "received_events_url": "https://api.github.com/users/darkmatter/received_events",
      "type": "Organization",
      "user_view_type": "public",
      "site_admin": false
    },
    "html_url": "https://github.com/darkmatter/nixmac",
    "description": "Home manager and nix-darwin that understands plain English",
    "fork": false,
    "url": "https://api.github.com/repos/darkmatter/nixmac",
    "forks_url": "https://api.github.com/repos/darkmatter/nixmac/forks",
    "keys_url": "https://api.github.com/repos/darkmatter/nixmac/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/darkmatter/nixmac/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/darkmatter/nixmac/teams",
    "hooks_url": "https://api.github.com/repos/darkmatter/nixmac/hooks",
    "issue_events_url": "https://api.github.com/repos/darkmatter/nixmac/issues/events{/number}",
    "events_url": "https://api.github.com/repos/darkmatter/nixmac/events",
    "assignees_url": "https://api.github.com/repos/darkmatter/nixmac/assignees{/user}",
    "branches_url": "https://api.github.com/repos/darkmatter/nixmac/branches{/branch}",
    "tags_url": "https://api.github.com/repos/darkmatter/nixmac/tags",
    "blobs_url": "https://api.github.com/repos/darkmatter/nixmac/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/darkmatter/nixmac/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/darkmatter/nixmac/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/darkmatter/nixmac/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/darkmatter/nixmac/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/darkmatter/nixmac/languages",
    "stargazers_url": "https://api.github.com/repos/darkmatter/nixmac/stargazers",
    "contributors_url": "https://api.github.com/repos/darkmatter/nixmac/contributors",
    "subscribers_url": "https://api.github.com/repos/darkmatter/nixmac/subscribers",
    "subscription_url": "https://api.github.com/repos/darkmatter/nixmac/subscription",
    "commits_url": "https://api.github.com/repos/darkmatter/nixmac/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/darkmatter/nixmac/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/darkmatter/nixmac/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/darkmatter/nixmac/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/darkmatter/nixmac/contents/{+path}",
    "compare_url": "https://api.github.com/repos/darkmatter/nixmac/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/darkmatter/nixmac/merges",
    "archive_url": "https://api.github.com/repos/darkmatter/nixmac/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/darkmatter/nixmac/downloads",
    "issues_url": "https://api.github.com/repos/darkmatter/nixmac/issues{/number}",
    "pulls_url": "https://api.github.com/repos/darkmatter/nixmac/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/darkmatter/nixmac/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/darkmatter/nixmac/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/darkmatter/nixmac/labels{/name}",
    "releases_url": "https://api.github.com/repos/darkmatter/nixmac/releases{/id}",
    "deployments_url": "https://api.github.com/repos/darkmatter/nixmac/deployments",
    "created_at": "2026-04-14T00:37:13Z",
    "updated_at": "2026-07-19T23:12:23Z",
    "pushed_at": "2026-07-20T08:44:11Z",
    "git_url": "git://github.com/darkmatter/nixmac.git",
    "ssh_url": "org-17834193@github.com:darkmatter/nixmac.git",
    "clone_url": "https://github.com/darkmatter/nixmac.git",
    "svn_url": "https://github.com/darkmatter/nixmac",
    "homepage": "https://nixmac.com",
    "size": 688827,
    "stargazers_count": 21,
    "watchers_count": 21,
    "language": "Rust",
    "has_issues": true,
    "has_projects": false,
    "has_downloads": true,
    "has_wiki": false,
    "has_pages": true,
    "has_discussions": true,
    "forks_count": 2,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 99,
    "license": {
      "key": "mit",
      "name": "MIT License",
      "spdx_id": "MIT",
      "url": "https://api.github.com/licenses/mit",
      "node_id": "MDc6TGljZW5zZTEz"
    },
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": false,
    "has_pull_requests": true,
    "pull_request_creation_policy": "all",
    "topics": [
      "home-manager",
      "nix",
      "nix-darwin",
      "nix-flake",
      "opencode"
    ],
    "visibility": "public",
    "forks": 2,
    "open_issues": 99,
    "watchers": 21,
    "default_branch": "main",
    "custom_properties": {}
  },
  "organization": {
    "login": "darkmatter",
    "id": 17834193,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3ODM0MTkz",
    "url": "https://api.github.com/orgs/darkmatter",
    "repos_url": "https://api.github.com/orgs/darkmatter/repos",
    "events_url": "https://api.github.com/orgs/darkmatter/events",
    "hooks_url": "https://api.github.com/orgs/darkmatter/hooks",
    "issues_url": "https://api.github.com/orgs/darkmatter/issues",
    "members_url": "https://api.github.com/orgs/darkmatter/members{/member}",
    "public_members_url": "https://api.github.com/orgs/darkmatter/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/17834193?v=4",
    "description": ""
  },
  "enterprise": {
    "id": 469843,
    "slug": "darkmatter",
    "name": "darkmatter",
    "node_id": "E_kgDOAAcrUw",
    "avatar_url": "https://avatars.githubusercontent.com/b/469843?v=4",
    "description": "",
    "website_url": "darkmatter.io",
    "html_url": "https://github.com/enterprises/darkmatter",
    "created_at": "2025-09-07T16:01:00Z",
    "updated_at": "2026-07-07T15:59:26Z"
  },
  "sender": {
    "login": "scottmcmaster",
    "id": 3137688,
    "node_id": "MDQ6VXNlcjMxMzc2ODg=",
    "avatar_url": "https://avatars.githubusercontent.com/u/3137688?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/scottmcmaster",
    "html_url": "https://github.com/scottmcmaster",
    "followers_url": "https://api.github.com/users/scottmcmaster/followers",
    "following_url": "https://api.github.com/users/scottmcmaster/following{/other_user}",
    "gists_url": "https://api.github.com/users/scottmcmaster/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/scottmcmaster/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/scottmcmaster/subscriptions",
    "organizations_url": "https://api.github.com/users/scottmcmaster/orgs",
    "repos_url": "https://api.github.com/users/scottmcmaster/repos",
    "events_url": "https://api.github.com/users/scottmcmaster/events{/privacy}",
    "received_events_url": "https://api.github.com/users/scottmcmaster/received_events",
    "type": "User",
    "user_view_type": "public",
    "site_admin": false
  },
  "installation": {
    "id": 131074261,
    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMxMDc0MjYx"
  }
}