Darkmatter · agent stage: prod
preview@internal.darkmatter
Events received
122269
Ignored
122114
Jobs dispatched
161

Event 31f49520…

← All events

Event

Delivery
31f49520-5c8e-11f1-9369-1bb0417a7fcd
Event
issue_comment
Action
created
Received
2026-05-31T01:15:23.094Z
Signature
valid
Parsed
yes
Sender
scottmcmaster
Repo
darkmatter/nixmac
Status
ignored — missing_command

Headers

{
  "accept": "*/*",
  "accept-encoding": "gzip, br",
  "cf-connecting-ip": "140.82.115.160",
  "cf-ipcountry": "US",
  "cf-ray": "a042208d4c969a65",
  "cf-visitor": "{\"scheme\":\"https\"}",
  "connection": "Keep-Alive",
  "content-length": "15337",
  "content-type": "application/json",
  "host": "github-bot.darkmatter.io",
  "user-agent": "GitHub-Hookshot/c97f169",
  "x-forwarded-proto": "https",
  "x-github-delivery": "31f49520-5c8e-11f1-9369-1bb0417a7fcd",
  "x-github-event": "issue_comment",
  "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.160"
}

Payload

{
  "action": "created",
  "issue": {
    "url": "https://api.github.com/repos/darkmatter/nixmac/issues/238",
    "repository_url": "https://api.github.com/repos/darkmatter/nixmac",
    "labels_url": "https://api.github.com/repos/darkmatter/nixmac/issues/238/labels{/name}",
    "comments_url": "https://api.github.com/repos/darkmatter/nixmac/issues/238/comments",
    "events_url": "https://api.github.com/repos/darkmatter/nixmac/issues/238/events",
    "html_url": "https://github.com/darkmatter/nixmac/pull/238",
    "id": 4547245528,
    "node_id": "PR_kwDOSB6EzM7glMuT",
    "number": 238,
    "title": "feat: introduce git2 for faster read-only Git operations; add profiling support",
    "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
    },
    "labels": [],
    "state": "open",
    "locked": false,
    "assignees": [
      {
        "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
      }
    ],
    "milestone": null,
    "comments": 3,
    "created_at": "2026-05-29T09:11:30Z",
    "updated_at": "2026-05-31T01:15:20Z",
    "closed_at": null,
    "assignee": {
      "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
    },
    "author_association": "CONTRIBUTOR",
    "issue_field_values": [],
    "type": null,
    "active_lock_reason": null,
    "draft": false,
    "pull_request": {
      "url": "https://api.github.com/repos/darkmatter/nixmac/pulls/238",
      "html_url": "https://github.com/darkmatter/nixmac/pull/238",
      "diff_url": "https://github.com/darkmatter/nixmac/pull/238.diff",
      "patch_url": "https://github.com/darkmatter/nixmac/pull/238.patch",
      "merged_at": null
    },
    "body": "## Summary\r\n\r\nIntroduces a git2 dependency and moves the most-clearly-safe git utilities from exec.rs into a new file query.rs with clear comments at the top of each file as to what should go where and why. I also introduced profiling support and docs.\r\n\r\nThe reason is this profile, which demonstrates that of the things we can actually control (without major architectural changes) during evolution, the git operations are pretty much the most expensive:\r\n\r\n<img width=\"816\" height=\"155\" alt=\"before\" src=\"https://github.com/user-attachments/assets/c889d9ea-c172-4ba4-aee4-0f127f22ea09\" />\r\n\r\nAfterwards it looks more like:\r\n\r\n<img width=\"1049\" height=\"125\" alt=\"after\" src=\"https://github.com/user-attachments/assets/cd61ece3-5b89-47c4-acad-7619f72368b4\" />\r\n\r\nwhere the individual functions migrated to git2 show up elsewhere but generally are more like:\r\n\r\n<img width=\"655\" height=\"136\" alt=\"Screenshot 2026-05-29 at 4 44 04 PM\" src=\"https://github.com/user-attachments/assets/a4b661ed-165c-4949-a072-63fbff5145e3\" />\r\n\r\nThere are a couple of reasons why it's not immediately clear that it's possible to just blanket-migrate everything in exec.rs to git2, and I won't go into all that here (although I added some clues in comments in the code)...but I will continue looking at opportunities.\r\n\r\n## Test Plan\r\n\r\nManual testing, profiling, added a bunch of new unit tests for the migrated functions.\r\n\r\n## Docs\r\n\r\n- [x] Docs updated\r\n- [ ] No docs update needed\r\n",
    "reactions": {
      "url": "https://api.github.com/repos/darkmatter/nixmac/issues/238/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    },
    "timeline_url": "https://api.github.com/repos/darkmatter/nixmac/issues/238/timeline",
    "performed_via_github_app": null,
    "state_reason": null
  },
  "comment": {
    "url": "https://api.github.com/repos/darkmatter/nixmac/issues/comments/4585348554",
    "html_url": "https://github.com/darkmatter/nixmac/pull/238#issuecomment-4585348554",
    "issue_url": "https://api.github.com/repos/darkmatter/nixmac/issues/238",
    "id": 4585348554,
    "node_id": "IC_kwDOSB6EzM8AAAABEU7dyg",
    "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
    },
    "created_at": "2026-05-31T01:15:20Z",
    "updated_at": "2026-05-31T01:15:20Z",
    "body": "> Nice, this profiler looks useful I was just wondering how to count allocations.\r\n\r\nIt's a separate \"Service\" in Instruments (which I have not tried yet on this project). See https://swiftdevjournal.com/measuring-your-apps-memory-usage-with-instruments/ (Disregard if that was not a question and you already figured it out ;-))",
    "author_association": "MEMBER",
    "reactions": {
      "url": "https://api.github.com/repos/darkmatter/nixmac/issues/comments/4585348554/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    },
    "performed_via_github_app": null
  },
  "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-05-29T02:08:22Z",
    "pushed_at": "2026-05-31T01:08:51Z",
    "git_url": "git://github.com/darkmatter/nixmac.git",
    "ssh_url": "git@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": 678710,
    "stargazers_count": 5,
    "watchers_count": 5,
    "language": "Rust",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": false,
    "has_discussions": false,
    "forks_count": 1,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 84,
    "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": 1,
    "open_issues": 84,
    "watchers": 5,
    "default_branch": "develop",
    "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-05-09T15:34:55Z"
  },
  "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"
  }
}