Darkmatter · github-bot stage: prod
preview@internal.darkmatter
Events received
27421
Ignored
27407
Jobs dispatched
14

Event c8bec354…

← All events

Event

Delivery
c8bec354-60df-11f1-8de9-f3c7c33f5ac2
Event
pull_request_review
Action
submitted
Received
2026-06-05T13:09:30.384Z
Signature
valid
Parsed
yes
Sender
Copilot
Repo
darkmatter/nixmac
Status
ignored — unsupported_event

Headers

{
  "accept": "*/*",
  "accept-encoding": "gzip, br",
  "cf-connecting-ip": "140.82.115.102",
  "cf-ipcountry": "US",
  "cf-ray": "a06f69808d260957",
  "cf-visitor": "{\"scheme\":\"https\"}",
  "connection": "Keep-Alive",
  "content-length": "33630",
  "content-type": "application/json",
  "host": "github-bot.darkmatter.io",
  "user-agent": "GitHub-Hookshot/ee2cf13",
  "x-forwarded-proto": "https",
  "x-github-delivery": "c8bec354-60df-11f1-8de9-f3c7c33f5ac2",
  "x-github-event": "pull_request_review",
  "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.102"
}

Payload

{
  "action": "submitted",
  "review": {
    "id": 4436488301,
    "node_id": "PRR_kwDOSB6EzM8AAAABCG9wbQ",
    "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": "## Pull request overview\n\nThis PR completes the backend SQLite access migration from ad-hoc `rusqlite::Connection::open` usage to a shared Diesel `r2d2` connection pool (`DbPool`) managed in Tauri state, and switches schema bootstrapping to embedded Diesel migrations. This aligns the backend with the state-management migration plan’s Phase 2 and removes `rusqlite` from the dependency graph while preserving existing DB behavior (including stale-DB recreation via `PRAGMA user_version`).\n\n**Changes:**\n- Replace direct SQLite opens with `tauri::State<DbPool>` access across summarization, history, evolve lifecycle, and build/watch state paths.\n- Move schema init to `diesel_migrations::embed_migrations!` and apply migrations during startup before any DB consumers start.\n- Remove `rusqlite` dependency and pin `libsqlite3-sys` with `bundled` so Diesel ships a self-contained SQLite.\n\n### Reviewed changes\n\nCopilot reviewed 29 out of 30 changed files in this pull request and generated 2 comments.\n\n<details>\n<summary>Show a summary per file</summary>\n\n| File | Description |\r\n| ---- | ----------- |\r\n| docs/2026-06-03-pr-review-followups.md | Adds synthesized follow-up plan and review notes for earlier migration PRs. |\r\n| Cargo.lock | Drops `rusqlite` and related transitive crates; adds/preserves `libsqlite3-sys` usage. |\r\n| apps/native/src-tauri/Cargo.toml | Removes `rusqlite`; adds `libsqlite3-sys` bundled pin for Diesel. |\r\n| apps/native/src-tauri/src/main.rs | Initializes DB synchronously in setup before starting DB consumers (e.g., summarizer worker). |\r\n| apps/native/src-tauri/src/db/pool.rs | Defines `DbPool` and centralizes pooled connection management. |\r\n| apps/native/src-tauri/src/db/schema.rs | Implements migration-based schema bootstrap + stale DB recreation via `user_version`. |\r\n| apps/native/src-tauri/src/db/tables.rs | Adds Diesel `table!` declarations and join metadata for all DB tables. |\r\n| apps/native/src-tauri/src/db/changesets.rs | Rewrites changeset CRUD/query logic to Diesel DSL + `sql_query` for complex joins. |\r\n| apps/native/src-tauri/src/db/commits.rs | Consolidates commit persistence on Diesel pool; removes legacy rusqlite path. |\r\n| apps/native/src-tauri/src/db/evolutions.rs | Migrates evolution upsert to Diesel and adds unit coverage. |\r\n| apps/native/src-tauri/src/db/restore_commits.rs | Migrates restore provenance storage/read to Diesel; adds round-trip test. |\r\n| apps/native/src-tauri/src/db/store_new_changeset.rs | Wraps new changeset persistence in Diesel transactions using pooled connections. |\r\n| apps/native/src-tauri/src/db/store_evolved_changeset.rs | Wraps evolved changeset persistence in Diesel transactions using pooled connections. |\r\n| apps/native/src-tauri/src/db/store_bare_changeset.rs | Migrates bare changeset persistence to Diesel transaction on pooled connection. |\r\n| apps/native/src-tauri/src/summarize/queue_summarizer.rs | Switches summarizer queue worker to pooled Diesel connections + Diesel transactions. |\r\n| apps/native/src-tauri/src/summarize/find_existing.rs | Reworks lookup helpers to use `DbPool` instead of db-path + direct connections. |\r\n| apps/native/src-tauri/src/summarize/mod.rs | Threads `DbPool` usage through summarization entry points. |\r\n| apps/native/src-tauri/src/summarize/pipelines/history.rs | Updates history summarization pipeline to use pooled DB access. |\r\n| apps/native/src-tauri/src/summarize/pipelines/fresh_changeset.rs | Updates fresh changeset pipeline to use pooled DB access. |\r\n| apps/native/src-tauri/src/summarize/pipelines/evolved_changeset.rs | Updates evolved changeset pipeline to use pooled DB access. |\r\n| apps/native/src-tauri/src/summarize/pipelines/commit_message.rs | Updates commit message generation pipeline to query via `DbPool`. |\r\n| apps/native/src-tauri/src/history/get_history.rs | Switches history fetching to use pooled DB access. |\r\n| apps/native/src-tauri/src/state/watcher.rs | Uses pooled DB access when recomputing change maps in watcher loop. |\r\n| apps/native/src-tauri/src/state/build_state.rs | Uses pooled DB access for changeset hash lookups and build recording. |\r\n| apps/native/src-tauri/src/evolve/lifecycle.rs | Uses pooled DB access for evolution metadata persistence. |\r\n| apps/native/src-tauri/src/managed_edits/managed_edit.rs | Removes `db_path` from context and uses pooled DB access. |\r\n| apps/native/src-tauri/src/rebuild/finalize_restore.rs | Writes restore provenance via pooled DB access in a blocking task. |\r\n| apps/native/src-tauri/src/commands/summarize.rs | Updates Tauri summarize commands to query via `DbPool`. |\r\n| apps/native/src-tauri/src/commands/rollback.rs | Updates rollback/adopt command to upsert evolutions via `DbPool`. |\r\n| apps/native/src-tauri/src/commands/git.rs | Updates git commit command to upsert commits via `DbPool`. |\n</details>\n\n\n\n\n\n",
    "commit_id": "359475f4a5352fac7959121c0eec1b102ef6b51c",
    "state": "commented",
    "html_url": "https://github.com/darkmatter/nixmac/pull/317#pullrequestreview-4436488301",
    "pull_request_url": "https://api.github.com/repos/darkmatter/nixmac/pulls/317",
    "_links": {
      "html": {
        "href": "https://github.com/darkmatter/nixmac/pull/317#pullrequestreview-4436488301"
      },
      "pull_request": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/pulls/317"
      }
    },
    "submitted_at": "2026-06-05T13:09:28Z",
    "updated_at": "2026-06-05T13:09:28Z",
    "author_association": "CONTRIBUTOR"
  },
  "pull_request": {
    "url": "https://api.github.com/repos/darkmatter/nixmac/pulls/317",
    "id": 3806225270,
    "node_id": "PR_kwDOSB6EzM7i3mN2",
    "html_url": "https://github.com/darkmatter/nixmac/pull/317",
    "diff_url": "https://github.com/darkmatter/nixmac/pull/317.diff",
    "patch_url": "https://github.com/darkmatter/nixmac/pull/317.patch",
    "issue_url": "https://api.github.com/repos/darkmatter/nixmac/issues/317",
    "number": 317,
    "state": "open",
    "locked": false,
    "title": "refactor: migrate DB handling to Diesel and r2d2 pool",
    "user": {
      "login": "arximboldi",
      "id": 4521138,
      "node_id": "MDQ6VXNlcjQ1MjExMzg=",
      "avatar_url": "https://avatars.githubusercontent.com/u/4521138?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/arximboldi",
      "html_url": "https://github.com/arximboldi",
      "followers_url": "https://api.github.com/users/arximboldi/followers",
      "following_url": "https://api.github.com/users/arximboldi/following{/other_user}",
      "gists_url": "https://api.github.com/users/arximboldi/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/arximboldi/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/arximboldi/subscriptions",
      "organizations_url": "https://api.github.com/users/arximboldi/orgs",
      "repos_url": "https://api.github.com/users/arximboldi/repos",
      "events_url": "https://api.github.com/users/arximboldi/events{/privacy}",
      "received_events_url": "https://api.github.com/users/arximboldi/received_events",
      "type": "User",
      "user_view_type": "public",
      "site_admin": false
    },
    "body": "## Summary\r\n\r\n- Completes Phase 2 of `docs/2026-05-29-state-management-migration-plan.md` proposed by @czxtm : every `rusqlite::Connection::open` is gone, replaced by a Diesel `r2d2` pool + DSL/sql_query.\r\n- Schema bootstrap now uses `diesel_migrations::embed_migrations!`; `db/schema.rs` is the migration harness, not raw DDL.\r\n- Resolves the B5 `_in_pool` rename item from `docs/2026-06-03-pr-review-followups.md`.\r\n- Adds the followup doc itself (`docs/2026-06-03-pr-review-followups.md`), which collects @arximboldi's review comments on PRs #228, #244–#255 and proposes the rest of the work.\r\n\r\n## Behavior preserved\r\n\r\n- Stale-DB recreation semantics in `db/schema.rs` are kept (PRAGMA `user_version` check + remove + run migrations).\r\n- Same `SCHEMA_VERSION = 1` value, stamped after migrations apply.\r\n- The two multi-JOIN read queries (`query_change_set_for_commit_pair`, `query_change_set_for_base_with_hashes`) keep their original SQL text; only the Diesel harness changes.\r\n- libsqlite3-sys keeps the `bundled` feature so we still ship a self-contained sqlite — rusqlite was carrying that flag transitively.\r\n\r\n## Test plan\r\n\r\n- [x] `cargo test --manifest-path apps/native/src-tauri/Cargo.toml` — **374 passed / 2 ignored / 0 failed** at every commit\r\n- [ ] Smoke-launch the desktop app on a fresh app-data directory (verifies first-run migration path)\r\n- [ ] Smoke-launch on an existing 0.22.0 database (verifies user_version-based stale recreate still works)\r\n- [ ] Trigger one evolve cycle end-to-end so all three changeset writers + queue summarizer exercise the new pool",
    "created_at": "2026-06-04T21:55:15Z",
    "updated_at": "2026-06-05T13:09:28Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": "9465c8a5cb3b7e6bf1ebd92823cfb3e19dbda6d0",
    "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": "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
      }
    ],
    "requested_teams": [],
    "labels": [],
    "milestone": null,
    "draft": false,
    "commits_url": "https://api.github.com/repos/darkmatter/nixmac/pulls/317/commits",
    "review_comments_url": "https://api.github.com/repos/darkmatter/nixmac/pulls/317/comments",
    "review_comment_url": "https://api.github.com/repos/darkmatter/nixmac/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/darkmatter/nixmac/issues/317/comments",
    "statuses_url": "https://api.github.com/repos/darkmatter/nixmac/statuses/359475f4a5352fac7959121c0eec1b102ef6b51c",
    "head": {
      "label": "darkmatter:jp/refactor-db",
      "ref": "jp/refactor-db",
      "sha": "359475f4a5352fac7959121c0eec1b102ef6b51c",
      "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-06-05T05:10:30Z",
        "pushed_at": "2026-06-05T13:02:05Z",
        "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": 680444,
        "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": 74,
        "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": 74,
        "watchers": 5,
        "default_branch": "develop",
        "allow_squash_merge": true,
        "allow_merge_commit": true,
        "allow_rebase_merge": true,
        "allow_auto_merge": true,
        "delete_branch_on_merge": true,
        "allow_update_branch": true,
        "use_squash_pr_title_as_default": false,
        "squash_merge_commit_message": "COMMIT_MESSAGES",
        "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
        "merge_commit_message": "PR_TITLE",
        "merge_commit_title": "MERGE_MESSAGE"
      }
    },
    "base": {
      "label": "darkmatter:develop",
      "ref": "develop",
      "sha": "0896d06b366edc129789f6c95901bb9a33bac131",
      "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-06-05T05:10:30Z",
        "pushed_at": "2026-06-05T13:02:05Z",
        "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": 680444,
        "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": 74,
        "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": 74,
        "watchers": 5,
        "default_branch": "develop",
        "allow_squash_merge": true,
        "allow_merge_commit": true,
        "allow_rebase_merge": true,
        "allow_auto_merge": true,
        "delete_branch_on_merge": true,
        "allow_update_branch": true,
        "use_squash_pr_title_as_default": false,
        "squash_merge_commit_message": "COMMIT_MESSAGES",
        "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
        "merge_commit_message": "PR_TITLE",
        "merge_commit_title": "MERGE_MESSAGE"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/pulls/317"
      },
      "html": {
        "href": "https://github.com/darkmatter/nixmac/pull/317"
      },
      "issue": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/issues/317"
      },
      "comments": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/issues/317/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/pulls/317/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/pulls/317/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/darkmatter/nixmac/statuses/359475f4a5352fac7959121c0eec1b102ef6b51c"
      }
    },
    "author_association": "CONTRIBUTOR",
    "auto_merge": null,
    "assignee": null,
    "active_lock_reason": 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-06-05T05:10:30Z",
    "pushed_at": "2026-06-05T13:02:05Z",
    "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": 680444,
    "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": 74,
    "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": 74,
    "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": "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
  },
  "installation": {
    "id": 131074261,
    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMxMDc0MjYx"
  }
}